Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 08-29-2006, 09:44 AM   #1
Kryptonic
Junior Member
 
Join Date: Jul 2005
Posts: 6
Exclamation GetWindowText

ooooook guys heres a little tinker for ya!

im trying to read some fields from Flash FXP (in c#) using the Windows User32 API...

GetWindowText is what il be using...

so i use Microsoft Spy++ to get the Handle for one of the input boxes, lets say for arguments sake its 4134644.. (thats the handle to the text box...)

Spy++ reports this as an EDIT class, good so far!

so i use GetWindowText to try get the text from the text box.... empty string??
mmmmm so im stratching my head... i know ill test my code and use:

static extern int GetWindowTextLength(IntPtr hWnd)

this has got to work! i should get a length back now!! NOPE! nothing is coming back from ANY EDIT class field

HOWEVER if i use GetWindowText on anything else, Labels, Window Titles it works!!

What am i doing wrong here? Am i using the wrong API call to get data from an Edit Field?

its driving me mad!!! lol
Kryptonic is offline  
Old 09-10-2006, 02:53 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

which specific edit controls?
bigstar is offline  
Closed Thread

Tags
api, edit, fxp, getwindowtext, text

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:35 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)