MDI Icon Not correct in NET2.0 (v11.3) |
Post Reply |
Author | |
youka
Groupie Joined: 20 March 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 30 July 2009 at 1:11pm |
Dears, any one can figure out how to set correct icon image in a winForm MDI form... I am using v11.3 licensed version, but the icon doesn't paint correctly in .NET (but it's OK in VB6 of course..)
to reproduce the problem I modified a little to the C# MDI sample...
1) Add a line in FORM_LOAD:
CommandBars.ActiveMenuBar.SetFlags(XtremeCommandBars.XTPMenuBarFlags.xtpFlagAddMDISysPopup, 0);
2) Modify frmdocument 's formBorderStyle to Sizable and WindowState to Maximized.
you can see from the below image that only a blank icon is drawn, but after a restore_then_maximize opeartion the icon will then paint correctly.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |