AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CBaseControlWindow Class Reference

#include <winctrl.h>

Inheritance diagram for CBaseControlWindow:
[legend]
Collaboration diagram for CBaseControlWindow:
[legend]

Public Member Functions

HRESULT DoSetWindowStyle (long Style, long WindowLong)
 
HRESULT DoGetWindowStyle (__out 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 (__inout CBaseFilter *pFilter, __in CCritSec *pInterfaceLock, __in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr)
 
STDMETHODIMP put_Caption (__in BSTR strCaption)
 
STDMETHODIMP get_Caption (__out BSTR *pstrCaption)
 
STDMETHODIMP put_AutoShow (long AutoShow)
 
STDMETHODIMP get_AutoShow (__out long *AutoShow)
 
STDMETHODIMP put_WindowStyle (long WindowStyle)
 
STDMETHODIMP get_WindowStyle (__out long *pWindowStyle)
 
STDMETHODIMP put_WindowStyleEx (long WindowStyleEx)
 
STDMETHODIMP get_WindowStyleEx (__out long *pWindowStyleEx)
 
STDMETHODIMP put_WindowState (long WindowState)
 
STDMETHODIMP get_WindowState (__out long *pWindowState)
 
STDMETHODIMP put_BackgroundPalette (long BackgroundPalette)
 
STDMETHODIMP get_BackgroundPalette (__out long *pBackgroundPalette)
 
STDMETHODIMP put_Visible (long Visible)
 
STDMETHODIMP get_Visible (__out long *pVisible)
 
STDMETHODIMP put_Left (long Left)
 
STDMETHODIMP get_Left (__out long *pLeft)
 
STDMETHODIMP put_Width (long Width)
 
STDMETHODIMP get_Width (__out long *pWidth)
 
STDMETHODIMP put_Top (long Top)
 
STDMETHODIMP get_Top (__out long *pTop)
 
STDMETHODIMP put_Height (long Height)
 
STDMETHODIMP get_Height (__out long *pHeight)
 
STDMETHODIMP put_Owner (OAHWND Owner)
 
STDMETHODIMP get_Owner (__out OAHWND *Owner)
 
STDMETHODIMP put_MessageDrain (OAHWND Drain)
 
STDMETHODIMP get_MessageDrain (__out OAHWND *Drain)
 
STDMETHODIMP get_BorderColor (__out long *Color)
 
STDMETHODIMP put_BorderColor (long Color)
 
STDMETHODIMP get_FullScreenMode (__out 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 (__out long *pWidth, __out long *pHeight)
 
STDMETHODIMP GetMaxIdealImageSize (__out long *pWidth, __out long *pHeight)
 
STDMETHODIMP SetWindowPosition (long Left, long Top, long Width, long Height)
 
STDMETHODIMP GetWindowPosition (__out long *pLeft, __out long *pTop, __out long *pWidth, __out long *pHeight)
 
STDMETHODIMP GetRestorePosition (__out long *pLeft, __out long *pTop, __out long *pWidth, __out long *pHeight)
 
STDMETHODIMP HideCursor (long HideCursor)
 
STDMETHODIMP IsCursorHidden (__out long *CursorHidden)
 
- Public Member Functions inherited from CBaseVideoWindow
 CBaseVideoWindow (__in_opt LPCTSTR, __in_opt LPUNKNOWN)
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, __deref_out void **ppv)
 
STDMETHODIMP GetTypeInfoCount (__out UINT *pctinfo)
 
STDMETHODIMP GetTypeInfo (UINT itinfo, LCID lcid, __deref_out ITypeInfo **pptinfo)
 
STDMETHODIMP GetIDsOfNames (REFIID riid, __in_ecount(cNames) LPOLESTR *rgszNames, UINT cNames, LCID lcid, __out_ecount(cNames) DISPID *rgdispid)
 
STDMETHODIMP Invoke (DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, __in DISPPARAMS *pdispparams, __out_opt VARIANT *pvarResult, __out_opt EXCEPINFO *pexcepinfo, __out_opt UINT *puArgErr)
 
- Public Member Functions inherited from CUnknown
 CUnknown (__in_opt LPCTSTR pName, __in_opt LPUNKNOWN pUnk)
 
virtual ~CUnknown ()
 
 CUnknown (__in_opt LPCTSTR Name, __in_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr)
 
LPUNKNOWN GetOwner () const
 
STDMETHODIMP NonDelegatingQueryInterface (REFIID, __deref_out void **)
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
- Public Member Functions inherited from CBaseObject
 CBaseObject (__in_opt LPCTSTR pName)
 
 ~CBaseObject ()
 
- Public Member Functions inherited from CBaseWindow
 CBaseWindow (BOOL bDoGetDC=TRUE, bool bPostToDestroy=false)
 
virtual HRESULT DoneWithWindow ()
 
virtual HRESULT PrepareWindow ()
 
virtual HRESULT InactivateWindow ()
 
virtual HRESULT ActivateWindow ()
 
virtual BOOL OnSize (LONG Width, LONG Height)
 
virtual BOOL OnClose ()
 
virtual RECT GetDefaultRect ()
 
virtual HRESULT UninitialiseWindow ()
 
virtual HRESULT InitialiseWindow (HWND hwnd)
 
HRESULT CompleteConnect ()
 
HRESULT DoCreateWindow ()
 
HRESULT PerformanceAlignWindow ()
 
HRESULT DoShowWindow (LONG ShowCmd)
 
void PaintWindow (BOOL bErase)
 
void DoSetWindowForeground (BOOL bFocus)
 
virtual HRESULT SetPalette (HPALETTE hPalette)
 
void SetRealize (BOOL bRealize)
 
HRESULT SetPalette ()
 
void UnsetPalette (void)
 
virtual HRESULT DoRealisePalette (BOOL bForceBackground=FALSE)
 
void LockPaletteLock ()
 
void UnlockPaletteLock ()
 
bool WindowExists ()
 
LONG GetWindowWidth ()
 
LONG GetWindowHeight ()
 
HWND GetWindowHWND ()
 
HDC GetMemoryHDC ()
 
HDC GetWindowHDC ()
 
virtual LRESULT OnReceiveMessage (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
virtual LPTSTR GetClassWindowStyles (__out DWORD *pClassStyles, __out DWORD *pWindowStyles, __out DWORD *pWindowStylesEx) PURE
 

Protected Attributes

CBaseFilterm_pFilter
 
CBasePinm_pPin
 
CCritSecm_pInterfaceLock
 
COLORREF m_BorderColour
 
BOOL m_bAutoShow
 
HWND m_hwndOwner
 
HWND m_hwndDrain
 
BOOL m_bCursorHidden
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 
- Protected Attributes inherited from CBaseWindow
HINSTANCE m_hInstance
 
HWND m_hwnd
 
HDC m_hdc
 
LONG m_Width
 
LONG m_Height
 
BOOL m_bActivated
 
LPTSTR m_pClassName
 
DWORD m_ClassStyles
 
DWORD m_WindowStyles
 
DWORD m_WindowStylesEx
 
UINT m_ShowStageMessage
 
UINT m_ShowStageTop
 
UINT m_RealizePalette
 
HDC m_MemoryDC
 
HPALETTE m_hPalette
 
BYTE m_bNoRealize
 
BYTE m_bBackground
 
BYTE m_bRealizing
 
CCritSec m_WindowLock
 
BOOL m_bDoGetDC
 
bool m_bDoPostToDestroy
 
CCritSec m_PaletteLock
 

Additional Inherited Members

- Static Public Member Functions inherited from CBaseObject
static LONG ObjectsActive ()
 
- Protected Member Functions inherited from CBaseWindow
virtual LRESULT OnPaletteChange (HWND hwnd, UINT Message)
 

Detailed Description

Definition at line 20 of file winctrl.h.

Constructor & Destructor Documentation

◆ CBaseControlWindow()

CBaseControlWindow::CBaseControlWindow ( __inout CBaseFilter pFilter,
__in CCritSec pInterfaceLock,
__in_opt LPCTSTR  pName,
__inout_opt LPUNKNOWN  pUnk,
__inout HRESULT *  phr 
)

Definition at line 86 of file winctrl.cpp.

Member Function Documentation

◆ DoGetWindowStyle()

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

Definition at line 289 of file winctrl.cpp.

◆ DoSetWindowStyle()

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

Definition at line 228 of file winctrl.cpp.

◆ get_AutoShow()

STDMETHODIMP CBaseControlWindow::get_AutoShow ( __out long *  AutoShow)

Definition at line 992 of file winctrl.cpp.

◆ get_BackgroundPalette()

STDMETHODIMP CBaseControlWindow::get_BackgroundPalette ( __out long *  pBackgroundPalette)

Definition at line 382 of file winctrl.cpp.

◆ get_BorderColor()

STDMETHODIMP CBaseControlWindow::get_BorderColor ( __out long *  Color)

Definition at line 925 of file winctrl.cpp.

◆ get_Caption()

STDMETHODIMP CBaseControlWindow::get_Caption ( __out BSTR *  pstrCaption)

Definition at line 136 of file winctrl.cpp.

◆ get_FullScreenMode()

STDMETHODIMP CBaseControlWindow::get_FullScreenMode ( __out long *  FullScreenMode)

Definition at line 950 of file winctrl.cpp.

◆ get_Height()

STDMETHODIMP CBaseControlWindow::get_Height ( __out long *  pHeight)

Definition at line 644 of file winctrl.cpp.

◆ get_Left()

STDMETHODIMP CBaseControlWindow::get_Left ( __out long *  pLeft)

Definition at line 477 of file winctrl.cpp.

◆ get_MessageDrain()

STDMETHODIMP CBaseControlWindow::get_MessageDrain ( __out OAHWND *  Drain)

Definition at line 728 of file winctrl.cpp.

◆ get_Owner()

STDMETHODIMP CBaseControlWindow::get_Owner ( __out OAHWND *  Owner)

Definition at line 702 of file winctrl.cpp.

◆ get_Top()

STDMETHODIMP CBaseControlWindow::get_Top ( __out long *  pTop)

Definition at line 590 of file winctrl.cpp.

◆ get_Visible()

STDMETHODIMP CBaseControlWindow::get_Visible ( __out long *  pVisible)

Definition at line 419 of file winctrl.cpp.

◆ get_Width()

STDMETHODIMP CBaseControlWindow::get_Width ( __out long *  pWidth)

Definition at line 535 of file winctrl.cpp.

◆ get_WindowState()

STDMETHODIMP CBaseControlWindow::get_WindowState ( __out long *  pWindowState)

Definition at line 315 of file winctrl.cpp.

◆ get_WindowStyle()

STDMETHODIMP CBaseControlWindow::get_WindowStyle ( __out long *  pWindowStyle)

Definition at line 213 of file winctrl.cpp.

◆ get_WindowStyleEx()

STDMETHODIMP CBaseControlWindow::get_WindowStyleEx ( __out long *  pWindowStyleEx)

Definition at line 182 of file winctrl.cpp.

◆ GetBorderColour()

COLORREF CBaseControlWindow::GetBorderColour ( )
inline

Definition at line 40 of file winctrl.h.

◆ GetMaxIdealImageSize()

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

Definition at line 1034 of file winctrl.cpp.

◆ GetMinIdealImageSize()

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

Definition at line 1007 of file winctrl.cpp.

◆ GetOwnerWindow()

HWND CBaseControlWindow::GetOwnerWindow ( )
inline

Definition at line 41 of file winctrl.h.

◆ GetRestorePosition()

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

Definition at line 880 of file winctrl.cpp.

◆ GetWindowPosition()

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

Definition at line 847 of file winctrl.cpp.

◆ HideCursor()

STDMETHODIMP CBaseControlWindow::HideCursor ( long  HideCursor)

Definition at line 1058 of file winctrl.cpp.

◆ IsAutoShowEnabled()

BOOL CBaseControlWindow::IsAutoShowEnabled ( )
inline

Definition at line 39 of file winctrl.h.

◆ IsCursorHidden() [1/2]

BOOL CBaseControlWindow::IsCursorHidden ( )
inline

Definition at line 42 of file winctrl.h.

◆ IsCursorHidden() [2/2]

STDMETHODIMP CBaseControlWindow::IsCursorHidden ( __out long *  CursorHidden)

Definition at line 1077 of file winctrl.cpp.

◆ NotifyOwnerMessage()

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

Definition at line 745 of file winctrl.cpp.

◆ PossiblyEatMessage()

BOOL CBaseControlWindow::PossiblyEatMessage ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
inlinevirtual

Reimplemented from CBaseWindow.

Definition at line 44 of file winctrl.h.

◆ put_AutoShow()

STDMETHODIMP CBaseControlWindow::put_AutoShow ( long  AutoShow)

Definition at line 971 of file winctrl.cpp.

◆ put_BackgroundPalette()

STDMETHODIMP CBaseControlWindow::put_BackgroundPalette ( long  BackgroundPalette)

Definition at line 356 of file winctrl.cpp.

◆ put_BorderColor()

STDMETHODIMP CBaseControlWindow::put_BorderColor ( long  Color)

Definition at line 936 of file winctrl.cpp.

◆ put_Caption()

STDMETHODIMP CBaseControlWindow::put_Caption ( __in BSTR  strCaption)

Definition at line 114 of file winctrl.cpp.

◆ put_FullScreenMode()

STDMETHODIMP CBaseControlWindow::put_FullScreenMode ( long  FullScreenMode)

Definition at line 960 of file winctrl.cpp.

◆ put_Height()

STDMETHODIMP CBaseControlWindow::put_Height ( long  Height)

Definition at line 607 of file winctrl.cpp.

◆ put_Left()

STDMETHODIMP CBaseControlWindow::put_Left ( long  Left)

Definition at line 438 of file winctrl.cpp.

◆ put_MessageDrain()

STDMETHODIMP CBaseControlWindow::put_MessageDrain ( OAHWND  Drain)

Definition at line 716 of file winctrl.cpp.

◆ put_Owner()

STDMETHODIMP CBaseControlWindow::put_Owner ( OAHWND  Owner)

Definition at line 667 of file winctrl.cpp.

◆ put_Top()

STDMETHODIMP CBaseControlWindow::put_Top ( long  Top)

Definition at line 551 of file winctrl.cpp.

◆ put_Visible()

STDMETHODIMP CBaseControlWindow::put_Visible ( long  Visible)

Definition at line 397 of file winctrl.cpp.

◆ put_Width()

STDMETHODIMP CBaseControlWindow::put_Width ( long  Width)

Definition at line 494 of file winctrl.cpp.

◆ put_WindowState()

STDMETHODIMP CBaseControlWindow::put_WindowState ( long  WindowState)

Definition at line 301 of file winctrl.cpp.

◆ put_WindowStyle()

STDMETHODIMP CBaseControlWindow::put_WindowStyle ( long  WindowStyle)

Definition at line 192 of file winctrl.cpp.

◆ put_WindowStyleEx()

STDMETHODIMP CBaseControlWindow::put_WindowStyleEx ( long  WindowStyleEx)

Definition at line 157 of file winctrl.cpp.

◆ SetControlWindowPin()

void CBaseControlWindow::SetControlWindowPin ( CBasePin pPin)
inline

Definition at line 55 of file winctrl.h.

◆ SetWindowForeground()

STDMETHODIMP CBaseControlWindow::SetWindowForeground ( long  Focus)

Definition at line 788 of file winctrl.cpp.

◆ SetWindowPosition()

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

Definition at line 814 of file winctrl.cpp.

Member Data Documentation

◆ m_bAutoShow

BOOL CBaseControlWindow::m_bAutoShow
protected

Definition at line 28 of file winctrl.h.

◆ m_bCursorHidden

BOOL CBaseControlWindow::m_bCursorHidden
protected

Definition at line 31 of file winctrl.h.

◆ m_BorderColour

COLORREF CBaseControlWindow::m_BorderColour
protected

Definition at line 27 of file winctrl.h.

◆ m_hwndDrain

HWND CBaseControlWindow::m_hwndDrain
protected

Definition at line 30 of file winctrl.h.

◆ m_hwndOwner

HWND CBaseControlWindow::m_hwndOwner
protected

Definition at line 29 of file winctrl.h.

◆ m_pFilter

CBaseFilter* CBaseControlWindow::m_pFilter
protected

Definition at line 24 of file winctrl.h.

◆ m_pInterfaceLock

CCritSec* CBaseControlWindow::m_pInterfaceLock
protected

Definition at line 26 of file winctrl.h.

◆ m_pPin

CBasePin* CBaseControlWindow::m_pPin
protected

Definition at line 25 of file winctrl.h.


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