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:
Flash
Junior Member
**

Avatar
All time Ready

Posts: 86
Reputation: 2
44 / Male / Flag
Joined: Aug 2006
O.P. Bug with type="FigureElement"
<Element xsi:type="FigureElement" Id="FigRectNews" Visible="false">
impossible to show or hide this with 'ShowWindow'
My script: Psdp
03-10-2007 05:30 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / 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
Flash
Junior Member
**

Avatar
All time Ready

Posts: 86
Reputation: 2
44 / Male / Flag
Joined: Aug 2006
O.P. RE: Bug with type="FigureElement"
Thx that work great and i can use RichEditControl without the move window bug ;)

now just need the code for set invisible background to child window
My script: Psdp
03-10-2007 06:12 PM
Profile 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