473,729 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MainMenu Causes Designtime/Runtime Window Size Differences

A picture says a thousand words, so here are 2!

Design Time:
http://www.ksoftware.net/examples/Clip1.jpg

Run Time:
http://www.ksoftware.net/examples/Clip2.jpg

The problems started when I added that MainMenu control. It almost looks
as if it is resizing to make room for a status bar at the bottom - but
there isn't one!

Thanks!

--
- Mitchell
Jun 28 '06 #1
5 1406
Hi Mitchell,

Thank you posting!
The problems started when I added that MainMenu
control. It almost looks as if it is resizing to make room
for a status bar at the bottom - but there isn't one!.


I have performed some tests on my side, it seems to be a phantom problem.
Sometimes it would happen at the first time right after you the Maimenu
control to a VS2003 Winform. But after you do some edit to the mainmenu
control, the problem would disappear and all work as normal.

Does this problem disappear on your side after you edit that Winform (and
its mainmenu control)?

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 29 '06 #2
Gary Chang[MSFT] wrote:
Hi Mitchell,

Thank you posting!
The problems started when I added that MainMenu
control. It almost looks as if it is resizing to make room
for a status bar at the bottom - but there isn't one!.


I have performed some tests on my side, it seems to be a phantom problem.
Sometimes it would happen at the first time right after you the Maimenu
control to a VS2003 Winform. But after you do some edit to the mainmenu
control, the problem would disappear and all work as normal.

Does this problem disappear on your side after you edit that Winform (and
its mainmenu control)?

Thanks!

Best regards,

Gary Chang


I wish it did, but it's there to stay. I've even deleted the MainMenu
and re-created it under a different name and see the same thing happening..

Thanks!!

--
- Mitchell Vincent
Jun 29 '06 #3
Hi Mitchell,

I just add some new items to the menu control, and it would be OK. And in
some other test, this problem will not occur from the beginning.

By the way, does this issue occur to any other VS2003 Winform project on
your side? If that problem happens in all of your Winform projects, would
you please give us a simple repro walkthrough for research?

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 30 '06 #4
Gary Chang[MSFT] wrote:
Hi Mitchell,

I just add some new items to the menu control, and it would be OK. And in
some other test, this problem will not occur from the beginning.

By the way, does this issue occur to any other VS2003 Winform project on
your side? If that problem happens in all of your Winform projects, would
you please give us a simple repro walkthrough for research?

Thanks!

Best regards,

Gary Chang
Thanks for the reply Gary, I missed it at first!

I wish it did happen with any consistency, but I'm afraid it doesn't. I
remember it happening before on a few projects but I can't remember
which ones. I've tried to reproduce it a couple of times on new
single-form projects but have been unable to. I'm aorry I can't be of
more help!
--
- Mitchell Vincent
Jul 3 '06 #5
Hi Mitchell,
>I wish it did happen with any consistency, but
I'm afraid it doesn't. I remember it happening
before on a few projects but I can't remember
which ones. I've tried to reproduce it a couple
of times on new single-form projects but have
been unable to. I'm aorry I can't be of
more help!
That's OK. It may be a phantom problem of the Visual Studio IDE. If this
problem persists to a specific project of yours, you can send that
stand-alone project (zipped) to us for research.

Have a nice day!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 4 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1794
by: Rahail | last post by:
Hello, I have a question, can someone help me please? What are the differences between a runtime and a designtime component? Is runtime component only good for running with the .exe and not during development environment using Visual Basic 6 (For example, an error pops out saying License is not found - I am using 3rd party components.)?
0
1268
by: stew_mclean | last post by:
Hi, I've developed a class that derives from component (rather than a control), and am trying to license it at design time. I've set the license attributes etc. to my custom license provider: The problem is that my license provider never gets called at designtime. To prove this, I've put this code into the implementation
2
2444
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just fine. However, when attempting to assing default values as designtime in the propertygrid, nothing is working on the class object. I know that I am doing it wrong, any ideas what it is? Thanks in advance
7
2223
by: Varangian | last post by:
Hello is creating controls at runtime the same as designtime ? will a page be faster if controls are created at designtime rather than at runtime ? If so why ? thanks :)
2
5068
by: Steve | last post by:
This is a weird one. I have a series of "SmartParts" which are CAB (Composite Application Block) Views which are finally just UserControls (99% of the time) Anyway, I layout my UserControl in the VS2005 designer, but at runtime, the controls are in different locations and different sizes. I have been able to restore their sizes by putting a hack together that will set their sizes to the correct values in the UserControl's Resize...
0
1036
by: Dst | last post by:
How can i resize my usercontrol in design mode ? Seems like when the usercontrol is added to a page the size is fixed. It does not have any resize grips. I added a width / height property and this works runtime when i change the value designtime. But it is a hazzle to run the page to see how it will look like. Anyone ?
2
2166
by: polocar | last post by:
Hi, I'm writing a program using Visual C# 2005 Professional Edition, and I was trying to assign multiple MainMenu objects (one by one, of course) to the same Form (let's suppose 2 MainMenu objects). It is possible (and it's my case) that these 2 MainMenu objects use some different MenuItem objects and some identical MenuItem objects. For example, let's assume that: mainMenu1 contains miFile, miEdit, miHelp mainMenu2 contains miFile,...
0
1042
by: Steve | last post by:
I'm struggling to get proper runtime and designtime dpi values. In the forms .designer.vb I've added the following code after InitializeComponent() Me.AutoScaleDimensions = New System.Drawing.SizeF(96.0F, 96.0F) Me.AutoScaleMode = Windows.Forms.AutoScaleMode.Dpi And in my code behind the form, I've added,
1
3053
by: finditajr | last post by:
Hello I'm having the following problem: My main webpage calls a function stored in a .js file that creates an HTML window to display a calendar. Whenever I click on a date in that calendar, the calendar should return to the main webpage, but it cannot find the home window again. I'm getting this error: Microsoft JScript runtime error: 'self.opener.document.idFormMain.txtPeriodOfOperationEff' is null or not an object I've...
0
9427
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9284
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9202
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9148
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8151
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4528
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2165
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.