PostEvent with carbon

DerangedPEZ

Registered
hi!

according to apples developer documentation, PostEvent is supported in carbon apps, but it doesn't seem to have any effect when called while running os x. when i run the same app in classic it works perfectly... are os x native apps incapable of receiving "fake events" (ie events generated from PostEvent)?

thanks in advance,
derangedPEZ
 
I think MacOS X is not finding the 'target' of your event (a new Carbon Events concept), and is discarding it. In Carbon, there is a better call to post events, and it will work under OS 9, if I recall correctly. You just have to specify the target, which might be difficult to get the event target of another application.
 
Back
Top