I have a script that allows users to 'click' toolbar buttons with hotkeys (here's a snippet):
$hWnd = ControlGetHandle("Archive Client", "Viewer Control", 106)
$iCmdIDRight = _GUICtrlToolbar_IndexToCommand($hWnd, 21)
$myerror = _GUICtrlToolbar_ClickButton($hWnd, $iCmdIDRight, "", False)
It works well, except when the toolbar buttons are not visible (i.e., when the window is resized, causing the toolbar to be 'cut off'-- see screenshots). I realized that this issue is due to the fact that t