How do you do this?

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts Page 1 of 1
Contributors
User avatar
Martin
Supreme VIP
Supreme VIP
Posts: 369
Joined: Sat Aug 01, 2009 12:26 pm

How do you do this?
Martin
Hi how do you add controlls to the... (idk name lol, ill hsow image insted) like firefox or chrome the tabs are in the (again dont know name lol)
Skärmklipp3.PNG
You do not have the required permissions to view the files attached to this post.
Image
User avatar
Martin
Supreme VIP
Supreme VIP
Posts: 369
Joined: Sat Aug 01, 2009 12:26 pm

Re: How do you do this?
Martin
Oh finaly i had the name on my mind all the time lol, i wanna know hwo you add controlls to the title bar
Image
Vikhedgehog
VIP - Donator
VIP - Donator
Posts: 812
Joined: Fri Nov 05, 2010 6:24 pm

Re: How do you do this?
Vikhedgehog
lol interesting question :)
User avatar
Martin
Supreme VIP
Supreme VIP
Posts: 369
Joined: Sat Aug 01, 2009 12:26 pm

Re: How do you do this?
Martin
Please help me now
Image
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: How do you do this?
MrAksel
You could possibly draw them there without making controls, and check if the mouse is over or clicking on of those 'imaginary controls'. You should override WndProc and handle WM_NCPAINT (non-client painting), WM_NCLBUTTONDOWN (non-client left button down), WM_NCLBUTTONDOWNUP (non-client left button up) and optional: WM_NCRBUTTONDOWN (non-client right button down) and WM_NCRBUTTONDOWNUP (non-client right button up)

You could look up each of these messages at MSDN. Just search for the message name on google and it should be the top link.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Re: How do you do this?
Cheatmasterbw
http://www.megaapps.tk/
6 posts Page 1 of 1
Return to “Tutorial Requests”