Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog Help Please
#2
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
Code:
Copy      Help
;\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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)