Win32 API programming with C - HTTP Server APIIn the realm of network programming on Windows, the Win32 HTTP Server API offers a robust, low-level foundation for handling HTTP requests directly within a C application. This API, part of the Windows HTTP Services (WinHTTP), provides developers wit...Feb 13, 2024·5 min read
Win32 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...Feb 7, 2024·6 min read
Win32 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...Feb 7, 2024·2 min read
Win32 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...Feb 6, 2024·4 min read
Win32 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...Feb 2, 2024·2 min read
Win32 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...Feb 2, 2024·2 min read
Win32 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...Feb 1, 2024·5 min read