Results 1 to 9 of 9

Thread: FindWindowEX

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2006
    Posts
    40

    FindWindowEX

    Hello everyone

    I am unable to find a child window by using the findwindowex fuction .Please help me

  2. #2
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142

    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]

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2006
    Posts
    40

    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.

  4. #4
    Hyperactive Member cameron2's Avatar
    Join Date
    Mar 2008
    Location
    Australia
    Posts
    401

    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?
    If this post helped you, please click the rate button to say thank you! Remember to mark the thread as resolved too.
    Autoclicker, Hide Taskbar, Sounds on internal speaker, Changing Start Button Text (with code)

  5. #5

    Thread Starter
    Member
    Join Date
    Aug 2006
    Posts
    40

    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.

  6. #6
    Hyperactive Member cameron2's Avatar
    Join Date
    Mar 2008
    Location
    Australia
    Posts
    401

    Re: FindWindowEX

    I don't see findwindow or findwindowex anywhere...
    If this post helped you, please click the rate button to say thank you! Remember to mark the thread as resolved too.
    Autoclicker, Hide Taskbar, Sounds on internal speaker, Changing Start Button Text (with code)

  7. #7

    Thread Starter
    Member
    Join Date
    Aug 2006
    Posts
    40

    Re: FindWindowEX

    Cameron
    Found method.But when I send message thru Sendmessage function to copy the window is not reponding.any help?

  8. #8
    Hyperactive Member cameron2's Avatar
    Join Date
    Mar 2008
    Location
    Australia
    Posts
    401

    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.
    If this post helped you, please click the rate button to say thank you! Remember to mark the thread as resolved too.
    Autoclicker, Hide Taskbar, Sounds on internal speaker, Changing Start Button Text (with code)

  9. #9

    Thread Starter
    Member
    Join Date
    Aug 2006
    Posts
    40

    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
  •  



Click Here to Expand Forum to Full Width