|
-
Apr 12th, 2008, 04:59 AM
#1
Thread Starter
Member
FindWindowEX
Hello everyone
I am unable to find a child window by using the findwindowex fuction .Please help me
-
Apr 12th, 2008, 05:02 AM
#2
Re: FindWindowEX
maybe you could post some code of how you are attempting this?
i presume you are calling FindWindow first?
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Apr 12th, 2008, 05:05 AM
#3
Thread Starter
Member
Re: FindWindowEX
Yes I first find the main window handle.The Main window which has client window.I used findwindowex to retrive the handle of client.The child which I am trying to find appears only after the application connects to server.
-
Apr 12th, 2008, 06:06 AM
#4
Hyperactive Member
Re: FindWindowEX
Maybe you could post some code because it will be incredibly difficult to answer your question if we can't see code. It's like this, if my code wasn't working and i couldn't see it do you think i would be able to find the problem?
-
Apr 14th, 2008, 04:45 AM
#5
Thread Starter
Member
Re: FindWindowEX
HTML Code:
Dim oh1, oh2, oh3, oh4 As IntPtr
odpro.StartInfo.FileName = "c:\programfolder"
odpro.Start()
odpro.WaitForInputIdle(100000)
oh1 = odpro.MainWindowHandle
oh2 = win32.Fichi(oh1, oh2, "MDICLIENT", "")
oh2 is the client window handle.When the application connects to a server a child window can be opened by pressing some hotkey.Until then there will be no child window.Even menu bar also chnages.Some additional menus will appear.
-
Apr 14th, 2008, 05:25 AM
#6
Hyperactive Member
Re: FindWindowEX
I don't see findwindow or findwindowex anywhere...
-
Apr 15th, 2008, 04:01 AM
#7
Thread Starter
Member
Re: FindWindowEX
Cameron
Found method.But when I send message thru Sendmessage function to copy the window is not reponding.any help?
-
Apr 15th, 2008, 04:06 AM
#8
Hyperactive Member
Re: FindWindowEX
Again i am struggling to work out what your problem is because i can't see your code. Please post your code which executes the findwindow, the sendmessage and the code which causes the window to not respond.
-
Apr 15th, 2008, 08:01 AM
#9
Thread Starter
Member
Re: FindWindowEX
Cameron
Thanx for ur reply.My aim is to copy the listview of a child window to excel sheet.I found the handle of the child window which I have to copy and paste into a excel sheet.The child window accepts CTRL+c
when the window is active.I have to make my appliction to copy the listview of the child window automatically by sending a message to the region of the childwindow and paste the copied data to excelsheet seamlessly.Hope I am clear
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|