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?
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?