WM_GETTEXT - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: WM_GETTEXT (/showthread.php?tid=72909) WM_GETTEXT by Dennis Mike on 03-23-2007 at 12:55 AM
how can i get the text? RE: WM_GETTEXT by markee on 03-23-2007 at 01:03 AM What are you trying to get the text of? You might be able to use PlusWnd.GetControlText(ControlId) ? RE: WM_GETTEXT by Dennis Mike on 03-23-2007 at 01:04 AM yes i used Handle = PlusWnd.GetControlText(ControlId) RE: WM_GETTEXT by markee on 03-23-2007 at 01:07 AM PlusWnd.GetControlText(ControlId) will get you the text. If you are wanting the handle then you would need PlusWnd.GetControlHandle(ControlId) . RE: WM_GETTEXT by Dennis Mike on 03-23-2007 at 01:18 AM
i know RE: WM_GETTEXT by deAd on 03-23-2007 at 02:20 AM
Just use: code: RE: WM_GETTEXT by Dennis Mike on 03-23-2007 at 03:37 AM
this control is not supported by that function RE: RE: WM_GETTEXT by deAd on 03-23-2007 at 03:51 AM
quote:then WM_GETTEXT probably won't work either, as Plus! uses that to get the text EDIT: What did it return when you tried? RE: WM_GETTEXT by Dennis Mike on 03-23-2007 at 03:56 AM that return 0 RE: WM_GETTEXT by markee on 03-23-2007 at 09:21 AM
If you are parsing the text to the MenuButton then can't you just store the string somewhere? If you aren't parsing it then you can always just use the ActiveXObject Microsoft.XMLDOM (more information can be found here) to get the string in the node in the xml document. I hope you can use one of these methods to fix your situation. RE: WM_GETTEXT by deAd on 03-24-2007 at 12:15 AM Actually...since SetControlText doesn't work for a menu button control either, the text should always be the same |