Results 1 to 4 of 4

Thread: [RESOLVED] Form is a child of another form

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    169

    Resolved [RESOLVED] Form is a child of another form

    How do you determine/test if a nonMDI form is the child of another nonMDI form?

    I tried the following APIs but there is no difference in the return value, WS_ , WS_EX_ after the form was made a child (using SetParent).

    GetWindowLong
    IsChild
    GetParent

    Edit: GetWindow (.hwnd, GW_OWNER) doesn't work either
    Last edited by vb_lover; May 14th, 2011 at 09:46 AM.

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