Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar - WM_MBUTTONDOWN
#2
Mouse messages such as WM_LBUTTONDOWN are posted to the window that is at the top, in this case to the ToolbarWindow32 control. Either subclass it or use WM_SETCURSOR instead. WM_SETCURSOR is always passed to parent.

Code:
Copy      Help
;/
function# hWnd message wParam lParam

sel message
,case WM_SETCURSOR
,sel lParam>>16
,,case WM_MBUTTONDOWN
,,out "M"
,,


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)