Carbon events (again)
ok, I've currently got this code :
the problem is that statementX(); will never be executed til QuitApplicationEventLoop(); has been executed; is there an easier way to overcome this, other than to place the main loop statements into an event handler and call it every frame based on a timer?
Code:
[...]
RunApplicationEventLoop();
// main loop starts here.
while(!quit)
{
statementX();
}
[...]the problem is that statementX(); will never be executed til QuitApplicationEventLoop(); has been executed; is there an easier way to overcome this, other than to place the main loop statements into an event handler and call it every frame based on a timer?
Mark Bishop
Nope.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| [For David, aarku] Carbon Events | OneSadCookie | 4 | 3,929 |
Mar 5, 2013 10:20 PM Last Post: SethWillits |
|
| Carbon events in windowed/full screen mode. Help needed. | Anton Petrov | 1 | 3,169 |
Dec 18, 2008 05:35 AM Last Post: DoG |
|
| Simulating "system idle" events in Carbon applications | ascotti | 4 | 2,926 |
May 2, 2006 03:22 PM Last Post: OneSadCookie |
|
| Carbon Key Events | Nickolei | 7 | 4,399 |
Nov 17, 2002 03:37 PM Last Post: codemattic |
|
| Carbon Keyboard Events | IBethune | 7 | 4,965 |
Oct 22, 2002 05:58 AM Last Post: IBethune |
|

