06-04-2008, 07:57 AM
Also add a resource id to the file path. The file must be bmp.
Function Dialog211
Function Dialog211
;/exe
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 725 422 "Dialog"
;3 Static 0x5400100E 0x20000 0 0 834 444 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "" ""
str controls = "3"
str sb3
sb3=":10 $my pictures$\60x90.bmp"
if(!ShowDialog("Dialog211" &Dialog211 &controls)) ret
ret
;messages
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1
;BEGIN PROJECT
;main_function Dialog211
;exe_file $my qm$\Dialog211.exe
;icon $qm$\macro.ico
;manifest $qm$\default.exe.manifest
;res
;on_before
;on_after
;on_run
;flags 22
;end_hotkey 0
;guid {ADD2B117-AE02-4371-9553-A731E169417F}
;END PROJECT