PRB: Selecting Overlapping Controls in Dialog EditorLast reviewed: November 2, 1995Article ID: Q90384 |
The information in this article applies to:
SYMPTOMSCreate a dialog box using the Dialog Editor. Place a button onto the dialog box. Create a frame and place it so that it encompasses the button. It is not possible to select that button with the mouse. However, if the frame is created before the button and then moved or placed over the button, then it is possible to select either the frame or the button.
CAUSEThis behavior is by design. When controls are overlapped, the control that is selected when the mouse is clicked is the one that comes last in Z-order. As a special case, it is possible to select a control placed "underneath" a group box.
RESOLUTIONFrom the Arrange menu, choose Order/Group. This will bring up a dialog box. Change the Z-order of the button to be after that of the frame. The Z-order may also be changed by manually editing the resource file. The controls that are further down in the file will be "on top." NOTE: If the frame is selected and is on top of the button, pressing SHIFT+TAB selects the previous control, which will be the button. This does not allow the position of the control to be changed with the mouse; however, it does allow the text and size to be changed.
|
Additional reference words: 3.10 3.50 4.00 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |