What is the status bar in Windows?

What is the status bar in Windows?

Thank you. A status bar is a horizontal window at the bottom of a parent window in which an application can display various kinds of status information. The status bar can be divided into parts to display more than one type of information. The following screen shot shows the status bar in the Microsoft Windows Paint application.

What is the status bar in CCS?

The status bar is the area at the bottom of the window that contains Help text and coordinate information. This section includes the following topics. The default position of a status bar is along the bottom of the parent window, but you can specify the CCS_TOP style to have it appear at the top of the parent window’s client area.

How do I put a status bar in simple mode?

You put a status bar in “simple mode” by sending it an SB_SIMPLE message. A simple mode status bar displays only one part. When the text of the window is set, the window is invalidated, but it is not redrawn until the next WM_PAINT. Waiting for the message reduces screen flicker by minimizing the number of times the window is redrawn.

How do I retrieve the widths of the borders of status bars?

You retrieve the widths of the borders of a status bar by sending the window an SB_GETBORDERS message. The message includes the address of a three-element array that receives the widths. A status bar can have many different parts, each displaying a different line of text.

How do I use the status bar as a text control?

If your application uses a status bar that has only one part, you can use the WM_SETTEXT, WM_GETTEXT, and WM_GETTEXTLENGTH messages to perform text operations. These messages deal only with the part that has an index of zero, allowing you to treat the status bar much like a static text control.

What does the message line on the status bar display?

The message line on the status bar can display information about program status or about a toolbar button or menu item that the user is pointing to with the mouse. Create a status bar in your program by selecting the Initial Status Baroption in the MFC Application Wizard. What do you want to know more about