Share via


CStockPropImpl::get_Window

Call this method to get the window handle associated with the control. Identical to CStockPropImpl::get_HWND.

HRESULT STDMETHODCALLTYPE get_Window( 
   LONG_PTR* phWnd  
);

Parameters

  • phWnd
    The window handle associated with the control.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::put_Window