Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.73 KB

win32-predefined-symbols.md

File metadata and controls

37 lines (31 loc) · 1.73 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Win32 Predefined Symbols
Win32 Predefined Symbols
02/14/2019
Win32 [C++], predefined symbols
symbols [C++], Win32 predefined
Windows API [C++], predefined symbols
45c8e193-ee2a-4024-bfc2-34d1ec9c9239

Win32 Predefined Symbols

These symbols are defined in the Win32 header files and they support standard Windows application functions and actions. These symbols are mainly used with common UI elements. When you are working with controls in the resource editors, these symbols will appear in the Properties window associated with common controls. For instance, if your toolbar should display the application icon, the icon will be associated with the symbol IDI_SMALL in the Property window.

Name Description
IDABORT (control) Dialog box, Abort button
IDC_STATIC (control) Static text in a dialog box
IDCANCEL (control) Dialog box, Cancel button
IDD_ABOUTBOX (dialog) Product About dialog box
IDI_PROJECTNAME (icon) Current project icon
IDI_SMALL (icon) Current project small icon
IDIGNORE (control) Used with Ignore button on dialogs
IDM_ABOUT (menu item) Used with Help...About...
IDM_EXIT (menu item) Used with File...Exit...
IDNO (control) Dialog box, No button
IDOK (control) Dialog box, OK button
IDRETRY (control) Dialog box, Retry button
IDS_APP_TITLE (string) Current application name
IDYES (control) Dialog box, Yes button

Requirements

Win32

See also

Predefined Symbol IDs
MFC Predefined Symbols
ATL Predefined Symbols