09-19-2009, 03:56 AM
This is one way how to put a picture on a non exe dialog. Pretty simple; shouldn't be very hard to use.
Function Dialog2
Trigger F12![Help - how to add the trigger to the macro Help - how to add the trigger to the macro](images/qm/help.png)
Function Dialog2
Trigger F12
![Help - how to add the trigger to the macro Help - how to add the trigger to the macro](images/qm/help.png)
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 308 172 "Dialog"
;3 Static 0x5400000E 0x0 0 0 320 172 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2030109 "" "" ""
str controls = "3"
str sb3 = "$my pictures$\Mofo.gif";;put picture here
if(!ShowDialog("Dialog2" &Dialog2 &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