Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
AnswerRe: Threading issue Pin
Nader Elshehabi21-Aug-06 5:15
Nader Elshehabi21-Aug-06 5:15 
AnswerRe: Threading issue Pin
S. Senthil Kumar20-Aug-06 19:08
S. Senthil Kumar20-Aug-06 19:08 
AnswerRe: Threading issue Pin
Andrei Ungureanu20-Aug-06 20:28
Andrei Ungureanu20-Aug-06 20:28 
QuestionInstall !!? Pin
MHASSANF20-Aug-06 2:48
MHASSANF20-Aug-06 2:48 
QuestionRe: Install !!? Pin
Anthony Mushrow20-Aug-06 3:05
professionalAnthony Mushrow20-Aug-06 3:05 
QuestionRe: Install !!? [modified] Pin
MHASSANF20-Aug-06 3:10
MHASSANF20-Aug-06 3:10 
AnswerRe: Install !!? Pin
Vitaliy Tsvayer20-Aug-06 3:32
Vitaliy Tsvayer20-Aug-06 3:32 
GeneralRe: Install !!? Pin
thunderbirdje20-Aug-06 10:54
thunderbirdje20-Aug-06 10:54 
AnswerRe: Install !!? Pin
Nader Elshehabi20-Aug-06 4:50
Nader Elshehabi20-Aug-06 4:50 
GeneralRe: Install !!? Pin
Anthony Mushrow20-Aug-06 10:59
professionalAnthony Mushrow20-Aug-06 10:59 
QuestionHaving a strange problem... Pin
Anthony Mushrow20-Aug-06 2:42
professionalAnthony Mushrow20-Aug-06 2:42 
AnswerRe: Having a strange problem... Pin
leppie20-Aug-06 3:12
leppie20-Aug-06 3:12 
GeneralRe: Having a strange problem... Pin
Anthony Mushrow20-Aug-06 11:02
professionalAnthony Mushrow20-Aug-06 11:02 
GeneralRe: Having a strange problem... [modified] Pin
Anthony Mushrow20-Aug-06 11:08
professionalAnthony Mushrow20-Aug-06 11:08 
GeneralRe: Having a strange problem... Pin
leppie20-Aug-06 11:25
leppie20-Aug-06 11:25 
GeneralRe: Having a strange problem... Pin
Anthony Mushrow20-Aug-06 12:56
professionalAnthony Mushrow20-Aug-06 12:56 
GeneralRe: Having a strange problem... Pin
Anthony Mushrow20-Aug-06 12:59
professionalAnthony Mushrow20-Aug-06 12:59 
GeneralRe: Having a strange problem... [modified] Pin
beatles169220-Aug-06 20:09
beatles169220-Aug-06 20:09 
GeneralRe: Having a strange problem... Pin
Anthony Mushrow21-Aug-06 3:58
professionalAnthony Mushrow21-Aug-06 3:58 
GeneralRe: Having a strange problem... Pin
Anthony Mushrow21-Aug-06 5:54
professionalAnthony Mushrow21-Aug-06 5:54 
Questionhorizontal splitter Pin
balkang20-Aug-06 0:57
balkang20-Aug-06 0:57 
AnswerRe: horizontal splitter Pin
Nader Elshehabi20-Aug-06 1:13
Nader Elshehabi20-Aug-06 1:13 
Hello

I don't use VS2003 yet i think the splitter control should work fine for you -not the splitcontainer control-.

This code is copied from MSDN documentaion with some modifications to make the splitter horizontal as you asked:

private void CreateMySplitControls()
{
    // Create TreeView, ListView, and Splitter controls.
    TreeView treeView1 = new TreeView();
    ListView listView1 = new ListView();
    Splitter splitter1 = new Splitter();

    // Set the TreeView control to dock to the left side of the form.
    treeView1.Dock = DockStyle.Bottom;
    // Set the Splitter to dock to the left side of the TreeView control.
    splitter1.Dock = DockStyle.Bottom;
    // Set the minimum size the ListView control can be sized to.
    splitter1.MinExtra = 100;
    // Set the minimum size the TreeView control can be sized to.
    splitter1.MinSize = 75;
    // Set the ListView control to fill the remaining space on the form.
    listView1.Dock = DockStyle.Fill;
    // Add a TreeView and a ListView item to identify the controls on the form.
    treeView1.Nodes.Add("TreeView Node");
    listView1.Items.Add("ListView Item");

    // Add the controls in reverse order to the form to ensure proper location.
    this.Controls.AddRange(new Control[]{listView1, splitter1, treeView1});
}


So, you add a splitter, and dock the other control to bottom -or top-, then dock your splitter like it, and the other control that will be in the other pane should be docked as fill or as the opposite direction.

RegardsRose | [Rose]
GeneralRe: horizontal splitter Pin
balkang20-Aug-06 1:40
balkang20-Aug-06 1:40 
QuestionChekers game Pin
Shanak6919-Aug-06 23:01
Shanak6919-Aug-06 23:01 
AnswerRe: Chekers game Pin
Nader Elshehabi19-Aug-06 23:20
Nader Elshehabi19-Aug-06 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.