What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQU] Patchou PlusWnd::Combo_GetItemText not exist why?

[REQU] Patchou PlusWnd::Combo_GetItemText not exist why?
Author: Message:
Flash
Junior Member
**

Avatar
All time Ready

Posts: 86
Reputation: 2
44 / Male / Flag
Joined: Aug 2006
O.P. RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why?
i tryed your code felip that work fine
code:
function cb_GetItem(w,d,n){
    var CB_GETCOUNT = 0x146
    var CB_GETLBTEXT = 0x148
    var CB_GETLBTEXTLEN = 0x149
    var t = w.SendControlMessage(d,CB_GETCOUNT, 0, 0)
    //Debug.Trace("Total= " +t)
    for(var i=0; i < t; i++) {
        var length = w.SendControlMessage(d, CB_GETLBTEXTLEN, i, 0)
        var Data = Interop.Allocate((length * 2) + 2)
        if (i == n) {
            Interop.Call("user32", "SendMessageW", w.GetControlHandle(d), CB_GETLBTEXT, i, Data);
            //w.SendControlMessage(d,CB_GETLBTEXT,i,Data) not work
            return Data.ReadString(0)
        }
    }
}


quote:
Originally posted by felipEx
you seem that you're working with dispatchers functions =) . why Patchou doesn't implement programming-based on prototypes ? ^^

yes i dont know how for other way :|


its possible this way
code:
cb_GetItem(ww,"cbc",0) -> ww.cb_GetItem("cbc",0)
??

This post was edited on 06-28-2007 at 10:26 PM by Flash.
06-28-2007 10:23 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by Flash on 06-28-2007 at 04:24 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by deAd on 06-28-2007 at 04:30 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by felipEx on 06-28-2007 at 06:59 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by Flash on 06-28-2007 at 07:44 PM
RE: RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by felipEx on 06-28-2007 at 07:47 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by Flash on 06-28-2007 at 08:02 PM
RE: RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by felipEx on 06-28-2007 at 09:03 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by Flash on 06-28-2007 at 09:51 PM
RE: RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by felipEx on 06-28-2007 at 10:21 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by Flash on 06-28-2007 at 10:23 PM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by CookieRevised on 06-29-2007 at 12:04 AM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by felipEx on 06-29-2007 at 12:20 AM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by CookieRevised on 06-29-2007 at 12:39 AM
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why? - by Flash on 06-29-2007 at 02:48 AM


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