Results 1 to 5 of 5

Thread: MDI child sunken appearance

  1. #1

    Thread Starter
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314

    MDI child sunken appearance

    Hi!

    I've searched the forum for an answer to my questions but I have found none.

    How do I make my MDI child forms to NOT look sunken in to the Parent form. I want a flat appearance as if I choose to show a panel instead of a MDI child?

    Is this possible, and if not, do I have to go with panels instead or is there a better solution?

    I have attached a picture of an example appearance where I used a panel as the rightmost objekt on the form, I want that appearance with a MDIChild as the "carrier" of Button1 instead.
    Attached Images Attached Images  

  2. #2
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Hi.

    Just a thought.
    Maybe you could set FormBorderStyle to none and in the Paint event of the MDIchild draw the rectangle yourself.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  3. #3

    Thread Starter
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    Maybe....

    But My guess is that I can draw a border but the sunken appearance comes from the parent, so I guess I will get a border but still sunken appearance. Worth ckecking though.

  4. #4

    Thread Starter
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    Should I interpret the silence as "this is not possible"? =)

  5. #5
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Hi.

    Well, I guess your interpretation is quite aqurate(sp?).

    I would not go as far as calling it impossible, but I'm fresh out of ideas!

    But keep the thread alive.
    There's some really hardcore programmers on this forum. Someone is bound to know something about this.

    Sorry I can't be of any help.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

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