Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 17th, 2005, 4:28 PM   #1
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
Tab controls

Hello everyone

I`m testing tab control for a new application i will be soon building.
However I have a small problem.

I have created a tab control with 4 tabs. I also created 4 dialog resources with no border, caption etc which will appear on the tab control, one for each tab. All of them are children of the tab control.

So when the user clicks the tab, it displays the right dialog. However on Windows XP, when the dialog appears on the tab control, there is that COLOR_3DFACE color surrounding it, as it should be normally.
So I set a NULL brush to the window class that creates those dialogs and now its OK.

However the problem is, some controls like radio buttons and combo boxes still have that COLOR_3DFACE (or is it COLOR_BTNFACE) color surrounding them which makes them look ugly. Is there any way to remove it?
Check the attached pic to see what I mean.

Does anyone know any solution for this??

Thanks
Attached Images
File Type: jpg TabCtrl1.jpg (21.6 KB, 22 views)
some1 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:03 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC