Click here to Skip to main content
15,911,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open an "About" window.... Pin
eggie52-May-03 12:25
eggie52-May-03 12:25 
GeneralGet access to main form from child form Pin
paulb1-May-03 14:04
paulb1-May-03 14:04 
GeneralRe: Get access to main form from child form Pin
Nathan Blomquist1-May-03 17:45
Nathan Blomquist1-May-03 17:45 
GeneralComponent Authoring Pin
draco_iii1-May-03 11:15
draco_iii1-May-03 11:15 
GeneralRe: Component Authoring Pin
James T. Johnson1-May-03 18:09
James T. Johnson1-May-03 18:09 
GeneralRe: Component Authoring Pin
draco_iii1-May-03 23:25
draco_iii1-May-03 23:25 
Generalcustomized listbox Pin
jimmy.br1-May-03 9:23
jimmy.br1-May-03 9:23 
GeneralZipping Files Pin
DFU231-May-03 9:09
DFU231-May-03 9:09 
GeneralRe: Zipping Files Pin
Nathan Blomquist1-May-03 9:45
Nathan Blomquist1-May-03 9:45 
GeneralRe: Zipping Files Pin
J. Dunlap1-May-03 9:50
J. Dunlap1-May-03 9:50 
GeneralRe: Zipping Files Pin
Nathan Blomquist1-May-03 11:52
Nathan Blomquist1-May-03 11:52 
GeneralListbox with hidden id Pin
viana1-May-03 6:45
viana1-May-03 6:45 
GeneralRe: Listbox with hidden id Pin
James T. Johnson1-May-03 18:20
James T. Johnson1-May-03 18:20 
GeneralRe: Listbox with hidden id Pin
viana2-May-03 1:32
viana2-May-03 1:32 
GeneralRe: Listbox with hidden id Pin
James T. Johnson2-May-03 1:34
James T. Johnson2-May-03 1:34 
GeneralRe: Listbox with hidden id Pin
viana2-May-03 1:36
viana2-May-03 1:36 
GeneralRe: Listbox with hidden id Pin
James T. Johnson2-May-03 1:41
James T. Johnson2-May-03 1:41 
GeneralForm Load Issues Pin
RB@Emphasys1-May-03 6:13
RB@Emphasys1-May-03 6:13 
Hey All,

I have an application that has a main form, which is a mdi container. Docked in the left side of the container is a treeview control. In the open space on the right side of the container I load various forms based on what the user clicks on in the tree view control. Now these forms have no borders, and are not resizable, they are made to fit exactly in the space left between the right side of the container and the tree view control. Here is my problem, I start by getting rid of whatever form is in the space initially, if there is one, and i use the show method, with various property settings to dock it. But when it loads the form, you see a flash of the form your loading with a border and not docked. Then it shows the form correctly. But this "flash" of the form before its docked is really annoying. I was wondering if anyone knew of a way to get rid of this flash of the form im loading.

Thanks,
Ryan

P.S. Here is a clip of the code if its helpful.

m_cCurrent = frmCurrent;
m_cCurrent.FormBorderStyle = FormBorderStyle.None;
m_cCurrent.Height = 422;
m_cCurrent.Width = 576;
m_cCurrent.MdiParent = this;
m_cCurrent.Dock = DockStyle.Right;
m_cCurrent.SetDelegates(m_dlgNotifyMain);
m_cCurrent.Show();
m_aForms.Add(m_cCurrent);
m_iIndex ++;
GeneralRe: Form Load Issues Pin
J. Dunlap1-May-03 6:53
J. Dunlap1-May-03 6:53 
GeneralRe: Form Load Issues Pin
RB@Emphasys1-May-03 7:29
RB@Emphasys1-May-03 7:29 
GeneralPlease Help Pin
Scoop1-May-03 3:50
Scoop1-May-03 3:50 
GeneralRe: Please Help Pin
Stephane Rodriguez.1-May-03 4:17
Stephane Rodriguez.1-May-03 4:17 
GeneralRe: Please Help Pin
Scoop1-May-03 4:46
Scoop1-May-03 4:46 
GeneralGet wepage source code Pin
Amauw Scritz1-May-03 1:07
Amauw Scritz1-May-03 1:07 
GeneralRe: Get wepage source code Pin
Stephane Rodriguez.1-May-03 1:19
Stephane Rodriguez.1-May-03 1:19 

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.