请输入您要查询的百科知识:

 

词条 onlbuttondown
释义

CWnd::OnLButtonDown

afx_msg void OnLButtonDown( UINT nFlags, CPoint point );

nFlags

Indicates whether various virtual keys are down. This parameter can be any combination of the following values:

MK_CONTROL Set if the CTRL key is down.

MK_LBUTTON Set if the left mouse button is down.

MK_MBUTTON Set if the middle mouse button is down.

MK_RBUTTON Set if the right mouse button is down.

MK_SHIFT Set if the SHIFT key is down.

point

Specifies the x- and y-coordinate of the cursor. These coordinates are always relative to the upper-left corner of the window.

nFlags

指示是否各种虚拟键也减少了。这个参数可以是任何以下值的组合:

MK_CONTROL 如果Ctrl键按下时设置这个标志。

MK_LBUTTON 如果鼠标左键按下时设置这个标志。

MK_MBUTTON 如果鼠标中键按下时设置这个标志。

MK_RBUTTON 如果鼠标右键按下时设置这个标志。

MK_SHIFT 如果Shift键按下时设置这个标志。

point

指定x和y坐标的光标。这些坐标总是相对于窗口的左上角。

该成员函数由框架调用,让您的应用程序处理一个Windows消息。参数传递给函数时,反映收到的消息框架收到的参数。如果调用此函数的基类的实现,该实现将使用原来的消息,而不是您提供的参数传递给函数的参数。

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/15 14:44:19