Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
AnswerRe: Drawing. Pin
Christian Graus12-Dec-08 19:25
protectorChristian Graus12-Dec-08 19:25 
GeneralRe: Drawing. Pin
viciouskinid12-Dec-08 19:50
viciouskinid12-Dec-08 19:50 
GeneralRe: Drawing. Pin
Lev Danielyan12-Dec-08 20:14
Lev Danielyan12-Dec-08 20:14 
GeneralRe: Drawing. Pin
Lev Danielyan13-Dec-08 8:51
Lev Danielyan13-Dec-08 8:51 
AnswerRe: Drawing. Pin
Dave Kreskowiak13-Dec-08 5:22
mveDave Kreskowiak13-Dec-08 5:22 
QuestionDBError Pin
picasso212-Dec-08 16:32
picasso212-Dec-08 16:32 
AnswerRe: DBError Pin
Garth J Lancaster12-Dec-08 16:43
professionalGarth J Lancaster12-Dec-08 16:43 
QuestionControl Size Pin
#realJSOP12-Dec-08 11:17
professional#realJSOP12-Dec-08 11:17 
I need to get the actual designed size of a user control *after* the control layout has been performed. I found it in the InnerMostActiveContainerControl.CreateParams property (by looking around with the debugger), but I can't get to it via code.

Can anyone tell me how to retrieve this info? Even google only has four or five referrences, and none of them give me any info.

Alternatively, here's what I'm trying to accomplish.

I have a Panel on a form that's only 200x200 pixels in size. The panel is anchored to all four sides of the form (no, docking isn't an option). Several user controls of differing sizes are layered (and fill docked via code) into the panel, and all of them are *larger* than the panel that contains them. After PerformLayout is called, I tried to account for the size of the user controls, and adjust the size of the form by the largest dimensions, and the form resizes as expected, but the anchored panel doesn't resize with the form.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Control Size Pin
Christian Graus12-Dec-08 11:43
protectorChristian Graus12-Dec-08 11:43 
GeneralRe: Control Size Pin
#realJSOP12-Dec-08 15:00
professional#realJSOP12-Dec-08 15:00 
GeneralRe: Control Size Pin
Christian Graus12-Dec-08 19:28
protectorChristian Graus12-Dec-08 19:28 
GeneralRe: Control Size Pin
#realJSOP13-Dec-08 0:25
professional#realJSOP13-Dec-08 0:25 
GeneralRe: Control Size Pin
#realJSOP13-Dec-08 5:17
professional#realJSOP13-Dec-08 5:17 
GeneralRe: Control Size Pin
#realJSOP14-Dec-08 1:51
professional#realJSOP14-Dec-08 1:51 
QuestionDictionary Performance Question Pin
Jammer12-Dec-08 10:11
Jammer12-Dec-08 10:11 
AnswerRe: Dictionary Performance Question Pin
PIEBALDconsult12-Dec-08 10:51
mvePIEBALDconsult12-Dec-08 10:51 
GeneralRe: Dictionary Performance Question Pin
Jammer12-Dec-08 11:23
Jammer12-Dec-08 11:23 
AnswerRe: Dictionary Performance Question Pin
Guffa12-Dec-08 11:04
Guffa12-Dec-08 11:04 
GeneralRe: Dictionary Performance Question Pin
Jammer12-Dec-08 11:23
Jammer12-Dec-08 11:23 
Questionformat disk [modified] Pin
LordZoster12-Dec-08 5:54
LordZoster12-Dec-08 5:54 
AnswerRe: format disk Pin
Giorgi Dalakishvili12-Dec-08 8:40
mentorGiorgi Dalakishvili12-Dec-08 8:40 
GeneralRe: format disk Pin
EliottA12-Dec-08 8:49
EliottA12-Dec-08 8:49 
GeneralRe: format disk Pin
LordZoster12-Dec-08 9:09
LordZoster12-Dec-08 9:09 
GeneralRe: format disk Pin
EliottA12-Dec-08 9:33
EliottA12-Dec-08 9:33 
GeneralRe: format disk Pin
Uwe Keim12-Dec-08 9:49
sitebuilderUwe Keim12-Dec-08 9:49 

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.