Results 1 to 4 of 4

Thread: [2.0] MDI Forms problem

  1. #1

    Thread Starter
    Frenzied Member conipto's Avatar
    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    1,175

    [2.0] MDI Forms problem

    Hi,

    Supposing I have several MDI forms, and want it to work like your average MDI forms application, with one exception. I have a few different "always on top" singleton forms. i.e, a tool box, etc... How do I keep them in the MDI area, without them being a complete part of the MDI Child forms array, so that when I maximize the child form(s), it doesn't maximize the specific forms (and also so that they stay on top)

    Bill
    Hate Adobe Acrobat? My Codebank Sumbissions - Easy CodeDom Expression evaluator: (VB / C# ) -- C# Scrolling Text Display

    I Like to code when drunk. Don't say you weren't warned.

  2. #2
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: [2.0] MDI Forms problem

    I guess, it can be done by using GetWindowRect and by subclassing the form and trapping WM_WINDOWPOSITIONCHANGING message.

    But I'll be glad if someone posts a 'framework way'.

    I'm a newbie in C#. Sorry, I don't know the 'framework way'.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  3. #3

    Thread Starter
    Frenzied Member conipto's Avatar
    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    1,175

    Re: [2.0] MDI Forms problem

    Hmm, I don't mind using API calls if it's absolutely necessary... but like you said, I'd much rather find a '.NET' way.. If I get nothing here, I'll post in VB.NET..

    Bill
    Hate Adobe Acrobat? My Codebank Sumbissions - Easy CodeDom Expression evaluator: (VB / C# ) -- C# Scrolling Text Display

    I Like to code when drunk. Don't say you weren't warned.

  4. #4
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: [2.0] MDI Forms problem

    ...on second thougt, it mightbe done just by SetParent. But that may cause some problem.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


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