?
Solved

Resize a toolstrip at runtime in windows form?

Posted on 2007-11-23
1
Medium Priority
?
755 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 1500 total points
ID: 20339734
0

Featured Post

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

770 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