What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] 3 Question's

[Help] 3 Question's
Author: Message:
icepick66
Junior Member
**

Avatar
Uhh Radiation

Posts: 37
Reputation: 1
35 / Male / –
Joined: Jun 2006
O.P. [Help] 3 Question's
Ok, my first post lol, here it goes

Basically, i have this window, made from the xml, and i have a text-box, what i want when a button is pressed a text-box contents is sent to the registry, and then can be read later.

Also i want to know how to enable/disable buttons from the script

And how do i add images to the window

Thank-you Very much

This post was edited on 06-26-2006 at 07:55 PM by icepick66.
06-26-2006 07:45 PM
Profile E-Mail PM Find Quote Report
icepick66
Junior Member
**

Avatar
Uhh Radiation

Posts: 37
Reputation: 1
35 / Male / –
Joined: Jun 2006
O.P. RE: [Help] 3 Question's
anyone know? :(
06-27-2006 01:50 PM
Profile E-Mail PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: [Help] 3 Question's
Sorry to bump this, but has anyone got an answer for question number 2?

IS there a function to enable/disable buttons on a window?

At the moment im using the following code to enable a button:

code:
        var btnReplyWnd;
        btnReplyWnd = wndResp.GetControlHandle("BtnReply");
        Interop.Call("User32","EnableWindow", btnReplyWnd, 1);
(1 is to enable, 0 is to disable)

but I'd like to know if there's an easier way?

Any help appreciated :)
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-07-2006 03:38 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Help] 3 Question's
You can use the
code:
OnWindowIdEvent_CtrlClicked(pPlusWnd, sControlId){
    //pPlusWnd is the Plus! object for the window
    //sControlId is the Id of the control that is clicked

    //To get the text use the following :
    var sText = pPlusWnd.GetControlText('myTextBox');
}

To store it in the registry take a look at this page I made.
http://mattyg.ca/geshi/registry.php
07-07-2006 03:49 PM
Profile E-Mail 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