Window Coordinates code creates a window (with the Win32 API) and displays the coordinates of the windows client area in pixels in the form of X-Axis, Y-Axis.
The window can be moved, and the coordinates will be re-displayed with the new position.
This program asks the user a few questions & writes a Window( using the win32 api). This code is plain C but the source code should be compiled in a Win32 Application.
The program allows you to make a window,menus,dialogs &...
This code is a Task Tray example in pure Win32, with Popup Menu with icons and a nice "button effect" on left mouse click.
It has just 5 lines of code! See tray.h file for more info. MS Visual C and Dev-C IDE projects are...
This program generates a text editing window. No text editing features are added, just the ones already built into the text edit control given in the Win32 API.
It's a simple example of using a child window within a regular window. It...
This code demonstrates the creation of complex regions and how to employ them to create 'windows with holes'.
Customized version of the "Browse for folder" dialog. It creates quick picks to your selected directories.
The project can be used in either a MFC project or Win32.
This code consists of three files, two are a header file and source file for the window docking system and the third is a simple program that demonstrates the use of the window docking system.
The window docking system allows any number...
This code creates a window with lots of controls, dialogs, menus, toolbar, status bar, progress bar, icon, timer, can play animations (AVI Filed only), can shutdown, reboot computer, save text and load text from a file, change the font of an edit...
WIN32API Toolbar code is an example of how to use the WM_NOTIFY message to give tooltips when the mouse hovers over a button in a toolbar. (Also shows toolbar creation).
This program is a simple Menu which uses the UP, DOWN, PGUP, PGDN, ESC and ENTER keys.
You can use is to create more then one menu with the same code.
This is a class for creating Windows, Buttons, Edit boxes, and Multiline Edit boxes.
This program has a simple menu. The "Help - About . . . " dialog is simulated using the cMsgBox class.
It performs no other function. g the cMsgt;
This code shows and explains how to make controls on a window using pure API, using CreateWindow and CreateWindowEx. This example shows how to make list boxes, edit controls, and buttons. Not only does it tell you how to make them but also how to...
Funny Shaped Window shows how to use 'Regions' to create different shaped windows.
This control subclasses the MFC CTreeCtrl to display and let you select the path of a folder/directory.
This program displays the message "Your Message" in a small default Windows message box. It performs no other function.
DOS MENUS code allows you to create menus for DOS.
WIN32API Trackbar code creates a trackbar (common control) and use WM_HSCROLL to show its position in realtime.
Unlike a listbox there is no SELCHANGE message but itt;Unlike _SCROLL to its parent.
Menus in your windows app shows how to implement menus in your Win32 application.
This sample code shows how to make a window using pure API.