Click to See Complete Forum and Search --> : MDI form's Appearance property.


Rippin
February 23rd, 2000, 03:12 PM
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

Chris Eastwood
February 23rd, 2000, 05:45 PM
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

Rippin
February 23rd, 2000, 06:04 PM
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