Skip to content

Latest commit

 

History

History
57 lines (50 loc) · 2.52 KB

File metadata and controls

57 lines (50 loc) · 2.52 KB
title Default Control Events | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-windows
ms.topic conceptual
dev_langs
C++
helpviewer_keywords
Dialog Editor [C++], default control events
controls [C++], default control events
events [C++], controls
dialog box controls [C++], events
ms.assetid 75556b23-18f5-4390-97a4-2ecad3309741
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

Default Control Events

The following control names have the accompanying default events:

Control name Default event
Animate ACN_START
Check box BN_CLICKED
Combo box CBN_SELCHANGE
Custom TTN_GETDISPINFO
Date time picker DTN_DATETIMECHANGE
Edit box EN_CHANGE
Group Box (Not applicable)
Hot key NM_OUTOFMEMORY
IP address IPN_FIELDCHANGED
List LVN_ITEMCHANGE
List box LBN_SELCHANGE
Month calendar MCN_SELCHANGE
Picture Control (Not applicable)
Progress NM_CUSTOMDRAW
Push button BN_CLICKED
Radio button BN_CLICKED
Rich edit EN_CHANGE
Scroll bar NM_THEMECHANGED
Slider NM_CUSTOMDRAW
Spin UDN_DELTAPOS
Static Text (Not applicable)
Tab TCN_SELCHANGE
Tree TVN_SELCHANGE

For information on adding resources to managed projects, please see Resources in Desktop Apps in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see Creating Resource Files for Desktop Apps. For information on globalization and localization of resources in managed apps, see Globalizing and Localizing .NET Framework Applications.

Requirements

Win32

See Also

Defining Member Variables for Dialog Controls
Message Types Associated with User-Interface Objects
Editing a Message Handler
Defining a Message Handler for a Reflected Message
Declaring a Variable Based on Your New Control Class
Overriding a Virtual Function