06-16-2008, 06:36 PM
You can attach toolbars to child windows too.
Macro
I never tested it before, and now surprised that it works. But the toolbar does not disappear when the window is minimized. You can use hook function for it.
Function tb_hook_control
First line of toolbar:
Toolbar
Macro
I never tested it before, and now surprised that it works. But the toolbar does not disappear when the window is minimized. You can use hook function for it.
Function tb_hook_control
;/
function# hWnd message wParam lParam
sel message
,case WM_INITDIALOG ;;note: in QM < 2.2.0, this message is not sent. Use WM_CREATE instead.
,SetTimer hWnd 30 1000 0
,
,case WM_TIMER
,Transparent hWnd iif(min(GetAncestor(GetToolbarOwner(hWnd) 2)) 0 256)
,
First line of toolbar:
Toolbar