![]() | InDesign SDK 20.5 |
#include <AcquireModalDialogState.h>
Public Member Functions | |
| AcquireModalDialogState (int16 modalCursorType) | |
Public Attributes | |
| BaseAcquireModalCursor * | fModalCursor |
| SuppressExternalDragsDuringCriticalSection | fSuppressDrags |
Helper object used to acquire, manipulate, and release a modal dialog. On construction it deactivates palettes and acquires a modal cursor state, on destruction it reactivates palettes and releases the modal cursor state
This helper can be either stack or heap allocated depending on how far flung the two ends of the modality are. If it all happens within the body of a single function or single function call chain, then stack based is preferred. If the start and end are in separate functions, then heap based should be used.