TIvoryDraw::ExclusiveMode

Determines whether you're in exclusive mode.

__property bool ExclusiveMode;

Description

Use ExclusiveMode to determine or set exclusive mode. When ExclusiveMode is false, Ivory Draw never changes into DirectX mode. Instead, it remains in standard Windows mode so that you are able to debug your DirectX applicaion. This mode is called the debug mode. When ExclusiveMode is true, Ivory Draw will change into exclusive mode as soon as the Active property is set to true. In this case, your application uses the full screen exclusively. In exclusive mode, you cannot debug your application.

Needless to say, exclusive mode is a lot faster than the debug mode. The only advantage of debug mode is that you can debug your application. If you don't want to use the debugger, use exclusive mode instead.

Unfortunately, debug mode of Ivory Draw differs a bit from the exclusive mode. For instance, if you're using Windows in hi-color mode, debug mode also uses hi-color mode. In this case, you can't use a palette, so the colors will be completely messed up. The Flip method is also a bit different in debug mode. That's the price to be paied for debugging a DirectX application.

The default value for ExclusiveMode is false. You can change its value in the object inspector, or before setting Active to true. If Ivory Draw is activated, you can't change ExclusiveMode, unless you set Active to false before.

Back to TIvoryDraw