|
-
Apr 13th, 2005, 11:24 PM
#1
Thread Starter
Hyperactive Member
Threading Question...
When you click a button or menu option on your main application, does it run on the same MAIN application UI thread? Or does it spawn a new thread?
Or does it invoke the call on the UI thread, and if so is it a blocked or unblocked invoked call?
Hinder
-
Apr 14th, 2005, 12:12 AM
#2
Re: Threading Question...
 Originally Posted by Hinder
When you click a button or menu option on your main application, does it run on the same MAIN application UI thread? Or does it spawn a new thread?
Or does it invoke the call on the UI thread, and if so is it a blocked or unblocked invoked call?
Hinder
it'd make sense that it'd run on the same MAIN thread
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!!
-
Apr 14th, 2005, 12:50 AM
#3
Re: Threading Question...
Everything you do unless explicitly coded to do otherwise runs in the Form's UI thread.
Which is why if you do a large loop and take the focus away from the form, look at something else and come back to it, it's just white until it finishes the loop and you can't click a stop button.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
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
|