Prev: Wince501b Exception
Next: Problem with MCI playing mp3
From: Steve on 13 Oct 2006 06:03 This question relates to when you are using XP visual styles: Tab controls can have a gradient or textured effect to them. If I place a child dialog on top of the tab control, it covers this effect leaving the flat colour of the dialog box. How do I make the child dialog transparent?
From: James Brown on 13 Oct 2006 12:45 "Steve" <me(a)home.com> wrote in message news:452f6485$0$8711$ed2619ec(a)ptn-nntp-reader02.plus.net... > This question relates to when you are using XP visual styles: > > Tab controls can have a gradient or textured effect to them. If I place a > child dialog on top of the tab control, it covers this effect leaving the > flat colour of the dialog box. How do I make the child dialog transparent? Don't make the dialog a child of the tab-control - make it a child of the containing dialog. -- James Brown Microsoft MVP - Windows SDK www.catch22.net Free Win32 Tutorials and Sourcecode
From: Steve on 13 Oct 2006 14:24 James Brown wrote: > "Steve" <me(a)home.com> wrote in message > news:452f6485$0$8711$ed2619ec(a)ptn-nntp-reader02.plus.net... >> This question relates to when you are using XP visual styles: >> >> Tab controls can have a gradient or textured effect to them. If I place a >> child dialog on top of the tab control, it covers this effect leaving the >> flat colour of the dialog box. How do I make the child dialog transparent? > > Don't make the dialog a child of the tab-control - make it a child of the > containing dialog. > I am. It's only being 'placed' on top of the tab control.
From: James Brown on 13 Oct 2006 14:33 "Steve" <me(a)home.com> wrote in message news:452fd9ee$0$8754$ed2619ec(a)ptn-nntp-reader02.plus.net... > James Brown wrote: >> "Steve" <me(a)home.com> wrote in message >> news:452f6485$0$8711$ed2619ec(a)ptn-nntp-reader02.plus.net... >>> This question relates to when you are using XP visual styles: >>> >>> Tab controls can have a gradient or textured effect to them. If I place >>> a child dialog on top of the tab control, it covers this effect leaving >>> the flat colour of the dialog box. How do I make the child dialog >>> transparent? >> >> Don't make the dialog a child of the tab-control - make it a child of the >> containing dialog. >> > > I am. It's only being 'placed' on top of the tab control. It just occurred to me that you also need the EnableThemeDialogTexture API -- James Brown Microsoft MVP - Windows SDK www.catch22.net Free Win32 Tutorials and Sourcecode
From: Steve on 16 Oct 2006 16:47 James Brown wrote: > "Steve" <me(a)home.com> wrote in message > news:452fd9ee$0$8754$ed2619ec(a)ptn-nntp-reader02.plus.net... >> James Brown wrote: >>> "Steve" <me(a)home.com> wrote in message >>> news:452f6485$0$8711$ed2619ec(a)ptn-nntp-reader02.plus.net... >>>> This question relates to when you are using XP visual styles: >>>> >>>> Tab controls can have a gradient or textured effect to them. If I place >>>> a child dialog on top of the tab control, it covers this effect leaving >>>> the flat colour of the dialog box. How do I make the child dialog >>>> transparent? >>> Don't make the dialog a child of the tab-control - make it a child of the >>> containing dialog. >>> >> I am. It's only being 'placed' on top of the tab control. > > It just occurred to me that you also need the EnableThemeDialogTexture API > Yep, that's it. I wasn't aware of that API. Thanks very much.
|
Pages: 1 Prev: Wince501b Exception Next: Problem with MCI playing mp3 |