Objective Grid: Modifying status bar text during lengthy grid operations

Article ID: 571
Last updated: 11 Apr, 2018
Article ID: 571
Last updated: 11 Apr, 2018
Revision: 3
Views: 1748
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 11 Apr, 2018
by Meltreger B.

Problem


How can I avoid or modify status bar changes when grid performs a lengthy operation?


Cause



Action


There are two options:

  1. You can turn off long-operation processing by setting
    CGXLongOperation::SetTicksFirstTime(LONG_MAX);

    No status bar messages will be displayed at all any more. However, the user will also not be able to cancel long operations by pressing [Esc] any more.

  2. Another solution is to subclass CMainFrame. Handle the WM_SETMESSAGESTRING message. This message is responsible for changing the status text in the status bar. You could for example scan for a percentage value in the string and apply this setting to a percentage bar.
  3. We will try to provide more options to change this behavior in future grid versions.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 571
Last updated: 11 Apr, 2018
Revision: 3
Views: 1748
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 11 Apr, 2018 by Meltreger B.

Others in this category