stuck in EnumWindows

rohitb
01-08-2010, 01:53 AM
Please don't post your question in multiple forums

there is a MDI application called ODIN

it has a MDI FORM whose title starts with MARKET WATCH which displays text in syslistview32

i want get the text from syslistview32 placed in this MDI FORM NAMED MARKET WATCH and save it to a csv file

im very new to this enumwindows etc pls help me to code

below is the code for seeing if ODIN is running

if ODIN is running it inserts the Hwnd in the text box and displays message box

i am attaching my code + Screen shot with this pls help me to get to the MDI CHILD FORM and get the text to csv file

http://img237.imageshack.us/img237/2020/childwindow.png

http://img20.imageshack.us/img20/8651/parentwindow.png

vb5prgrmr
01-08-2010, 04:59 AM
Don't even need to see your code or images. Once you know the handle to the program, you no longer need EnumWindows, you need EnumChildWindows...



Good Luck

rohitb
01-08-2010, 12:21 PM
im very new pls can some one help me with code

vb5prgrmr
01-08-2010, 10:21 PM
Time to use your friends (yahoo, google, ask, answers, bing) as there is code out there that shows how to use these API's...



Good Luck

OnErr0r
01-09-2010, 12:45 AM
Better yet, use the forum search engine. You'll find it discussed many times. Btw, I would specify the API forum.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum