1 Attachment(s)
[RESOLVED] Vista ControlBox in XP
Hi all,
I was wondering if anyone knows of a way to get the Vista titlebar in XP?
Applications like, Windows media Player 11's titlebar, the new MSN Messenger, etc. I have attached an image of what I'm talking about.
Anyone know how to achieve this without a custom control?
Cheers,
chem
Re: Vista ControlBox in XP
Those applications draw their own non-client area. I've seen a C# code example and it was long. It's the "proper" way to create your own title bar rather than the hack of setting ControlBox to False and drawing a fake title bar in the client area but it was lots of unmanaged code and not for the feint-hearted. I don't think I have a link to that example any more but I'll look.
Re: Vista ControlBox in XP
I'm fairly sure this was it. It's not quite as bad as I recall.
Re: Vista ControlBox in XP
Ooooohhhhh.
Lovely. Thanks jmc :D
chem
Re: Vista ControlBox in XP
Quote:
Originally Posted by chemicalNova
Ooooohhhhh.
Lovely. Thanks jmc :D
chem
doesn't this sort of thing annoy users? A program done this way is not going to support system themes, let alone 3rd party programs that skin them such as windowblinds. IMHO i think you should stick with the stock buttons. Your program will not blend in with the look and feel the user has created on their system!
Re: [RESOLVED] Vista ControlBox in XP
Re: [RESOLVED] Vista ControlBox in XP
Quote:
Originally Posted by DeanMc
Not really.
it does me. It's the reason i never use Safari.
Re: [RESOLVED] Vista ControlBox in XP
I suppose it is the type of software that you create that should determine this. For instance business software is never going to be skinned but may require a pretty interface to appease the suits.
Re: Vista ControlBox in XP
Hi. Did you manage to get the example code working OK for you?
I just downloaded it and found that when you minimize and restore the test dialog app, Windows still displays the default minimize and maximize buttons (see attached image).
Do you know how to fix this problem please?
http://www.mediafire.com/?sharekey=a...4e75f6e8ebb871