INFO: Overlapping Controls Are Not Supported by WindowsID: Q79981
|
Child window controls should not be overlapped in applications for the Windows operating system. When one control overlaps another control, or another child window, the borders shared by the controls may not be drawn properly. Overlapping controls may confuse the user of the application because clicking the mouse in the common area may not activate the control that the user intended to activate. This behavior is a consequence of the way that Windows is designed.
The following example illustrates the painting problems caused by the
ambiguity of overlapping borders. Consider three edit controls, called
A, B and C, which overlap each other, and an enclosing child window D:
____________________________________________
| | A | B | C | |
| ---------------------------------------- |
| D |
--------------------------------------------
_______________ ________________
| | A | B | C | |
| ---------------------------------------- |
| D |
--------------------------------------------
Keywords : kbCtrl kbDlg kbNTOS kbGrpUser kbWinOS kbWndw kbWndwProp
Version :
Platform :
Issue type : kbinfo
Last Reviewed: March 7, 1999