Hi
I am trying to use the API function MessageBoxEx so that I can have a 'help' button on messageboxes.
According to the SDK, when the help button is clicked MessageBoxEx sends a WM_HELP message to it's owner, whose HWND is the first parameter to MessageBoxEx. From the SDK on WM_HELP "Indicates that the user pressed the F1 key". Seems like the behaviour desired.
Whatever I do, VFP does nothing, the way it does nothing if I press F1 with a standard messagebox active.
I have tried sending _vfp.hwnd, _screen.hwnd (I was surprised when they were different.., and yes I am using VFP7 but it still holds for VFP6) and sending 0 to indicate no owner window.
Does anyone know - can VFP respond to this message? Is there a way of testing that it is being sent to the right place? Does anyone have a better idea???
Cheers,
Stuart
Stuart.Dunkeld.NOSPAM@eastsussexcc.gov.uk