Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP Manifest doesn't work on TToolBar buttons

Status
Not open for further replies.

soconne

Programmer
Jun 15, 2004
1
US
This applies to either Borland C++ Builder or Delphi.

I'm trying to get the windows xp style applied to my controls and it works fine by using the myapp.exe.manifest file, and it works fine except for the buttons on the TToolBar.

I add buttons to the toolbar and set their style to all be tbsCheck, which should let me click them and have them stay down until I click again. But for some reason when I use the manifest file, they don't stay down, or at least it doesn't drawn them staying down. If I take the manifest file out, and draw the buttons with the old windows style, it draws them down when I click them.

Does anybody know how to fix this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top