Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog Minimize
#2
I'm not sure if that is possible or not but what you could do is create a button in the dialog and have it set to minimize the dialog.

Example:

Trigger Dialog100:
Code:
Copy      Help
if(!ShowDialog("Dialog100" &Dialog100)) ret


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

;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 223 135 "Form"
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;3 Button 0x54032000 0x0 208 0 14 12 "_"
;END DIALOG
;DIALOG EDITOR: "" 0x2010808 "" ""


ret
;messages
if(message=WM_INITDIALOG) DT_Init(hDlg lParam)
;int param=DT_GetParam(hDlg)

sel message
,case WM_INITDIALOG
,ret 1
,case WM_DESTROY DT_DeleteData(hDlg)
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 3
,,mac+ "Minimize"
,case IDOK DT_Ok hDlg
,case IDCANCEL DT_Cancel hDlg
ret 1




Minimize:
Code:
Copy      Help
min "Form"
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)