SetProcessMessagesCAD

  Functions >

SetProcessMessagesCAD

Previous pageReturn to chapter overviewNext page

The SetProcessMessagesCAD function prohibits or permits checking of the message queue for posted messages, and retrieving the messages (if any exist) while computationally intensive (slow) operations such as loading, storing or transforming image data are being performed.

 

Syntax:

 

int SetProcessMessagesCAD(

  HANDLE hObject,

  int mode

);

 

 

Parameters:

 

hObject

Identifies the CADImage object handle

mode

If the mode is equal to 1, then checking of the message queue is permitted.

If the mode is equal to 0, then checking of the message queue is prohibited.

 

 

Return Value:

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.

 

 

See Also

CADCreate  | CADSetProcessMessages


© 2003-2024 CADSoftTools

Go to CAD DLL