What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Bug with type="FigureElement"

Bug with type="FigureElement"
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Bug with type="FigureElement"
ShowWindow can only be used for windows/controls which have a handle assigned. Elements don't return a handle (try it: PlusWnd.GetControlHandle("FigRectNews") will return 0) and therefore you can't use API functions such as ShowWindow on it. :(

A work-around would be to place the Element in a child window, add the child to the parent window and hide the child window instead. But, if you want to make your window resizeable, you should add a message notification to the parent in order to make the child window resize too... but if you don't want a resizeable window, just forget this. :P

And in theory, this should be placed in the Scripts subforum. ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
03-10-2007 09:30 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Bug with type="FigureElement" - by Flash on 03-10-2007 at 05:30 AM
RE: Bug with type="FigureElement" - by Matti on 03-10-2007 at 09:30 AM
RE: Bug with type="FigureElement" - by Flash on 03-10-2007 at 06:12 PM


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