Ciprian Fusaciprianf.hashnode.dev·Feb 8, 2024Win32 API programming with C/C++ - Painting the window using Direct2DWindow client area We want to show something inside a window. In Windows terminology, this is called painting the window. The first time a window is shown, the entire client area of the window must be painted. Therefore, you will always receive at le...Discuss·236 readsWin32 APIwindowsapi
Ciprian Fusaciprianf.hashnode.dev·Feb 7, 2024Win32 API programming with C - Using common controlsIntroduction Using Win32 API common controls in a C programming environment involves leveraging the rich set of user interface components provided by the Windows operating system. Common controls are pre-defined, reusable control classes such as butt...Discuss·566 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 7, 2024Win32 API programming with C - Using resourcesResources in Win32 are predefined, application-defined data that the system stores in executable files. These can include various types of data such as icons, bitmaps, strings, menus or dialog box templates. This article will guide you through the pr...Discuss·199 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 6, 2024Win32 API programming with C - Using menusA menu is a list of items that specify options or groups of options (a submenu) for an application. Clicking a menu item opens a submenu or causes the application to carry out a command. A menu is arranged in a hierarchy. At the top level of the hier...Discuss·367 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 2, 2024Win32 API programming with C - Managing Application StateA window procedure is essentially a function called for every message, lacking inherent state. To manage your application's state across calls, one basic method is using global variables. However, for larger applications, this can lead to too many gl...Discuss·184 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 2, 2024Win32 API programming with C - Closing the windowWhen the user closes a window, that action triggers a sequence of window messages. The user can close an application window by clicking the Close button, or by using a keyboard shortcut such as ALT+F4. Any of these actions causes the window to receiv...Discuss·1 like·138 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Feb 1, 2024Win32 API programming with C - Window messages and creating the Window ProcedureWindow Messages A GUI application must respond to events from the user and from the operating system. Events from the user include all the ways that someone can interact with your program: mouse clicks, key strokes... Events from the operating syst...Discuss·2 likes·652 readsWin32 APIWindows API
Ciprian Fusaciprianf.hashnode.dev·Jan 31, 2024Win32 API programming with C - Creating a windowThe Win32 API, also known as the Windows API, is the foundational platform for creating native Windows applications in C/C++ that require direct interaction with the operating system and hardware. It offers a premier development experience without th...Discuss·1 like·2.4K readsWin32 APIWindows API