Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Unfair MDI Children header is drawn.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Unfair MDI Children header is drawn.

 Post Reply Post Reply
Author
Message
Shinichiro View Drop Down
Newbie
Newbie
Avatar

Joined: 09 November 2007
Location: Japan
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shinichiro Quote  Post ReplyReply Direct Link To This Post Topic: Unfair MDI Children header is drawn.
    Posted: 09 November 2007 at 3:27am
Hello.

Unfair MDI Children header is drawn.
Do you know a solution?

I modified form of SkinMDISample - CommandBars_Execute().

private void CommandBars_Execute(object sender, AxXtremeCommandBars._DCommandBarsEvents_ExecuteEvent e)
{
switch (e.control.Id)
      {
        case ID.ID_FILE_NEW:
          frmDocument frmDocument = new frmDocument();
          frmDocument.MdiParent = this;
          frmDocument.FormBorderStyle = FormBorderStyle.Sizable; //--Append 01
          frmDocument.Show();
          break;
        case ID.ID_APP_ABOUT:
          foreach (frmDocument frm in this.MdiChildren)           //--Append 02
            frm.FormBorderStyle = FormBorderStyle.Sizable;

          this.LayoutMdi(MdiLayout.Cascade);                      //--Append 03

          foreach (frmDocument frm in this.MdiChildren)           //--Append 04
            frm.FormBorderStyle = FormBorderStyle.None;

          CommandBars.AboutBox();
          break;

Step by Step.
1. Push three times of Create new window buttons.
2. Push of Abort buttons.
3. Click of background mdi children.


/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
OS        :Windows XP SP2
Platform   :Microsoft Visual C# 2005 Standard Edition
VideoDriver:Intel(R) 82915G/GV/910GL Express Chipset Family
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_



please help me!


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.141 seconds.