|
-
May 27th, 2011, 07:09 AM
#1
Thread Starter
Lively Member
-
May 27th, 2011, 07:38 AM
#2
Re: Add Control to Form Titlebar?
That comes from using custom window management/rendering code in Firefox. Basically, rather than ask Windows for a standard Windows frame like every other program, Firefox provides it's own detailed graphical instructions to the system. There's no easy way to do something like that without a LOT of heavy graphical programming.
-
May 27th, 2011, 07:40 AM
#3
Thread Starter
Lively Member
Re: Add Control to Form Titlebar?
 Originally Posted by Jenner
That comes from using custom window management/rendering code in Firefox. Basically, rather than ask Windows for a standard Windows frame like every other program, Firefox provides it's own detailed graphical instructions to the system. There's no easy way to do something like that without a LOT of heavy graphical programming.
Damn it!
Thanks mate.
EXPERIENCED VB6 CODER
IF YOU SEE ANY FAILURE IN MY CODING, PLEASE LET ME KNOW AS I'VE ONLY JUST STARTED LEARNING VB.NET AND I WILL APPRECIATE ANY HINTS AND TIPS YOU HAVE TO OFFER! 
-
May 27th, 2011, 09:41 AM
#4
Re: Add Control to Form Titlebar?
What is it that you are attempting? It sounds like there might be a way around the problem. After all, you mentioned removing the toolstrip menu bar, as well as adding something to the caption. You can remove the caption without much difficulty, so if this is a matter of getting more screen area, then that would have the same result. Alternatively, you might remove the caption and add labels, buttons, and so forth to a band at the top of the captionless form that looked something like a caption, but was actually part of the form.
So there might be other, easier, ways to get the visual effect that you desire without the painful process of writing controls to the window caption itself.
My usual boring signature: Nothing
 
-
May 27th, 2011, 04:55 PM
#5
Thread Starter
Lively Member
Re: Add Control to Form Titlebar?
 Originally Posted by Shaggy Hiker
What is it that you are attempting? It sounds like there might be a way around the problem. After all, you mentioned removing the toolstrip menu bar, as well as adding something to the caption. You can remove the caption without much difficulty, so if this is a matter of getting more screen area, then that would have the same result. Alternatively, you might remove the caption and add labels, buttons, and so forth to a band at the top of the captionless form that looked something like a caption, but was actually part of the form.
So there might be other, easier, ways to get the visual effect that you desire without the painful process of writing controls to the window caption itself.
I'm trying to do exactly what the firefox button does.
It's removes the need for a menu to be visible all the time, and when you click the "FireFox" button it cascades the "menu's" from that button.
And i need the button in the title bar otherwise i don't gain those 20 extra pixels in height.
I found a source here - http://www.codeproject.com/KB/vb/tra...lebuttons.aspx
But it doesn't seem to work on my computer (don't think it was made for windows 7).
EXPERIENCED VB6 CODER
IF YOU SEE ANY FAILURE IN MY CODING, PLEASE LET ME KNOW AS I'VE ONLY JUST STARTED LEARNING VB.NET AND I WILL APPRECIATE ANY HINTS AND TIPS YOU HAVE TO OFFER! 
-
May 27th, 2011, 05:02 PM
#6
Re: Add Control to Form Titlebar?
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
May 27th, 2011, 05:10 PM
#7
Thread Starter
Lively Member
Re: Add Control to Form Titlebar?
Ahh sweet thats what i'm after, thanks!
Just gotta spend a bit of time trying to convert this to vb
EXPERIENCED VB6 CODER
IF YOU SEE ANY FAILURE IN MY CODING, PLEASE LET ME KNOW AS I'VE ONLY JUST STARTED LEARNING VB.NET AND I WILL APPRECIATE ANY HINTS AND TIPS YOU HAVE TO OFFER! 
-
May 29th, 2011, 03:05 AM
#8
Thread Starter
Lively Member
Re: [RESOLVED] Add Control to Form Titlebar?
Well...it didn't convert to VB very well (or rather i suck at trying to convert C)
EXPERIENCED VB6 CODER
IF YOU SEE ANY FAILURE IN MY CODING, PLEASE LET ME KNOW AS I'VE ONLY JUST STARTED LEARNING VB.NET AND I WILL APPRECIATE ANY HINTS AND TIPS YOU HAVE TO OFFER! 
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
|