Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / February 2005

Tip: Looking for answers? Try searching our database.

set client area of control that inherits from panel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dan - 20 Feb 2005 18:59 GMT
Hi everyone

Not sure if this is the right newsgroup for this but here goes.

I have a control that inherits from the panel control, but I need to be able
to do some custom drawing in the top 30 pixels of the control and add some
controls, the rest of the control area is for controls to be added to at
design time.

What I'm looking to happen is when a control is placed in my control at
design time it will be added to the area below my custom drawing not over
the top of it.

Any help would be much appreciated
Thanks in advance
Dan

set client area of control that inherits from panel
joeycalisay - 21 Feb 2005 08:58 GMT
Do a search for non-client area on this newsgroups, I have a similar post
with the solution overriding WndProc

Signature

Joey Calisay
http://spaces.msn.com/members/joeycalisay/

> Hi everyone
>
[quoted text clipped - 14 lines]
>
> set client area of control that inherits from panel

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.