|
-
Jul 10th, 2008, 09:18 PM
#1
lockwindowUpdate equivalent?
Is there a way in .NET 2.0 to disable the control's UI updates, kind of like the LockWindowUpdate API?
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!!
-
Jul 12th, 2008, 11:26 AM
#2
Hyperactive Member
Re: lockwindowUpdate equivalent?
Are you talking about btn.enable = false or do you want to lock the entire form?
P.S. I'm not sure that i understand your question.
-
Jul 12th, 2008, 12:31 PM
#3
Re: lockwindowUpdate equivalent?
Just use the LockWindowUpdate API function. That function (or anything like it) would be OS-specific anyway so it's likely that there is no simple .net counterpart.
What's stopping you using it?
However some (though not many) controls (like listviews and similar) have methods called "BeginUpdate" and "EndUpdate" which accomplish the same thing.
I don't live here any more.
-
Jul 15th, 2008, 12:19 PM
#4
Re: lockwindowUpdate equivalent?
aah okay
well I'm populating a list... was there an easy way to do this? maybe create the collection first and then add it to list ?
I find it inefficient to add items one by one ... and Ihavent used .NET in ages so i cant remember anything
I'll try the beginUpdate method, thanks!
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!!
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
|