Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog Menu - Match Background App
#11
Newest QM 2.3.0 versions have an undocumented function __OutWinMsg. It shows received Windows messages in qm output. May help in programming dialogs. Example:

Function Dialog35
Code:
Copy      Help
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
if(!ShowDialog("Dialog35" &Dialog35)) ret

;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 223 135 "Dialog"
;END DIALOG
;DIALOG EDITOR: "" 0x203000B "" "" ""

ret
;messages
__OutWinMsg message wParam lParam
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)