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: RE: [REQU] Patchou PlusWnd::Combo_GetItemText not exist why?
quote:
Originally posted by Flash
quote:
Originally posted by felipEx
works fine too  but i like LB_RESETCONTENT, fast & short :)


but why u speak for reset the content is not my question man

i need to know the text in each line of my combo :|

sure...  but you've suggested PlusWnd::Combo_GetItemText and i've suggested PlusWnd::LstBox_Clear ;)

so...  it works fine here

code:
var CB_GETCOUNT = 0x146;
var CB_GETLBTEXT = 0x148;
var CB_GETLBTEXTLEN = 0x149;
for (var i=0; i <  Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle("MyComboBox"), CB_GETCOUNT , 0, 0) ; i++)      {
      var length = Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle("MyComboBox"), CB_GETLBTEXTLEN, i, 0);
  var Data = Interop.Allocate((length * 2) + 2);
  Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle("MyComboBox"), CB_GETLBTEXT, i, Data);
      Debug.Trace(Data.ReadString(0));
      }

This post was edited on 06-28-2007 at 09:12 PM by felipEx.
06-28-2007 09:03 PM
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