The CListCtrl class wraps the Win32 ListView control. That control communicates with its parent (your dialog) via WM_NOTIFY messages.
So you can process WM_NOTIFY messages from your list control in your dialog class. Use the Properties window to create an OnChildNotify handler function and write a switch statement that handles the notification message(s) of interest.
The possible notification messages are listed here in the Windows SDK documentation.
The
CListCtrl
class wraps the Win32 ListView control. That control communicates with its parent (your dialog) viaWM_NOTIFY
messages.So you can process
WM_NOTIFY
messages from your list control in your dialog class. Use the Properties window to create anOnChildNotify
handler function and write aswitch
statement that handles the notification message(s) of interest.The possible notification messages are listed here in the Windows SDK documentation.