Compartir a través de


CAtlPreviewCtrlImpl::OnPaint

Handles the WM_PAINT message.

LRESULT OnPaint(
   UINT nMsg,
   WPARAM wParam,
   LPARAM lParam,
   BOOL& bHandled
);

Parameters

  • nMsg
    Set to WM_PAINT.

  • wParam
    This parameter is not used.

  • lParam
    This parameter is not used.

  • bHandled
    When this function returns, it contains TRUE.

Return Value

Always returns 0.

Requirements

Header: atlpreviewctrlimpl.h

See Also

Reference

CAtlPreviewCtrlImpl Class