CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2003
    Location
    Gardnerville,NV
    Posts
    199

    making an MDI parent boarderless

    Is it possible to make an MDI parent form boarderless? If not how can I simulate this? I have and emmbedded project (much like a kiosk system) that requires a main form and 2-3 child forms that cannot "accidentaly" go behind the parent (if they do, there is no way to retreive them because there is no keyboard or mouse, only a touch screen)
    Any ideas are greatly appriciated
    kevin
    Thank you for your support.
    -Bartyles & James (circa 1980)


    If it helps, rate it
    if it doesn't, well....I tried


    Check out Windows Embedded XP. It's XP compontnetized: add only the components you need to build an OS

    And in knowing that you know nothing, that makes you the smartest of all.
    - Socrates (469 BC - 399 BC)

  2. #2
    Join Date
    Dec 2001
    Posts
    6,332
    Something is missing here: How could the child forms get behind the parent if they are inside it? Unless you are not making them as mdi child forms?

    I guess I'd try playing with the SetWindowLong API...
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

  3. #3
    Join Date
    Aug 2003
    Location
    Gardnerville,NV
    Posts
    199
    How could the child forms get behind the parent if they are inside it?
    They can't, that why I want to use a parent form, but if using the parent requires having a boarder and a title bar, ect. then I can't use it. You don't see title bars on kiosk you know? Thereofre I am faced making an SDI project and manually keeping the other forms on top.
    thank for the feedback
    kevin
    Thank you for your support.
    -Bartyles & James (circa 1980)


    If it helps, rate it
    if it doesn't, well....I tried


    Check out Windows Embedded XP. It's XP compontnetized: add only the components you need to build an OS

    And in knowing that you know nothing, that makes you the smartest of all.
    - Socrates (469 BC - 399 BC)

  4. #4
    Join Date
    Dec 2001
    Posts
    6,332
    ...I am faced making an SDI project and manually keeping the other forms on top.
    Then I'd suggest using the SetParent API to put the child forms inside a "regular" form.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

  5. #5
    Join Date
    Aug 2003
    Location
    Gardnerville,NV
    Posts
    199
    That's the ticket mate!
    thanks vey much....exactly what I needed
    kevin
    Thank you for your support.
    -Bartyles & James (circa 1980)


    If it helps, rate it
    if it doesn't, well....I tried


    Check out Windows Embedded XP. It's XP compontnetized: add only the components you need to build an OS

    And in knowing that you know nothing, that makes you the smartest of all.
    - Socrates (469 BC - 399 BC)

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