H
HansCoder
Guest
Using Visual Studio 2008 and C#.
When running application #1 and #2 on windows 7 platform Min, Max, Close buttons show up as square adjacent buttons that work correctly.
When running application #1 and #2 on windows 10 platform.
Application #1 buttons are underline, square and X like it should be and works correctly.
Application #2 buttons are displayed as windows 7 buttons and do not react to mouse clicks. The mouse focus locations are off to the left to where the buttons should be in a Windows 10 system.
What am I doing wrong with Application #2. Also child windows all start with the wrong style of Minimum, Maximum and Close buttons. Because Application #1 does not have this problem I do not thing it is a VS2008 problem.
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(713, 401);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip;
this.Name = "MainForm";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
Continue reading...
When running application #1 and #2 on windows 7 platform Min, Max, Close buttons show up as square adjacent buttons that work correctly.
When running application #1 and #2 on windows 10 platform.
Application #1 buttons are underline, square and X like it should be and works correctly.
Application #2 buttons are displayed as windows 7 buttons and do not react to mouse clicks. The mouse focus locations are off to the left to where the buttons should be in a Windows 10 system.
What am I doing wrong with Application #2. Also child windows all start with the wrong style of Minimum, Maximum and Close buttons. Because Application #1 does not have this problem I do not thing it is a VS2008 problem.
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(713, 401);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip;
this.Name = "MainForm";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
Continue reading...