解决方案 »
- LibUIDK 是免费的MFC界面美化软件吗?
- 用C++编写记事本,一般有那几个类?不用VC等工具生成,只是用C++一点一点的编写
- 大家看看这个调试异常是说的啥
- 如何将u_int32类型转换为字符串的ip地址(如:192.165.5.50)?
- 我想知道目前国内用户用64位windows(vista/xp)的比例,不知道该怎么办,兄弟们给点意见。
- 紧急求助,关于一个应用程序里创建两个线程的问题!!!
- 新手新问题,请给高手帮一下忙,谢谢!在线等
- static AFX_DATA const AFX_MSGMAP messageMap,是什么意思?
- 初学者遇到的一个小问题:
- vc6 +dao 读 acess 数据库 ,调试通过,但编译运行出错
- 请问如何实现输入法中软键盘的功能?
- 一个关于从别的类中取成员变量地址的简单问题
Notifies a control's parent window that the user has clicked the left mouse button within the control. NM_CLICK is sent in the form of a WM_NOTIFY message. NM_CLICK
lpnmh = (LPNMHDR) lParam; Parameters
lpnmh
Address of an NMHDR structure that contains additional information about this notification message.
Return Values
The return value is ignored by the control. Requirements
Windows NT/2000: Requires Windows NT 3.51 or later
Windows 95/98/Me: Requires Windows 95 or later
Header: Declared in winuser.h.
Platform SDK: Windows User Interface
BM_CLICK
An application sends a BM_CLICK message to simulate the user clicking a button. This message causes the button to receive the WM_LBUTTONDOWN and WM_LBUTTONUP messages, and the button's parent window to receive a BN_CLICKED notification message.To send this message, call the SendMessage function with the following parameters. SendMessage(
(HWND) hWnd, // handle to destination window
BM_CLICK, // message to send
(WPARAM) wParam, // not used; must be zero
(LPARAM) lParam // not used; must be zero
);
Parameters
This message has no parameters. Return Values
This message does not return a value.Res
If the button is in a dialog box and the dialog box is not active, the BM_CLICK message might fail. To ensure success in this situation, call the SetActiveWindow function to activate the dialog box before sending the BM_CLICK message to the button.Requirements
Windows NT/2000/XP: Included in Windows NT 3.5 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Winuser.h; include Windows.h.