CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 1999
    Location
    Texas
    Posts
    96

    MDI form's Appearance property.

    Does anyone know how to change a MDI form's Appearance property at run-time? I've tried various combinations of styles with the SetWindowLong API call but to no avail.

    Thanks,
    Rippin


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: MDI form's Appearance property.

    What kind of appearance do you want ? Is it something like removing the close / minimize / maximise button ? how about a bitmap on the MDI forms background ?


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  3. #3
    Join Date
    Dec 1999
    Location
    Texas
    Posts
    96

    Re: MDI form's Appearance property.

    Thanks for your reply Chris, I want to change the actual "Appearance" property of the form...the VB extended property. You can set it (1-3D or 0-Flat) at design time, but I want to change it at run time. The reason I'm doing this is because I don't like the way my app looks when the user maximizes a child form and you can see the frame around the child form. I can fix this by setting the MDI form's appearance to 0-Flat at design time, but then it looks ugly when the child form is not maximized. Kinda a double edged sword huh? It's not a huge deal...just a little "anal-retentive" thing I have about the "look" of the app.

    Thanks,
    Rippin


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