Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Fri Apr 20, 2007 4:38 pm Post subject: Index of Basic Function Calls |
|
|
#include <PMCore.h>
#include <PMApplication.h>
#include <PMDefinitions.h>
RunApplicationEventLoop() - Carbon Printing Manager Reference
Code: | void RunApplicationEventLoop (void); |
"Note that calling RunApplicationEventLoop also installs the standard
application handler, which provides standard handler responses for menu
and application events."
GetEventParameter() - Carbon Printing Manager Reference
Code: | OSStatus GetEventParameter (
EventRef inEvent,
EventParamName inName,
EventParamType inDesiredType,
EventParamType *outActualType,
UInt32 inBufferSize,
UInt32 *outActualSize,
void *outData
); |
"Obtains a parameter from the specified event. Events often contain
additional useful pieces of data, such as the location of a mouse-down
event or the window in which an event occurred."
GetEventKind() - Carbon Printing Manager Reference
Code: | UInt32 GetEventKind (EventRef inEvent); |
"Returns the event kind for the event. Event kind values overlap in different
event classes. For example, kEventMouseDown and kEventAppActivated
both have the same value (1). The combination of class and kind determines
a unique event signature."
GetEventClass() - Carbon Printing Manager Reference
Code: | UInt32 GetEventClass (EventRef inEvent); |
"Returns the class ID of an event (for example, window, mouse, or keyboard)." |
|