Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When the mouse is over something on the dialog
#3
How come this works but only when mouse is over dialog not picture?

Function Mouse_Move2
Trigger F11     Help - how to add the trigger to the macro
Code:
Copy      Help
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages

if(!ShowDialog("Mouse_Move2" &Mouse_Move2)) ret

;BEGIN DIALOG
;0 "" 0x90CF0A44 0x100 0 0 222 134 "Mouse_Move2"
;5 Button 0x54032080 0x0 6 50 11 9 "Bitmap without text"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "0" ""

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_COMMAND goto messages2
,case WM_MOUSEMOVE(id(5 hDlg))
,,SendMessage(id(5 hDlg) BM_SETIMAGE IMAGE_BITMAP LoadPictureFile(":200 $my qm$\3-1.bmp" 0)) ;;can be bmp, gif of jpg
,case WM_DESTROY
ret
;messages2
sel wParam
,case IDCANCEL
ret 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)