Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/27/2015 in all areas

  1. A right click does not fire a $WM_COMMAND event. But it does fire a $WM_CONTEXTMENU event. Just add this code: GUIRegisterMsg($WM_CONTEXTMENU, "WM_CONTEXTMENU") ... ... Func WM_CONTEXTMENU($hWnd, $iMsg, $wParam, $lParam) ConsoleWrite( "WM_CONTEXTMENU" & @CRLF ) ConsoleWrite( "$wParam = " & $wParam & @CRLF ) EndFunc
    1 point
  2. If you want to use GUICtrlSetOnEvent(-1, "Function")for each button you have to place GUICtrlSetOnEvent(-1,...) before you create new control.
    1 point
×
×
  • Create New...