Notify
code.
The container control uses the following notification codes. For the complete
description of the specified notifycode, see Container
Control Notification Codes.
CN_BEGINEDIT
Container text is about to be edited.
CN_COLLAPSETREE
A parent
item was collapsed in the tree view.
CN_CONTEXTMENU
The container received a WM_CONTEXTMENU message.
CN_DRAGAFTER
The container
received a DM_DRAGOVER message. The
CN_DRAGAFTER notification code is sent only if either the CA_ORDEREDTARGETEMPH
or CA_MIXEDTARGETEMPH attribute of the CNRINFO
data structure is set and the current view is the name, text, or details
view.
CN_DRAGLEAVE
CN_DRAGOVER
The container
received a DM_DRAGOVER message. The
CN_DRAGOVER notification code is sent only if the CA_ORDEREDTARGETEMPH attribute
of the CNRINFO data structure
is not set or the current view is the icon view or tree view.
CN_DROP
The container received a DM_DROP
message.
CN_DROPNOTIFY
CN_DROPHELP
CN_EMPHASIS
A container
record's attributes changed.
CN_ENDEDIT
Direct
editing of container text has ended.
CN_ENTER
The
Enter key is pressed while the container window has the focus, or the select
button is double-clicked while the pointer is over the container window.
CN_EXPANDTREE
A parent
item is expanded in the tree view.
CN_GRIDRESIZED
The grid was resized. This means there are more
or fewer squares than previously, and all the squares are now marked CM_AVAIL.
CN_HELP
The container
received a WM_HELP message.
CN_INITDRAG
The drag button was pressed and the pointer was
moved while the pointer was over the container control.
CN_KILLFOCUS
The container is losing the focus.
CN_PICKUP
CN_QUERYDELTA
Queries
for more data when a user scrolls to a preset delta value.
CN_REALLOCPSZ
Container text is edited. This message is sent
before the CN_ENDEDIT notification code is sent.
CN_SCROLL
The container window scrolled.
CN_SETFOCUS
The container is receiving the focus.
[Back]
[Next]