CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Posts
    635

    turn visible an app

    hi everyone

    I am stuck on an app

    I have a app (called app_A) which execute other app (Called app_B) and it is turn as child on a Form in app_A.

    when I close that Form and I want to able App_B turns child once again
    App_B is not showed as the first time inside Form in App_A, here FindWinddow does't Work properly.

    Api used is SetParent, FindWindow and showWindow

    Code:
      appB_Hwnd= FindWindow(vbNullString, name) ''
    ShowWindow(appB_Hwnd, 5)
    Call SetParent(appB_Hwnd, pic.hwnd)

    any help, thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: turn visible an app

    That isn't enough code to even make a guess on
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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

Featured