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 General / November 2006

Tip: Looking for answers? Try searching our database.

Adding icon, toggle btn, or check box to form control box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
farseer - 06 Nov 2006 06:04 GMT
Hi,

is it possible to add an icon, toggle btn, or even a checkbox to the
control box caption area of a form (this is there the minimize,
maximize and close icons are located in the upper right of a form) and
also trap for user clicks on those controls?

thanks much
Herfried K. Wagner [MVP] - 06 Nov 2006 23:04 GMT
"farseer" <farseer@optonline.net> schrieb:
> is it possible to add an icon, toggle btn, or even a checkbox to the
> control box caption area of a form (this is there the minimize,
> maximize and close icons are located in the upper right of a form) and
> also trap for user clicks on those controls?

Basically it is possible using Win32 interop calls, but I would not
recommend it because it violates Windows design guidelines.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

farseer - 08 Nov 2006 07:06 GMT
there is no way to subclass or inherit from a WinForm to do this?  i'm
suprised...

On Nov 6, 6:04 pm, "Herfried K. Wagner [MVP]"
<hirf-spam-me-h...@gmx.at> wrote:
> "farseer" <fars...@optonline.net> schrieb:
>
[quoted text clipped - 8 lines]
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

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.