Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dll for Kit
#10
So if I use a dialog to initialize the KitInit, I can then executed commands from separate functions as long as the dialog is open.

If I close the dialog and reopen it, none of the commands works until I restart QM where I get the same runtime error. Once QM restarts, I can run the dialog and execute commands again.

Function InitKitDlg
Code:
Copy      Help
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages

;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 223 135 "Dialog"
;END DIALOG
;DIALOG EDITOR: "" 0x2030208 "" "" ""
if(!ShowDialog("InitKitDlg" &InitKitDlg)) ret
ret
;messages
sel message
,case WM_INITDIALOG
,KitInit
,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)