CBaseControlWindow Class Reference

#include <winctrl.h>

Inheritance diagram for CBaseControlWindow:

CBaseVideoWindow CBaseWindow CUnknown CBaseObject

List of all members.

Public Member Functions

HRESULT DoSetWindowStyle (long Style, long WindowLong)
HRESULT DoGetWindowStyle (long *pStyle, long WindowLong)
BOOL IsAutoShowEnabled ()
COLORREF GetBorderColour ()
HWND GetOwnerWindow ()
BOOL IsCursorHidden ()
BOOL PossiblyEatMessage (UINT uMsg, WPARAM wParam, LPARAM lParam)
void SetControlWindowPin (CBasePin *pPin)
 CBaseControlWindow (CBaseFilter *pFilter, CCritSec *pInterfaceLock, TCHAR *pName, LPUNKNOWN pUnk, HRESULT *phr)
STDMETHODIMP put_Caption (BSTR strCaption)
STDMETHODIMP get_Caption (BSTR *pstrCaption)
STDMETHODIMP put_AutoShow (long AutoShow)
STDMETHODIMP get_AutoShow (long *AutoShow)
STDMETHODIMP put_WindowStyle (long WindowStyle)
STDMETHODIMP get_WindowStyle (long *pWindowStyle)
STDMETHODIMP put_WindowStyleEx (long WindowStyleEx)
STDMETHODIMP get_WindowStyleEx (long *pWindowStyleEx)
STDMETHODIMP put_WindowState (long WindowState)
STDMETHODIMP get_WindowState (long *pWindowState)
STDMETHODIMP put_BackgroundPalette (long BackgroundPalette)
STDMETHODIMP get_BackgroundPalette (long *pBackgroundPalette)
STDMETHODIMP put_Visible (long Visible)
STDMETHODIMP get_Visible (long *pVisible)
STDMETHODIMP put_Left (long Left)
STDMETHODIMP get_Left (long *pLeft)
STDMETHODIMP put_Width (long Width)
STDMETHODIMP get_Width (long *pWidth)
STDMETHODIMP put_Top (long Top)
STDMETHODIMP get_Top (long *pTop)
STDMETHODIMP put_Height (long Height)
STDMETHODIMP get_Height (long *pHeight)
STDMETHODIMP put_Owner (OAHWND Owner)
STDMETHODIMP get_Owner (OAHWND *Owner)
STDMETHODIMP put_MessageDrain (OAHWND Drain)
STDMETHODIMP get_MessageDrain (OAHWND *Drain)
STDMETHODIMP get_BorderColor (long *Color)
STDMETHODIMP put_BorderColor (long Color)
STDMETHODIMP get_FullScreenMode (long *FullScreenMode)
STDMETHODIMP put_FullScreenMode (long FullScreenMode)
STDMETHODIMP SetWindowForeground (long Focus)
STDMETHODIMP NotifyOwnerMessage (OAHWND hwnd, long uMsg, LONG_PTR wParam, LONG_PTR lParam)
STDMETHODIMP GetMinIdealImageSize (long *pWidth, long *pHeight)
STDMETHODIMP GetMaxIdealImageSize (long *pWidth, long *pHeight)
STDMETHODIMP SetWindowPosition (long Left, long Top, long Width, long Height)
STDMETHODIMP GetWindowPosition (long *pLeft, long *pTop, long *pWidth, long *pHeight)
STDMETHODIMP GetRestorePosition (long *pLeft, long *pTop, long *pWidth, long *pHeight)
STDMETHODIMP HideCursor (long HideCursor)
STDMETHODIMP IsCursorHidden (long *CursorHidden)

Protected Attributes

CBaseFilterm_pFilter
CBasePinm_pPin
CCritSecm_pInterfaceLock
COLORREF m_BorderColour
BOOL m_bAutoShow
HWND m_hwndOwner
HWND m_hwndDrain
BOOL m_bCursorHidden


Detailed Description

Definition at line 14 of file winctrl.h.


Constructor & Destructor Documentation

CBaseControlWindow::CBaseControlWindow ( CBaseFilter pFilter,
CCritSec pInterfaceLock,
TCHAR pName,
LPUNKNOWN  pUnk,
HRESULT *  phr 
)

Definition at line 64 of file winctrl.cpp.

References ASSERT, m_BorderColour, m_pFilter, m_pInterfaceLock, and VIDEO_COLOUR.


Member Function Documentation

HRESULT CBaseControlWindow::DoSetWindowStyle ( long  Style,
long  WindowLong 
)

Definition at line 173 of file winctrl.cpp.

References BOOL, EXECUTE_ASSERT, HEIGHT, LPPOINT, CBaseWindow::m_hwnd, TRUE, and WIDTH.

Referenced by put_WindowStyle(), and put_WindowStyleEx().

HRESULT CBaseControlWindow::DoGetWindowStyle ( long *  pStyle,
long  WindowLong 
)

Definition at line 231 of file winctrl.cpp.

References CBaseWindow::m_hwnd.

Referenced by get_WindowStyle(), and get_WindowStyleEx().

BOOL CBaseControlWindow::IsAutoShowEnabled (  )  [inline]

Definition at line 33 of file winctrl.h.

References m_bAutoShow.

COLORREF CBaseControlWindow::GetBorderColour (  )  [inline]

Definition at line 34 of file winctrl.h.

References m_BorderColour.

HWND CBaseControlWindow::GetOwnerWindow (  )  [inline]

Definition at line 35 of file winctrl.h.

References m_hwndOwner.

BOOL CBaseControlWindow::IsCursorHidden (  )  [inline]

Definition at line 36 of file winctrl.h.

References m_bCursorHidden.

BOOL CBaseControlWindow::PossiblyEatMessage ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [inline, virtual]

Reimplemented from CBaseWindow.

Definition at line 38 of file winctrl.h.

References m_hwndDrain, and PossiblyEatMessage().

void CBaseControlWindow::SetControlWindowPin ( CBasePin pPin  )  [inline]

Definition at line 49 of file winctrl.h.

References m_pPin.

STDMETHODIMP CBaseControlWindow::put_Caption ( BSTR  strCaption  ) 

Definition at line 86 of file winctrl.cpp.

References CAPTION, CheckConnected, CheckPointer, CP_ACP, CBaseWindow::m_hwnd, m_pPin, and NULL.

STDMETHODIMP CBaseControlWindow::get_Caption ( BSTR pstrCaption  ) 

Definition at line 101 of file winctrl.cpp.

References CAPTION, CheckConnected, CheckPointer, CP_ACP, CBaseWindow::m_hwnd, m_pPin, and WriteBSTR().

STDMETHODIMP CBaseControlWindow::put_AutoShow ( long  AutoShow  ) 

Definition at line 769 of file winctrl.cpp.

References CheckConnected, E_INVALIDARG, FALSE, m_bAutoShow, m_pPin, OAFALSE, OATRUE, and TRUE.

STDMETHODIMP CBaseControlWindow::get_AutoShow ( long *  AutoShow  ) 

Definition at line 785 of file winctrl.cpp.

References CheckConnected, CheckPointer, m_bAutoShow, m_pPin, OAFALSE, OATRUE, and TRUE.

STDMETHODIMP CBaseControlWindow::put_WindowStyle ( long  WindowStyle  ) 

Definition at line 148 of file winctrl.cpp.

References CheckConnected, DoSetWindowStyle(), E_INVALIDARG, and m_pPin.

STDMETHODIMP CBaseControlWindow::get_WindowStyle ( long *  pWindowStyle  ) 

Definition at line 166 of file winctrl.cpp.

References CheckConnected, CheckPointer, DoGetWindowStyle(), and m_pPin.

STDMETHODIMP CBaseControlWindow::put_WindowStyleEx ( long  WindowStyleEx  ) 

STDMETHODIMP CBaseControlWindow::get_WindowStyleEx ( long *  pWindowStyleEx  ) 

Definition at line 141 of file winctrl.cpp.

References CheckConnected, CheckPointer, DoGetWindowStyle(), and m_pPin.

STDMETHODIMP CBaseControlWindow::put_WindowState ( long  WindowState  ) 

Definition at line 237 of file winctrl.cpp.

References CheckConnected, CBaseWindow::DoShowWindow(), and m_pPin.

STDMETHODIMP CBaseControlWindow::get_WindowState ( long *  pWindowState  ) 

Definition at line 244 of file winctrl.cpp.

References ASSERT, CheckConnected, CheckPointer, FALSE, CBaseWindow::m_hwnd, m_pPin, and TRUE.

STDMETHODIMP CBaseControlWindow::put_BackgroundPalette ( long  BackgroundPalette  ) 

STDMETHODIMP CBaseControlWindow::get_BackgroundPalette ( long *  pBackgroundPalette  ) 

STDMETHODIMP CBaseControlWindow::put_Visible ( long  Visible  ) 

Definition at line 313 of file winctrl.cpp.

References CheckConnected, CBaseWindow::DoShowWindow(), E_INVALIDARG, m_pPin, OAFALSE, and OATRUE.

STDMETHODIMP CBaseControlWindow::get_Visible ( long *  pVisible  ) 

Definition at line 332 of file winctrl.cpp.

References BOOL, CheckConnected, CheckPointer, CBaseWindow::m_hwnd, m_pPin, OAFALSE, OATRUE, and TRUE.

STDMETHODIMP CBaseControlWindow::put_Left ( long  Left  ) 

STDMETHODIMP CBaseControlWindow::get_Left ( long *  pLeft  ) 

Definition at line 382 of file winctrl.cpp.

References CheckConnected, CheckPointer, EXECUTE_ASSERT, CBaseWindow::m_hwnd, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_Width ( long  Width  ) 

STDMETHODIMP CBaseControlWindow::get_Width ( long *  pWidth  ) 

Definition at line 431 of file winctrl.cpp.

References CheckConnected, CheckPointer, EXECUTE_ASSERT, CBaseWindow::m_hwnd, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_Top ( long  Top  ) 

STDMETHODIMP CBaseControlWindow::get_Top ( long *  pTop  ) 

Definition at line 478 of file winctrl.cpp.

References CheckConnected, CheckPointer, EXECUTE_ASSERT, CBaseWindow::m_hwnd, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_Height ( long  Height  ) 

STDMETHODIMP CBaseControlWindow::get_Height ( long *  pHeight  ) 

Definition at line 523 of file winctrl.cpp.

References CheckConnected, CheckPointer, EXECUTE_ASSERT, CBaseWindow::m_hwnd, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_Owner ( OAHWND  Owner  ) 

STDMETHODIMP CBaseControlWindow::get_Owner ( OAHWND *  Owner  ) 

Definition at line 562 of file winctrl.cpp.

References CheckConnected, CheckPointer, m_hwndOwner, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_MessageDrain ( OAHWND  Drain  ) 

Definition at line 570 of file winctrl.cpp.

References CheckConnected, m_hwndDrain, and m_pPin.

STDMETHODIMP CBaseControlWindow::get_MessageDrain ( OAHWND *  Drain  ) 

Definition at line 579 of file winctrl.cpp.

References CheckConnected, CheckPointer, m_hwndDrain, and m_pPin.

STDMETHODIMP CBaseControlWindow::get_BorderColor ( long *  Color  ) 

Definition at line 738 of file winctrl.cpp.

References CheckConnected, CheckPointer, m_BorderColour, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_BorderColor ( long  Color  ) 

Definition at line 746 of file winctrl.cpp.

References CheckConnected, COLORREF, m_BorderColour, m_pPin, CBaseWindow::PaintWindow(), and TRUE.

STDMETHODIMP CBaseControlWindow::get_FullScreenMode ( long *  FullScreenMode  ) 

Definition at line 757 of file winctrl.cpp.

References CheckConnected, CheckPointer, and m_pPin.

STDMETHODIMP CBaseControlWindow::put_FullScreenMode ( long  FullScreenMode  ) 

Definition at line 764 of file winctrl.cpp.

STDMETHODIMP CBaseControlWindow::SetWindowForeground ( long  Focus  ) 

STDMETHODIMP CBaseControlWindow::NotifyOwnerMessage ( OAHWND  hwnd,
long  uMsg,
LONG_PTR  wParam,
LONG_PTR  lParam 
)

Definition at line 588 of file winctrl.cpp.

References CheckConnected, CBaseWindow::m_hwnd, m_hwndOwner, m_pPin, and NULL.

STDMETHODIMP CBaseControlWindow::GetMinIdealImageSize ( long *  pWidth,
long *  pHeight 
)

STDMETHODIMP CBaseControlWindow::GetMaxIdealImageSize ( long *  pWidth,
long *  pHeight 
)

STDMETHODIMP CBaseControlWindow::SetWindowPosition ( long  Left,
long  Top,
long  Width,
long  Height 
)

STDMETHODIMP CBaseControlWindow::GetWindowPosition ( long *  pLeft,
long *  pTop,
long *  pWidth,
long *  pHeight 
)

Definition at line 673 of file winctrl.cpp.

References CheckConnected, CheckPointer, EXECUTE_ASSERT, CBaseWindow::m_hwnd, and m_pPin.

STDMETHODIMP CBaseControlWindow::GetRestorePosition ( long *  pLeft,
long *  pTop,
long *  pWidth,
long *  pHeight 
)

Definition at line 699 of file winctrl.cpp.

References CheckConnected, CheckPointer, EXECUTE_ASSERT, FALSE, CBaseWindow::m_hwnd, m_pPin, NULL, and TRUE.

STDMETHODIMP CBaseControlWindow::HideCursor ( long  HideCursor  ) 

Definition at line 836 of file winctrl.cpp.

References CheckConnected, E_INVALIDARG, FALSE, m_bCursorHidden, m_pPin, OAFALSE, OATRUE, and TRUE.

STDMETHODIMP CBaseControlWindow::IsCursorHidden ( long *  CursorHidden  ) 

Definition at line 852 of file winctrl.cpp.

References CheckConnected, CheckPointer, m_bCursorHidden, m_pPin, OAFALSE, OATRUE, and TRUE.


Member Data Documentation

Definition at line 18 of file winctrl.h.

Referenced by CBaseControlWindow(), GetMaxIdealImageSize(), and GetMinIdealImageSize().

Definition at line 20 of file winctrl.h.

Referenced by CBaseControlWindow().

Definition at line 21 of file winctrl.h.

Referenced by CBaseControlWindow(), get_BorderColor(), GetBorderColour(), and put_BorderColor().

Definition at line 22 of file winctrl.h.

Referenced by get_AutoShow(), IsAutoShowEnabled(), and put_AutoShow().

Definition at line 23 of file winctrl.h.

Referenced by get_Owner(), GetOwnerWindow(), NotifyOwnerMessage(), and put_Owner().

Definition at line 24 of file winctrl.h.

Referenced by get_MessageDrain(), PossiblyEatMessage(), and put_MessageDrain().

Definition at line 25 of file winctrl.h.

Referenced by HideCursor(), and IsCursorHidden().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:34 2008 by  doxygen 1.5.6