|
-
Mar 12th, 2006, 06:21 PM
#1
Thread Starter
Addicted Member
[RESOLVED] No border
How can I make it so there is not the bar at the top of the form with the
-[]X (minimize, maximize, exit) buttons and still have a menu such as File and Help?
-
Mar 12th, 2006, 06:36 PM
#2
Re: No border
Looks like your best choice would be subclassing. Basically you'd capture some of the window drawing messages the window receives and change them so that no caption bar never gets drawn and then reposition the menu. I'm actually not entirely sure if this can be done as I haven't tried doing it by myself, but subclassing would be the most lightweight solution (processor usage wise) for doing it. Your other solution would be to make the menu systems yourself, ie. have menus in another hidden form and then use PopupMenu to pop out the menus.
If interested for an easy way to subclass, take a look at WinSubHook (Planet Source Code).
-
Mar 12th, 2006, 07:24 PM
#3
PowerPoster
-
Mar 13th, 2006, 09:24 PM
#4
Thread Starter
Addicted Member
Re: No border
Well, I decided to go with making my own menu. Thanks for all the help
Resizing
System Balloons
If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.
Remember to rate a post if you find it helpful 
-
Mar 13th, 2006, 09:43 PM
#5
Re: [RESOLVED] No border
Download this very nicely wrapped and basically plug-and-play FormBdr class by Karl E. Peterson - that's all you need.
It's very simple to use but let me know if you have any troubles...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|