|
-
May 12th, 2004, 11:57 AM
#1
SuspenLayout and ResumeLayout?
what do those functions exactly do? do they kinda suspend the update of control events and stuff?
I'm adding a whole bunch of controls dynamically and I'm wondering if I should call SuspendLayout before adding the controls.
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
May 12th, 2004, 12:20 PM
#2
From "Professional VB.NET" - Wrox Press
SuspendLayout "stops the layout engine of the form from working." P 64
ResumeLayout "turns the layout logic of the form back on." P65
-----------------------
As for needing to do it when adding controls dynamically, I can't find it used in any book other than in the form code where the form is initially created, so I don't think it's necessary.
TG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|