Hi Lance,
I agree to what Stephany has suggested. We could get the MdiClient of a MDI
parent form and set its Dock property to None to turn off the 3D bevel
border on the MDI parent form.
As for changing the color of a form's border, I have spent some time
researching on this problem but didn't find a good way to do it.
On possible way is to override the WndProc method in the form, and catch
WM_NCPAINT message in the override method. The WM_NCPAINT message is sent
to a window when its frame must be painted. However, when we handle the
WM_NCPAINT message, we need to draw the non-client of the form by
ourselves, including the title bar, which may be much complex.
Alternatively, you could set the 'Active Window Border' or 'Inactive Window
Border' for the entire system. To do this, right-click on the destop and
choose 'Properties'. In the Display properties, switch to the Appearance
tab, and click the 'Advanced' button. In the Advanced Appearance window,
select 'Active Window Border' or 'Inactive Window Border' for the 'Item'
and then change its color.
If you have any concerns, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.