09-20-2013, 02:24 PM
Macro Macro_AttachToChild
Toolbar Toolbar_AttachToChild
Function ToolbarHook_AttachToChild
;Open QM Options dialog and run this macro.
;Then select other tab. It hides current tab, and then ToolbarHook_AttachToChild hides the toolbar.
int w=win("Options" "#32770")
int c=child("" "#32770" w) ;;property page
mac("Toolbar_AttachToChild" c)Function ToolbarHook_AttachToChild
;/
function# hWnd message wParam lParam
;OutWinMsg message wParam lParam ;;uncomment to see received messages
sel message
,case WM_INITDIALOG
,SetTimer hWnd 1 500 0
,
,case WM_TIMER
,sel wParam
,,case 1
,,if(IsWindowVisible(GetToolbarOwner(hWnd))) hid- hWnd; else hid hWnd
,
,case WM_DESTROY
,