10-05-2015, 05:32 PM
Function Dialog192
str dd=
;BEGIN DIALOG
;0 "" 0x90CC0AC8 0x0 0 0 420 63 "test"
;3 Edit 0x54231044 0x200 0 0 420 63 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2040301 "*" "" "" ""
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,DT_SetAutoSizeControls hDlg "3s"
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1