Sign in to follow this  
Followers 0

Help On Tab Control Painting

7 posts in this topic

#1 ·  Posted

I cannot find a solution.

can somebody confirm that the solution is to handle the WM_ :D CTLCOLOREDIT.

I am afraid to paint also the input and edit control that I don't want.

Share this post


Link to post
Share on other sites



#2 ·  Posted

Tab Control? ewwwwwww...

I have avoided it out of fear... I will TRY to see if I can drum up info on painting...

Lar.

If it help, I can post the current source

Share this post


Link to post
Share on other sites

#3 ·  Posted

@jpm: why not...

What if you upload the current source and you actually problems,etc...

Regards Holger

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

@jpm: why not...

What if you upload the current source and you actually problems,etc...

Regards Holger

That's the situation

Posted Image

I cannot find a way to paint with the color background the outside of the tab.

If any body think how to paint this small grey part. Tha's will be perfect.

Today it is working if the background is not changed. Grey on grey ....

other problem It is needed to use default font to use a weight of 300 for the tab font unless the tab title are bold.

Edit: I upload the source at usual place

Edited by jpm

Share this post


Link to post
Share on other sites

#5 ·  Posted

I cannot find a solution for the gray part.

The DRAWITEM seems too me to complicated. I reach the point where only the titles where repainted.

I will stay which Tab background having the quite standard color.

I cannot find the exact color of the tab background. :D

Share this post


Link to post
Share on other sites

#7 ·  Posted

Yes it does. :D

I need to find out if the code size will not increase too much with so many code I read.

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0