COpenGL::OnLButtonUp

virtual void OnLButtonUp( UINT nFlags, POINT* point );

Parameters

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.

Remarks

The application should pass WM_KEYDOWN events information from the object window to the COpenGL object by using the OnKeyDown method function. This allows appropriate COpenGL object actions according to the currently set COpenGL object’s interaction mode.

Example

class COglSampleView : public CView
{
  // specify operations or attributes as desired …

public:
  COpenGL     m_OpenGL;
  // specify operations or attributes as desired …
};

void COglSampleView::OnLButtonDown(UINT nFlags, CPoint point) 
{
  // COpenGL object LButton down event processing
  m_OpenGL.OnLButtonDown( nFlags, ( POINT *) & point );
}

See Also

OnKeyDown, OnKeyUp, OnLButtonDown, OnMouseMove