OlkContactPhoto MouseDown 事件(Outlook)OlkContactPhoto.MouseDown event (Outlook)

會在使用者於控制項上按下滑鼠按鈕時發生。Occurs when the user presses a mouse button on the control.


運算式MouseDown按鈕Shiftxyexpression.MouseDown (Button, Shift, x, y)

_運算式_代表OlkContactPhoto物件的變數。expression A variable that represents an OlkContactPhoto object.


名稱Name 必要/選用Required/Optional 資料類型Data type 描述Description
ButtonButton 必要Required IntegerInteger OlMouseButton 常數,指定滑鼠上的哪個按鈕已按下。An OlMouseButton constant that specifies which button on the mouse has been pressed.
ShiftShift 必要Required IntegerInteger OlShiftState 列舉中常數的位-OR 遮罩,會指定是否已按下SHIFTCTRLALT鍵。A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed.
XX 必要Required [OLE_XPOS_CONTAINER][OLE_XPOS_CONTAINER] 會識別相對於此表單之 X 軸上的滑鼠游標位置。Identifies the location of the mouse cursor on the X-axis relative to the form.
YY 必要Required [OLE_YPOS_CONTAINER][OLE_YPOS_CONTAINER] 會識別相對於此表單之 Y 軸上的滑鼠游標位置。Identifies the location of the mouse cursor on the Y-axis relative to the form.

另請參閱See also

OlkContactPhoto 物件OlkContactPhoto Object

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.