XL: Cannot Generate Static Custom Dialog Boxes

Last reviewed: February 19, 1998
Article ID: Q105413

The information in this article applies to:

  • Microsoft Excel for Windows, versions 5.0, 5.0c
  • Microsoft Excel for Windows 95, version 7.0
  • Microsoft Excel for the Macintosh, versions 5.0, 5.0a
  • Microsoft Excel for Windows NT, version 5.0
  • Microsoft Excel 97 for Windows 95
  • Microsoft Excel 98 for the Macintosh

SUMMARY

In the versions of Microsoft Excel listed at the beginning of this article, it is not possible to generate a static, or unmovable, custom dialog box.

MORE INFORMATION

By design of the custom dialog box system in Microsoft Excel versions 5.0 and 7.0, it is not possible to generate a static dialog box. Therefore, you cannot prevent a user from moving a dialog box by dragging the box's title bar.

Additionally, you can use the DialogFrame.Left and DialogFrame.Top properties to change the position within a dialog sheet of a dialog frame. However, changing these properties does not affect the on-screen position of a custom dialog box when you show it by using the DialogSheets("Dialog1").Show method.


Additional query words: 5.00 5.00c 7.00 immobile nonmoveable
Keywords : kbtlc kbusage
Version : 5.00 7.00 | 5.00
Platform : MACINTOSH WINDOWS


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: February 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.