COleControl::OnWindowlessMessage

This member function is called by the framework in response to a container's IOleInPlaceObjectWindowless::OnWindowMessage request. Processes window messages for windowless controls. OnWindowlessMessage should be used for window messages other than mouse messages and keyboard messages. COleControl provides SetCapture and SetFocus specifically to get mouse capture and keyboard focus for windowless ActiveX objects.

Syntax

virtual BOOL OnWindowlessMessage( UINT msg, WPARAM wParam, LPARAM lParam, LRESULT* plResult );

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, COleControl::SetCapture, COleControl::SetFocus