What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Enabling real window titlebar for Plus windows on runtime

[Question] Enabling real window titlebar for Plus windows on runtime
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. [Question] Enabling real window titlebar for Plus windows on runtime
When I create a Plus window with MsgPlus.CreateWnd, it has no real Window Border, just the one drawn by Patchou's design engine. Likewise, it never enables the real Window Minimize, Maximize and/or Close buttons, but Patchou's "fake" buttons matching his Window styles. Now, how can I use the Windows API to enable the real window borders and titlebar/caption, as well as the real Min Max Close buttons? I would be able to take care to hide Patchou's Min Max Close so there wouldn't be a copy of them. I have already read about the SetWindowLongW function, but did not actually succeed in using it to enable/disable the window borders or show/hide the Windows Themed titlebar in Plus Windows created by MsgPlus.CreateWnd. So, how to accomplish this?
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
09-04-2008 08:47 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Question] Enabling real window titlebar for Plus windows on runtime
http://msdn.microsoft.com/en-us/library/czada357.aspx

You will have to use GetWindowLong and SetWindowLong and remove WS_DLGFRAME and add WS_CAPTION if I am not mistaken.
09-07-2008 08:16 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On