Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - MDI Icon Not correct in NET2.0 (v11.3)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI Icon Not correct in NET2.0 (v11.3)

 Post Reply Post Reply
Author
Message
youka View Drop Down
Groupie
Groupie


Joined: 20 March 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote youka Quote  Post ReplyReply Direct Link To This Post Topic: MDI Icon Not correct in NET2.0 (v11.3)
    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.
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.