View Single Post
11-13-2007, 12:38 AM
#13
masfenix is offline masfenix
Status: Member
Join date: Mar 2006
Location: t.dot canaada
Expertise:
Software:
 
Posts: 182
iTrader: 1 / 100%
 

masfenix has a little shameless behaviour in the past

Send a message via AIM to masfenix

  Old

Originally Posted by Nightscream View Post
How do you end a while? because when i'm trying to use one I can't click on anything

is it possible to make a mouse click with frameworks or call an api?
Your while loop probably occurs in the UI thread. when your while loop is executing it takes hgihest priority in your program and as a result forbids you to work around it.

if you need to use a while loop and do some processing in the background, you need to create a new thread. I am at work right now, but i'll edit my post with an example of "Background Worker". MSDN it for more information.