Frame-Control Identifiers

A frame window uses a set of standard constants to identify the frame controls and the client window. The frame-control identifiers all begin with the prefix FID_ and can be used in functions such as WinWindowFromID to uniquely identify a given control or the client window. The frame controls also use these identifiers in notification messages sent to the frame window. The following table describes the frame-control identifiers:

┌───────────────┬─────────────────────────────────────────────┐
│Identifier     │Description                                  │
├───────────────┼─────────────────────────────────────────────┤
│FID_CLIENT     │Identifies a client window.                  │
├───────────────┼─────────────────────────────────────────────┤
│FID_HORZSCROLL │Identifies a horizontal scroll bar.          │
├───────────────┼─────────────────────────────────────────────┤
│FID_MENU       │Identifies a menu.                           │
├───────────────┼─────────────────────────────────────────────┤
│FID_MINMAX     │Identifies the minimize and maximize (       │
│               │window-sizing) buttons.                      │
├───────────────┼─────────────────────────────────────────────┤
│FID_SYSMENU    │Identifies a system menu.                    │
├───────────────┼─────────────────────────────────────────────┤
│FID_TITLEBAR   │Identifies a title bar.                      │
├───────────────┼─────────────────────────────────────────────┤
│FID_VERTSCROLL │Identifies a vertical scroll bar.            │
└───────────────┴─────────────────────────────────────────────┘


[Back: Additional Frame-Window Items]
[Next: Frame-Window Creation]