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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)