Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I make a toolbar showing 3D framed buttons?
#1
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?
#2
Code:
Copy      Help
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.


Forum Jump:


Users browsing this thread: 1 Guest(s)