Best Use Of Events

GDT

New member
Joined
Oct 5, 2006
Messages
1
Im a former C++ programmer, and Im not used to events (unless they existed in C++ and I didnt know, in which case I never used them). Anyways, in a DirectX program, their seems to be two main objects that create events: the window (form) and the Direct3D device. Usually, you "Application.Run(theWindow)", and Ive been doing my Direct3D updating in the "Application.Idle" event. So, Im curious, how are all these events usually controlled by DirectX programs?
 
First do you know how events work? If not you can read this page.
DirectX has its own set of events that apps would hook into. DX fires the events and your app would respond to them.
 
Last edited by a moderator:
Back
Top