|
-
Mar 31st, 2001, 02:31 PM
#1
Thread Starter
Frenzied Member
How can i put my own type of button on the title bar of my program ? Like right next to _ and X and the square.
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Mar 31st, 2001, 05:35 PM
#2
Take a look at this thread.
-
Mar 31st, 2001, 05:55 PM
#3
Thread Starter
Frenzied Member
how did yo get the square
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Mar 31st, 2001, 08:13 PM
#4
What square?
-
Mar 31st, 2001, 10:55 PM
#5
Thread Starter
Frenzied Member
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Mar 31st, 2001, 11:59 PM
#6
Oh, I changed the font to Marlett.
-
Apr 1st, 2001, 05:29 AM
#7
Addicted Member
Set the Caption Property to Null String
And Also Set the ControlBox to False.
Create A Picture Box In the place of titlebar.
This is your custom titlebar.
In the event
Private Sub Picture1_MouseMove(Button as Integer,...)
If Button Then
ReleaseCapture ' Declare This API Before Using
SendMessage Me.hWnd,&HA1,2&,0 'Declare This API Too
'If You Want To Play Sound
'sndPlaySound "SoundName",&H1 'Declare This Too.
Endif
End Sub
You can then add more picture boxes or image boxes or
any thing that has a click event in the place of the
minimize, maximize and close buttons and act accordingly.
-
Apr 1st, 2001, 06:37 AM
#8
Originally posted by smashtheqube
I've always wondered how AOL did that.
yeah, me too. I tried to get the handle to one once. Never was able to.
-
Apr 1st, 2001, 07:48 AM
#9
Thread Starter
Frenzied Member
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 1st, 2001, 09:50 AM
#10
Addicted Member
Hi,
this is really good, but how do you create your custom titlebar when using a menu? I tried it, but the menu was above the titlebar.
I'd like to have a 4th button in the titlebar to minimize the form to tray, how can I do that?
thanks
-
Apr 2nd, 2001, 05:03 PM
#11
Thread Starter
Frenzied Member
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 3rd, 2001, 04:23 AM
#12
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
|