How can I stop status text from being displayed at the bottom of the screen? For example, the text being displayed when I change the style for a range of cells?
The text is only displayed if the style-operation takes longer than a specific amount of time (e.g. 1.5 seconds). You can increase the time with
CGXLongOperation::SetTicksFirstTime(5000); // milliseconds
- OR -
// completely disables long operation for all commands CGXLongOperation::SetTicksFirstTime(LONG_MAX);
- OR -
you could disable updating the status bar for specific operations by calling CGXLongOperation::SetLockedState( ) as follows:
// construct an operation object
CGXLongOperation theOp;
// disable aborting the operation for following commands
theOp.SetCanAbort(FALSE);
// disable updating status bar for following commands
theOp.SetLockedState(TRUE);
// Now, process commands
SetStyleRange(CGXRange(1,1,100,100), CGXStyle( ). ... );
...