SAMPLE: Code Demonstrates Using TrackPopupMenuLast reviewed: February 15, 1996Article ID: Q80225 |
The information in this article applies to:
Under Windows version 3.1, the TrackPopupMenu() function documents and uses its last parameter. This parameter is an LPRECT, which describes the rectangle in which the user can release the mouse button without dismissing the menu. This newly documented parameter is useful for applications that display a pop-up menu in response to a WM_LBUTTONDOWN message. When using this parameter, it is not necessary to hold down the mouse button until a menu selection is made. The user can release the button and select an item from the menu with a second button click. TRACKPOP is a file in the Microsoft Software Library that demonstrates using the TrackPopupMenu function. Download TRACKPOP.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib TRACKPOP.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |