PRB: Cannot Change QuickWin Application Status Bar Color

Last reviewed: April 9, 1996
Article ID: Q149507
The information in this article applies to:
  • Microsoft FORTRAN PowerStation 32 for Windows NT, version 1.0
  • Microsoft Fortran PowerStation for Windows 95 and Windows NT, version 4.0

SYMPTOMS

You cannot change the status bar color in a QuickWin application.

STATUS

This behavior is by design.

MORE INFORMATION

In a Windows application, the status bar color is the same as the "Button Face" Screen Element color in the Control Panel. However, status bars in QuickWin applications are not true Windows status bars. Instead, they are their own window created by the Fortran QuickWin subsystem and not part of or controlled by Windows system services.

To illustrate this behavior, build a QuickWin application using the source code below. Next, change the status bar color by selecting the Colors applet in the Control Panel. From the Screen Element combo box, choose Button Face. Then select a new color from the palette, and click OK. Note that the status bars in all Windows applications assume the Button Face color except for QuickWin applications.

Sample Code

C Compile options needed: /MW

      print *, 'hello, world'
      end


Additional reference words: 1.00 4.00
KBCategory: kbprg kbprb
KBSubcategory: FORTLngIss



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 9, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.