Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for a control
Message
From
03/08/2000 00:50:17
 
 
To
02/08/2000 23:49:23
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00400220
Message ID:
00400233
Views:
19
>I have seen a software package that lets the user have access to a series of help screens via a command button. This button is located in the upper right hand corner of each form just to the left of the minimize button. Does this require a special type of control? Any input would be great

I'm not certain that you can accomplish this; the control you speak of is an option used by CreateWindowEx() at the time of creation, to specify what extended style options are instanced for the Window when it's set up. We generally do not have control over this within VFP; VFP does all the low-level manipulation; in addition, it's the responsibility of the application to hook the WM_HELP message that it generates and direct it appropriately. If you want to research it further, the following is cut from the MSDN Library docs for CreateWindowEx()
WS_EX_CONTEXTHELP Includes a question mark in the title bar of the window. When the user clicks the question mark, the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a HELP_WM_HELP message. The child window should pass the message to the parent window procedure, which should call the WinHelp function using the HELP_WM_HELP command. The Help application displays a pop-up window that typically contains help for the child window.
WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX styles.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform