Posts: 69
Threads: 42
Joined: Jun 2006
At this moment, when I create a new toolbar, 3D buttons frames appear when I move the mouse pointer over the toolbar buttons; I wish to create a toolbar whose buttons show not flat, but 3D even when the mouse pointer is not over them. How to?
Posts: 12,072
Threads: 140
Joined: Dec 2002
int h=mac("Toolbar33")
;int h=mac("Toolbar33" win("ownerwindowname" "ownerwindowclass"))
int hc=id(9999 h)
if(_winver>=0x501) SetWindowTheme hc L"" L""
SetWinStyle hc TBSTYLE_FLAT 2
RedrawWindow hc 0 0 RDW_INVALIDATE
However this style disappears when you change toolbar style using the right click menu.