Click here to Skip to main content
15,898,992 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Get wepage source code Pin
David Stone2-May-03 13:33
sitebuilderDavid Stone2-May-03 13:33 
GeneralRe: Get wepage source code Pin
Stephane Rodriguez.2-May-03 18:53
Stephane Rodriguez.2-May-03 18:53 
GeneralRe: Get wepage source code Pin
David Stone3-May-03 6:15
sitebuilderDavid Stone3-May-03 6:15 
GeneralRe: Get wepage source code Pin
Stephane Rodriguez.3-May-03 6:30
Stephane Rodriguez.3-May-03 6:30 
GeneralRe: Get wepage source code Pin
David Stone3-May-03 8:10
sitebuilderDavid Stone3-May-03 8:10 
GeneralService Pin
Mazdak30-Apr-03 22:31
Mazdak30-Apr-03 22:31 
GeneralRe: Service Pin
Daniel Turini30-Apr-03 22:47
Daniel Turini30-Apr-03 22:47 
GeneralRe: Service Pin
Xiangyang Liu 刘向阳30-Apr-03 23:36
Xiangyang Liu 刘向阳30-Apr-03 23:36 
Generalsingle view in MDI application Pin
corse30-Apr-03 19:00
corse30-Apr-03 19:00 
GeneralRe: single view in MDI application Pin
J. Dunlap30-Apr-03 21:04
J. Dunlap30-Apr-03 21:04 

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.