Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating splits in the view area

Status
Not open for further replies.

vinodi

Programmer
May 23, 2003
41
0
0
IN
Hi,

How do I generate a split in a window? In VB IDE you can split the code window into Two parts? Is there any control for this task?


Vinodi

~~The only place where SUCCESS comes before WORK is in the dictionary~~
 

Search MS for "Splitter control". It is (as last as I knew) actually only for C++. But there is another way that may simulate what you want. Start a new project and GoTo Addins>Addin Manager and scroll down untill you see VB 6 Template Manager. Select it and put a check mark in the Loaded/Unloaded check box and hit ok. Then goto Tools>Add Control Set and select Treeview Listview Splitter and click Open. Then goto the code view to view the simulation.

Good Luck

 
You can also look at this thread to get an example of how to make a user resizable picturebox, which can be used to contain other controls. Setting up 2 or more of these boxes and writing the appropriate code in the resize events will allow you to split the window into 2 or more parts.

thread222-501202
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top