11-07-2008, 05:55 PM
I have looked and all I find is mouse over for HTML does QM have any way to do a mouse over say for a picture and the picture will change to another picture? This is for an EXE dialog.
Function Dialog3
Function Dialog3
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
if(!ShowDialog("Dialog3" &Dialog3)) ret
;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 223 135 "Dialog"
;5 Button 0x54032080 0x0 6 50 11 9 "Bitmap without text"
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,SendMessage(id(5 hDlg) BM_SETIMAGE IMAGE_BITMAP LoadPictureFile(":200 $my qm$\1-1.bmp" 0)) ;;can be bmp, gif of jpg
,case WM_DESTROY
,DeleteObject(SendMessage(id(5 hDlg) BM_GETIMAGE IMAGE_BITMAP 0))
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1