Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar not minimizing with hwnd?
#9
Create this function.
Function th_attach_to_child
Code:
Copy      Help
;/
function# hWnd message wParam lParam

sel message
,case WM_INITDIALOG
,SetTimer hWnd -1 200 0
,
,case WM_TIMER
,sel wParam
,,case -1
,,int w=GetToolbarOwner(hWnd)
,,int wa=GetAncestor(w 2)
,,if(w=wa) ret
,,if !IsWindow(w)
,,,clo hWnd
,,else if min(wa) or hid(wa)
,,,if(!hid(hWnd)) hid w; hid hWnd
,,else
,,,if(hid(hWnd)) hid- w; hid- hWnd

err+

First line of toolbar:
Toolbar Toolbar
Code:
Copy      Help
;/hook th_attach_to_child /mov 0 0 /siz 94 22 /set 0x525 0xFCFF /transp "" b


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)