Posts: 12
Threads: 4
Joined: Apr 2005
According to window.bi , the function wxWindow_getname(window as ptr) return a pointer to the name of the window.
How can i get name (the string value)?
Best regards,
Nicolae
Posts: 489
Threads: 34
Joined: Jan 2005
pass it through wxString_mb_str and assign that to a zstring, here's an example:
Code:
dim as zstring ptr myzstr
dim as string mystr
myzstr = wxString_mb_str( wxWindow_GetName( somewidgetname ) )
mystr = *myzstr
hope this helps
[edit] ps, what do you need it for? the widget name isn't really used for anything...
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Posts: 12
Threads: 4
Joined: Apr 2005