What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Look of MSN and PLUS and Visual Basic

Look of MSN and PLUS and Visual Basic
Author: Message:
AceOfSpades
Junior Member
**


Posts: 19
Joined: Apr 2005
O.P. Look of MSN and PLUS and Visual Basic
This isnt really a problem, but im just intrested in the look of MSN 8 and PLUS. I am wondering how i can get my forms (windows) to look like this in Visual Basic 6?
06-29-2006 01:27 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Look of MSN and PLUS and Visual Basic
With great difficulty. VB doesn't offer the developer a lot of options for owner-draw windows.

Owner-draw windows are used to allow the developer to control how a window is drawn onto the screen. In C++, this is easy, as you can define a control with an *_OWNERDRAW style, and then intercept the WM_PAINT (windows)/WM_DRAWITEM (dialogs) message. Plus! uses this technique (all its windows are dialogs); however, Messenger I believe uses a different method, with a markup language called XAML. This is displayed in a DirectUIHWND, as will be shown if you use Spy++ on a Messenger window.

So, you have a couple of options:
1. Find a way to use *_OWNERDRAW styles in VB.
2. Use the DirectUIHWND and XAML.

MSDN should be able to help, as will Google ;)
[Image: spartaafk.png]
06-29-2006 03:25 PM
Profile PM Web 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