Termwait.exe is a self-extracting file in the Microsoft Download Center that demonstrates how an application can launch a child task and then wait for it to complete before executing specific code. Termwait.exe uses notification messages from the...
When the Microsoft Windows Heap Walker application (HEAPWALK.EXE) that is shipped with the Microsoft Windows versions 3.0 and 3.1 SDK is started or if another application is started after Heap Walker is running, a general protection (GP) fault may...
To pass ink between hedit controls, an application must capture the ink when the hedit control's parent window receives the HN_ENDREC notification message. Then the application does either of the following: Sends a WM_HEDITCTL message with wParam set...
The following information describes a procedure to smoothly drag the window frame; this procedure is similar to the one that Windows uses when a window is moved by dragging its caption bar. When the user moves a window with the mouse or with the...
The FONTEST sample program in the Microsoft Download Center contains some corrections to problems that are in the version of the sample that shipped with the Windows 3.1 SDK.
Showmem.exe is a sample application that allows the user to allocate, free, and manipulate memory from the global heap. Different "what if" scenarios can be demonstrated without writing and rewriting code. Information about global heap objects is...
The following information concerns the Microsoft Windows for Pen Computing sample Training Emulator, version 1 (TrainInk). There is a sample called TRAINEM in the Microsoft Download Center. This Windows for Pen Computing sample demonstrates how to do...
This article describes how to implement a callback function during the installation of the SQL Server 2000 Desktop Engine (MSDE 2000) and also discusses all the conditions that must be met to make sure the callback function runs properly. The SQL...
ChildMnu.exe demonstrates one way to embed a pop-up window with menus in a child window to simulate a child window with menus.Child windows by design do not have menus; however, some applications may require such child windows.
Get access to how-to articles and forums, one-click diagnosis and repair for many issues, and step-by-step instructions so you can fix the problem yourself.
We’ll help you connect with a Microsoft Answer Tech for complimentary advice on more basic questions, as well as training and one-on-one technical support so you can get more out of your technology.