Windows Dev Intro - Difference Between Button and Treeview Control

来源:互联网 发布:淘宝上卖假货怎么处理 编辑:程序博客网 时间:2024/06/07 03:20


There are one button and one treeview on one dialog.

The dialog window is the parent of button and treeview.


1. When click button

The dialog will receive WM_COMMAND message from button


2. When click treeview

The dialog will receive WM_NOTIFY message from treeview


3. Therefore, they need be processed on different message process branch.

0 0
原创粉丝点击