Objective Grid: Preventing text display at the bottom of the screen

Article ID: 387
Last updated: 27 Apr, 2018
Article ID: 387
Last updated: 27 Apr, 2018
Revision: 3
Views: 1568
Posted: 10 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem

 


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?

 

 


Cause

 


 

 


Action

 


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( ). ... );

...

This article was:   Helpful | Not helpful
Report an issue
Article ID: 387
Last updated: 27 Apr, 2018
Revision: 3
Views: 1568
Posted: 10 Jan, 2001 by Meltreger B.
Updated: 27 Apr, 2018 by Meltreger B.

Others in this category