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:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why?
heheh Mr. CookieRevised :O
i has this code:

code:
function Combo_Text(PlusWnd, ControlId, Index){
    var CB_GETCOUNT = 0x146;
    var CB_GETLBTEXT = 0x148;
    var CB_GETLBTEXTLEN = 0x149;
    var CB_GETCURSEL = 0x147;
   
    if (!Index) Index = Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle(ControlId), CB_GETCURSEL, 0, 0);
    if (Index < 0)    return "";
   
   
      var Data = Interop.Allocate((  Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle(ControlId), CB_GETLBTEXTLEN, Index, 0)  * 2) + 2);
PlusWnd.GetControlHandle(ControlId), CB_GETLBTEXT, Index, Data);
      return Data.ReadString(0);
}


Edit.. Ohh..  you've posted before me :D (Combo_GetItemText is better hehe , nice job ^^)

This post was edited on 06-29-2007 at 05:02 PM by felipEx.
06-29-2007 12:20 AM
Profile E-Mail 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