Questions tagged [xp-theme]

8 questions
17
votes
3 answers

How to switch an Application between Themed and not Themed at run-time?

Very much like the "Project|Options|Application|Enable runtime themes" CheckBox, but dynamically at run-time instead. [Delphi XE targetting Win XP or Win 7] I tried playing a bit with uxTheme.SetWindowTheme without success so far....
Francesca
  • 21,452
  • 4
  • 49
  • 90
4
votes
1 answer

Delphi 7: Execute application with administrator privileges

How do I add the manifest for UAC without adding XP Themes? I tried this manifest:
Giacomo King Patermo
  • 829
  • 3
  • 13
  • 25
4
votes
6 answers

Windows XP Style: Why do we get dark grey background on static text widgets?

We're writing Windows desktop apps using C++ and Win32. Our dialog boxes have an ugly appearance with "Windows XP style": the background to the static text is grey. Where the dialog box background is also grey, this is not a problem, but inside a…
Tim Cooper
  • 10,023
  • 5
  • 61
  • 77
3
votes
0 answers

Skin Dialogs when using XP Themes?

I have been skinning dialogs by using the WM_CTLCOLORSTATIC, WM_CTLCOLORBTN messages as such:- case WM_CTLCOLORSTATIC: case WM_CTLCOLORBTN: hdc = (HDC)wParam; hwndCtl = (HWND)lParam; SetTextColor(hdc,RGB(0xff,0xff,0xff)); …
Chris Becke
  • 34,244
  • 12
  • 79
  • 148
2
votes
3 answers

ActiveX in IE. Dialog Box not showing XP Visual Style

I have an ActiveX control in IE (7). When it shows a dialog box, the dialog box is not showing in XP visual style. I have tried embedding manifests to no avail. Anybody got any idea? by the way, the dialog boxes were implemented using wtl.
user35708
  • 21
  • 2
1
vote
3 answers

TAB control background in ATL App, XP styles

I have an ATL application with a dialog containing a TAB control. The App uses a common controls manifest. Under XP with visual styles, the tab control background is a different color than the dialog and the controls (mostly checkboxes), so it looks…
peterchen
  • 40,917
  • 20
  • 104
  • 186
0
votes
1 answer

How can I force a vb6 control to redraw itself?

I've got a VB6 program. I'm using the Mainfest to apply "XP Themes" and give it the modern (as of 8 years ago!) look. However, for graphical style Command buttons, I have to use some special code to redraw the button. Therein lies the problem. When…
Clay Nichols
  • 11,848
  • 30
  • 109
  • 170
0
votes
1 answer

How do i create winxp style controls

I am trying to make my controls look as cool as xp theme enabled controls like gradient fill background in container controls and colour thames support etc I am not finding a way to start. from where can i start doing it? I am trying to do it in…
KoolKabin
  • 17,157
  • 35
  • 107
  • 145