Click here to Skip to main content
15,923,222 members
Home / Discussions / C#
   

C#

 
QuestionEasy way to maximize a winform? Pin
DVryce17-Dec-01 2:21
DVryce17-Dec-01 2:21 
AnswerRe: Easy way to maximize a winform? Pin
James T. Johnson17-Dec-01 2:30
James T. Johnson17-Dec-01 2:30 
GeneralC# compile problem with custom web control Pin
15-Dec-01 9:01
suss15-Dec-01 9:01 
GeneralRe: C# compile problem with custom web control Pin
James T. Johnson15-Dec-01 22:26
James T. Johnson15-Dec-01 22:26 
GeneralFrom as both MDIContainer and MDIChild Pin
DVryce12-Dec-01 5:42
DVryce12-Dec-01 5:42 
GeneralRe: From as both MDIContainer and MDIChild Pin
Neill Jordan12-Dec-01 6:39
Neill Jordan12-Dec-01 6:39 
GeneralRe: From as both MDIContainer and MDIChild Pin
DVryce12-Dec-01 7:35
DVryce12-Dec-01 7:35 
GeneralRe: From as both MDIContainer and MDIChild Pin
James T. Johnson14-Dec-01 7:21
James T. Johnson14-Dec-01 7:21 
Here's some naming so I don't get confused while I'm typing this.

MDIParent
- MDIChild
  - MDIGrandchild

On the MDIChild add a panel and set the dock style to fill; you may want to set the backcolor so it isn't the control color.

On the MDIGrandchild set the TopMost property to false, then add the MDIGrandchild to MDIChild's panel's control collection.

You'll probably have to add some logic for scroll bars and the Windows menu on the MDIChild, but that should work visually.

HTH,

James

[edit, fixed my naming chart so it didn't look like both were children were directly from parent]
GeneralRe: From as both MDIContainer and MDIChild Pin
James T. Johnson14-Dec-01 21:38
James T. Johnson14-Dec-01 21:38 
QuestionMSIL is where? Pin
SimonS12-Dec-01 2:04
SimonS12-Dec-01 2:04 
AnswerRe: MSIL is where? Pin
Peter Stephens13-Dec-01 8:45
Peter Stephens13-Dec-01 8:45 
AnswerRe: MSIL is where? Pin
James T. Johnson14-Dec-01 7:24
James T. Johnson14-Dec-01 7:24 
GeneralByte array comparision Pin
11-Dec-01 2:40
suss11-Dec-01 2:40 
GeneralCalling method with SAFEARRAY(VARIANT) argument Pin
tcleveland10-Dec-01 7:27
tcleveland10-Dec-01 7:27 
GeneralExtract a frame from a video file Pin
slinger10-Dec-01 5:22
slinger10-Dec-01 5:22 
QuestionScriplet and C# in asp.net, No integration??? Pin
ng ks9-Dec-01 23:07
ng ks9-Dec-01 23:07 
QuestionSplitter control bug?? Pin
9-Dec-01 20:29
suss9-Dec-01 20:29 
AnswerRe: Splitter control bug?? Pin
Neill Jordan10-Dec-01 7:06
Neill Jordan10-Dec-01 7:06 
AnswerRe: Splitter control bug?? Pin
peterchen10-Dec-01 7:16
peterchen10-Dec-01 7:16 
GeneralC#-based Java bytecode parser released under GPL. Pin
8-Dec-01 15:12
suss8-Dec-01 15:12 
GeneralCalling external apps from c# Pin
7-Dec-01 5:22
suss7-Dec-01 5:22 
GeneralRe: Calling external apps from c# Pin
Erik Thompson7-Dec-01 12:27
sitebuilderErik Thompson7-Dec-01 12:27 
QuestionConnecting to proxy server using socks4 or 5? Pin
fadi7-Dec-01 4:50
fadi7-Dec-01 4:50 
GeneralDockable window Pin
Hoang30-Nov-01 17:05
Hoang30-Nov-01 17:05 
GeneralRe: Dockable window Pin
Neill Jordan6-Dec-01 6:32
Neill Jordan6-Dec-01 6:32 

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.