I'm trying to enable context sensitive help in a dialog with DDT. I've created the dialog using :
DIALOG NEW 0, Title$, ,, 300, 200, %DS_CONTEXTHELP OR %WS_CAPTION OR %WS_SYSMENU TO hDlg&
CONTROL ADD BUTTON, hDlg&, %IDSAVE, "Save / &Exit", _
150, 170, 60, 14, _
%BS_NOTIFY OR %BS_CENTER OR %BS_VCENTER OR %WS_TABSTOP CALL SaveButton
The dialog displays the ? box and the user can click on it and carry the arrow w/? mouse pointer to the Save button, but my callback function SaveButton is not receiving any messages (I was expecting %WM_HELP) when the user clicks on button. What have I done wrong (or am I missing)?
Bernard Ertl
------------------
DIALOG NEW 0, Title$, ,, 300, 200, %DS_CONTEXTHELP OR %WS_CAPTION OR %WS_SYSMENU TO hDlg&
CONTROL ADD BUTTON, hDlg&, %IDSAVE, "Save / &Exit", _
150, 170, 60, 14, _
%BS_NOTIFY OR %BS_CENTER OR %BS_VCENTER OR %WS_TABSTOP CALL SaveButton
The dialog displays the ? box and the user can click on it and carry the arrow w/? mouse pointer to the Save button, but my callback function SaveButton is not receiving any messages (I was expecting %WM_HELP) when the user clicks on button. What have I done wrong (or am I missing)?
Bernard Ertl
------------------
Comment