Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Help On Tab Control Painting


  • Please log in to reply
6 replies to this topic

#1 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,770 posts

Posted 09 April 2004 - 09:14 PM

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.







#2 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,770 posts

Posted 10 April 2004 - 04:33 PM

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

#3 Holger

Holger

    AutoIt Spammer

  • Developers
  • 1,384 posts

Posted 11 April 2004 - 05:20 PM

@jpm: why not...
What if you upload the current source and you actually problems,etc...
Regards Holger

#4 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,770 posts

Posted 11 April 2004 - 08:30 PM

@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, 11 April 2004 - 09:27 PM.


#5 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,770 posts

Posted 13 April 2004 - 08:55 AM

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

#6 redndahead

redndahead

    Wishing autoIT was part of windows.

  • Active Members
  • PipPipPipPipPipPip
  • 471 posts

Posted 13 April 2004 - 05:50 PM

Just looking does this link help?

http://www.codeproject.com/tabctrl/customtab.asp?print=true

red

#7 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,770 posts

Posted 14 April 2004 - 06:22 AM

Just looking does this link help?

http://www.codeproject.com/tabctrl/customtab.asp?print=true

red

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users