Groups | Blog | Home
all groups > dotnet drawing api > october 2003 >

dotnet drawing api : Re-designing tabcontrol


Nicholas Paldino [.NET/C# MVP]
10/30/2003 9:21:49 AM
Faith BOY,

I don't believe that the Tabcontrol will ever get a WM_NCPAINT
notification, since that message is used primarily for forms. You will want
to handle the WM_PAINT message. Also, you might just want to override the
OnPaint method as well.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

Nicholas Paldino [.NET/C# MVP]
10/30/2003 9:41:45 AM
Faith BOY,

0x000F


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

Fatih BOY
10/30/2003 4:18:11 PM
Hi,
Does anyone knows how to handle painting of Tabcontrol??!
I've override OnPaint and WndProc ( with m.Msg==WM_NCPAINT) functions, but
doesn't work!

Thanks,
Fatih BOY

Fatih BOY
10/30/2003 4:37:58 PM
OnPaint does not help :\
What is id for WM_PAINT?!


"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in
message news:%23mKyuFvnDHA.2200@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button