#include <winctrl.h>

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 | |
| CBaseFilter * | m_pFilter |
| CBasePin * | m_pPin |
| CCritSec * | m_pInterfaceLock |
| COLORREF | m_BorderColour |
| BOOL | m_bAutoShow |
| HWND | m_hwndOwner |
| HWND | m_hwndDrain |
| BOOL | m_bCursorHidden |
Definition at line 14 of file winctrl.h.
| 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.
| 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] |
| COLORREF CBaseControlWindow::GetBorderColour | ( | ) | [inline] |
| HWND CBaseControlWindow::GetOwnerWindow | ( | ) | [inline] |
| BOOL CBaseControlWindow::IsCursorHidden | ( | ) | [inline] |
| 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] |
| 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 | ) |
Definition at line 119 of file winctrl.cpp.
References CheckConnected, DoSetWindowStyle(), FALSE, CBaseWindow::m_hwnd, m_pPin, CBaseWindow::m_ShowStageTop, and TRUE.
| 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 | ) |
Definition at line 278 of file winctrl.cpp.
References CheckConnected, E_INVALIDARG, FALSE, CBaseWindow::m_bBackground, CBaseWindow::m_hwnd, m_pPin, CBaseWindow::m_RealizePalette, CBaseWindow::m_WindowLock, OAFALSE, OATRUE, CBaseWindow::PaintWindow(), and TRUE.
| STDMETHODIMP CBaseControlWindow::get_BackgroundPalette | ( | long * | pBackgroundPalette | ) |
Definition at line 301 of file winctrl.cpp.
References CheckConnected, CheckPointer, CBaseWindow::m_bBackground, m_pPin, CBaseWindow::m_WindowLock, OAFALSE, OATRUE, and TRUE.
| 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 | ) |
Definition at line 346 of file winctrl.cpp.
References BOOL, CheckConnected, E_INVALIDARG, EXECUTE_ASSERT, FALSE, LPPOINT, CBaseWindow::m_hwnd, and m_pPin.
| 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 | ) |
Definition at line 393 of file winctrl.cpp.
References BOOL, CheckConnected, E_INVALIDARG, EXECUTE_ASSERT, FALSE, LPPOINT, CBaseWindow::m_hwnd, and m_pPin.
| 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 | ) |
Definition at line 442 of file winctrl.cpp.
References BOOL, CheckConnected, E_INVALIDARG, EXECUTE_ASSERT, FALSE, LPPOINT, CBaseWindow::m_hwnd, and m_pPin.
| 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 | ) |
Definition at line 489 of file winctrl.cpp.
References BOOL, CheckConnected, E_INVALIDARG, EXECUTE_ASSERT, FALSE, LPPOINT, CBaseWindow::m_hwnd, and m_pPin.
| 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 | ) |
Definition at line 534 of file winctrl.cpp.
References CheckConnected, LONG, CBaseWindow::m_hwnd, m_hwndOwner, m_pPin, NOTE1, NULL, CBaseWindow::PaintWindow(), and TRUE.
| 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 | ) |
| 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 | ) |
| STDMETHODIMP CBaseControlWindow::put_FullScreenMode | ( | long | FullScreenMode | ) |
Definition at line 764 of file winctrl.cpp.
| STDMETHODIMP CBaseControlWindow::SetWindowForeground | ( | long | Focus | ) |
Definition at line 626 of file winctrl.cpp.
References BOOL, CheckConnected, CBaseWindow::DoSetWindowForeground(), E_INVALIDARG, FALSE, m_pPin, OAFALSE, OATRUE, and TRUE.
| 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 | |||
| ) |
Definition at line 794 of file winctrl.cpp.
References CheckConnected, CheckPointer, CBaseWindow::GetDefaultRect(), CBaseFilter::GetState(), HEIGHT, m_pFilter, m_pPin, and WIDTH.
| STDMETHODIMP CBaseControlWindow::GetMaxIdealImageSize | ( | long * | pWidth, | |
| long * | pHeight | |||
| ) |
Definition at line 815 of file winctrl.cpp.
References CheckConnected, CheckPointer, CBaseWindow::GetDefaultRect(), CBaseFilter::GetState(), HEIGHT, m_pFilter, m_pPin, and WIDTH.
| STDMETHODIMP CBaseControlWindow::SetWindowPosition | ( | long | Left, | |
| long | Top, | |||
| long | Width, | |||
| long | Height | |||
| ) |
Definition at line 646 of file winctrl.cpp.
References ASSERT, BOOL, CheckConnected, DbgLog, E_INVALIDARG, FALSE, GetLastError(), LOG_TRACE, CBaseWindow::m_hwnd, and m_pPin.
| 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.
CBaseFilter* CBaseControlWindow::m_pFilter [protected] |
Definition at line 18 of file winctrl.h.
Referenced by CBaseControlWindow(), GetMaxIdealImageSize(), and GetMinIdealImageSize().
CBasePin* CBaseControlWindow::m_pPin [protected] |
Definition at line 19 of file winctrl.h.
Referenced by get_AutoShow(), get_BackgroundPalette(), get_BorderColor(), get_Caption(), get_FullScreenMode(), get_Height(), get_Left(), get_MessageDrain(), get_Owner(), get_Top(), get_Visible(), get_Width(), get_WindowState(), get_WindowStyle(), get_WindowStyleEx(), GetMaxIdealImageSize(), GetMinIdealImageSize(), GetRestorePosition(), GetWindowPosition(), HideCursor(), IsCursorHidden(), NotifyOwnerMessage(), put_AutoShow(), put_BackgroundPalette(), put_BorderColor(), put_Caption(), put_Height(), put_Left(), put_MessageDrain(), put_Owner(), put_Top(), put_Visible(), put_Width(), put_WindowState(), put_WindowStyle(), put_WindowStyleEx(), SetControlWindowPin(), SetWindowForeground(), and SetWindowPosition().
CCritSec* CBaseControlWindow::m_pInterfaceLock [protected] |
COLORREF CBaseControlWindow::m_BorderColour [protected] |
Definition at line 21 of file winctrl.h.
Referenced by CBaseControlWindow(), get_BorderColor(), GetBorderColour(), and put_BorderColor().
BOOL CBaseControlWindow::m_bAutoShow [protected] |
Definition at line 22 of file winctrl.h.
Referenced by get_AutoShow(), IsAutoShowEnabled(), and put_AutoShow().
HWND CBaseControlWindow::m_hwndOwner [protected] |
Definition at line 23 of file winctrl.h.
Referenced by get_Owner(), GetOwnerWindow(), NotifyOwnerMessage(), and put_Owner().
HWND CBaseControlWindow::m_hwndDrain [protected] |
Definition at line 24 of file winctrl.h.
Referenced by get_MessageDrain(), PossiblyEatMessage(), and put_MessageDrain().
BOOL CBaseControlWindow::m_bCursorHidden [protected] |
1.5.6