Solved

Resize a toolstrip at runtime in windows form?

Posted on 2007-11-23
1
753 Views
Last Modified: 2010-02-10
How do I allow a user to resize a toolstrip at runtime in a windows form?
I'm using C++ managed mode.  Could you post some code to help me?

Thanks.
this->toolStrip1->AllowItemReorder = true;
this->toolStrip1->AutoSize = false;
this->toolStrip1->BackColor = System::Drawing::SystemColors::ScrollBar;
this->toolStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->toolStripButton1, 
this->toolStripLabel1, this->toolStripDropDownButton1});
this->toolStrip1->Location = System::Drawing::Point(0, 0);
this->toolStrip1->Name = L"toolStrip1";
this->toolStrip1->RenderMode = System::Windows::Forms::ToolStripRenderMode::System;
this->toolStrip1->Size = System::Drawing::Size(662, 38);
this->toolStrip1->TabIndex = 0;
this->toolStrip1->Text = L"toolStrip1";

Open in new window

0
Comment
Question by:Confusioner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
trinitrotoluene earned 500 total points
ID: 20339734
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilationā€¦
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a feā€¦
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question