Solved

Resize a toolstrip at runtime in windows form?

Posted on 2007-11-23
1
750 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
1 Comment
 
LVL 12

Accepted Solution

by:
trinitrotoluene earned 500 total points
ID: 20339734
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to check group permission on a file located on a remote server ? 3 24
FInd Image Control Gridview 3 23
Where is this file? 3 26
transition to visual .net from vb6 5 41
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

821 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