An MDI child with FormBorderStyle set to None will still draw borders briefly when loading.
A microsoft report on this bug: connect.microsoft.com
If you do your own skinning this creates a very unprofessional look.
I solved it by overloading WndProc and handling WM_NCACTIVATE, WM_NCPAINT, WM_NCUAHDRAWCAPTION and WM_NCUAHDRAWFRAME manually.
I'll post some code later if someone is interested.

0 kommentarer:
Post a Comment