[?] EditControls... but how can I control them? - 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: [?] EditControls... but how can I control them? (/showthread.php?tid=69071) [?] EditControls... but how can I control them? by Matti on 12-02-2006 at 03:39 PM
So far, I was able to do everything I needed with just the PlusWnd::GetControlText and PlusWnd:etControlText functions. But now I'm quite stuck. I want to change the position of the cursor in an EditControl, and set a selection. According to MSDN, it has to be possible, but those messages don't seem to have effect on them: code:should do it, but it doesn't. Any ideas? RE: [?] EditControls... but how can I control them? by Eljay on 12-02-2006 at 04:07 PM
umm youre using SendControlMessage wrong RE: [?] EditControls... but how can I control them? by Matti on 12-02-2006 at 05:14 PM
DOOH! Okay, new question: I have some buttons which change the text in my edit control and now I want to give the edit control focus after the button is clicked so the user can type in it. Any ideas how I can do that? RE: [?] EditControls... but how can I control them? by Mnjul on 12-03-2006 at 02:24 PM
Use the SetFocus Windows API . This time you'll need GetControlHandle code: RE: [?] EditControls... but how can I control them? by Matti on 12-03-2006 at 02:47 PM Okay, thanks! |