AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CBaseWindow Class Reference

#include <winutil.h>

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

Public Member Functions

 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 ()
 
virtual BOOL PossiblyEatMessage (UINT uMsg, WPARAM wParam, LPARAM lParam)
 
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 Member Functions

virtual LRESULT OnPaletteChange (HWND hwnd, UINT Message)
 

Protected Attributes

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
 

Friends

LRESULT CALLBACK WndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Detailed Description

Definition at line 36 of file winutil.h.

Constructor & Destructor Documentation

◆ CBaseWindow()

CBaseWindow::CBaseWindow ( BOOL  bDoGetDC = TRUE,
bool  bPostToDestroy = false 
)

Definition at line 20 of file winutil.cpp.

Member Function Documentation

◆ ActivateWindow()

HRESULT CBaseWindow::ActivateWindow ( )
virtual

Definition at line 232 of file winutil.cpp.

◆ CompleteConnect()

HRESULT CBaseWindow::CompleteConnect ( )

Definition at line 219 of file winutil.cpp.

◆ DoCreateWindow()

HRESULT CBaseWindow::DoCreateWindow ( )

Definition at line 569 of file winutil.cpp.

◆ DoneWithWindow()

HRESULT CBaseWindow::DoneWithWindow ( )
virtual

Definition at line 113 of file winutil.cpp.

◆ DoRealisePalette()

HRESULT CBaseWindow::DoRealisePalette ( BOOL  bForceBackground = FALSE)
virtual

Definition at line 376 of file winutil.cpp.

◆ DoSetWindowForeground()

void CBaseWindow::DoSetWindowForeground ( BOOL  bFocus)

Definition at line 908 of file winutil.cpp.

◆ DoShowWindow()

HRESULT CBaseWindow::DoShowWindow ( LONG  ShowCmd)

Definition at line 887 of file winutil.cpp.

◆ GetClassWindowStyles()

virtual LPTSTR CBaseWindow::GetClassWindowStyles ( __out DWORD *  pClassStyles,
__out DWORD *  pWindowStyles,
__out DWORD *  pWindowStylesEx 
)
virtual

◆ GetDefaultRect()

RECT CBaseWindow::GetDefaultRect ( )
virtual

Definition at line 813 of file winutil.cpp.

◆ GetMemoryHDC()

HDC CBaseWindow::GetMemoryHDC ( )

Definition at line 864 of file winutil.cpp.

◆ GetWindowHDC()

HDC CBaseWindow::GetWindowHDC ( )

Definition at line 854 of file winutil.cpp.

◆ GetWindowHeight()

LONG CBaseWindow::GetWindowHeight ( )

Definition at line 834 of file winutil.cpp.

◆ GetWindowHWND()

HWND CBaseWindow::GetWindowHWND ( )

Definition at line 844 of file winutil.cpp.

◆ GetWindowWidth()

LONG CBaseWindow::GetWindowWidth ( )

Definition at line 824 of file winutil.cpp.

◆ InactivateWindow()

HRESULT CBaseWindow::InactivateWindow ( )
virtual

Definition at line 206 of file winutil.cpp.

◆ InitialiseWindow()

HRESULT CBaseWindow::InitialiseWindow ( HWND  hwnd)
virtual

Definition at line 550 of file winutil.cpp.

◆ LockPaletteLock()

void CBaseWindow::LockPaletteLock ( )

Definition at line 362 of file winutil.cpp.

◆ OnClose()

BOOL CBaseWindow::OnClose ( )
virtual

Definition at line 497 of file winutil.cpp.

◆ OnPaletteChange()

LRESULT CBaseWindow::OnPaletteChange ( HWND  hwnd,
UINT  Message 
)
protectedvirtual

Definition at line 763 of file winutil.cpp.

◆ OnReceiveMessage()

LRESULT CBaseWindow::OnReceiveMessage ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
virtual

Definition at line 653 of file winutil.cpp.

◆ OnSize()

BOOL CBaseWindow::OnSize ( LONG  Width,
LONG  Height 
)
virtual

Definition at line 487 of file winutil.cpp.

◆ PaintWindow()

void CBaseWindow::PaintWindow ( BOOL  bErase)

Definition at line 896 of file winutil.cpp.

◆ PerformanceAlignWindow()

HRESULT CBaseWindow::PerformanceAlignWindow ( )

Definition at line 276 of file winutil.cpp.

◆ PossiblyEatMessage()

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

Reimplemented in CBaseControlWindow.

Definition at line 112 of file winutil.h.

◆ PrepareWindow()

HRESULT CBaseWindow::PrepareWindow ( )
virtual

Definition at line 51 of file winutil.cpp.

◆ SetPalette() [1/2]

HRESULT CBaseWindow::SetPalette ( )

Definition at line 326 of file winutil.cpp.

◆ SetPalette() [2/2]

HRESULT CBaseWindow::SetPalette ( HPALETTE  hPalette)
virtual

Definition at line 313 of file winutil.cpp.

◆ SetRealize()

void CBaseWindow::SetRealize ( BOOL  bRealize)
inline

Definition at line 99 of file winutil.h.

◆ UninitialiseWindow()

HRESULT CBaseWindow::UninitialiseWindow ( )
virtual

Definition at line 510 of file winutil.cpp.

◆ UnlockPaletteLock()

void CBaseWindow::UnlockPaletteLock ( )

Definition at line 368 of file winutil.cpp.

◆ UnsetPalette()

void CBaseWindow::UnsetPalette ( void  )

Definition at line 345 of file winutil.cpp.

◆ WindowExists()

bool CBaseWindow::WindowExists ( )

Definition at line 805 of file winutil.cpp.

Friends And Related Function Documentation

◆ WndProc

LRESULT CALLBACK WndProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
friend

Definition at line 416 of file winutil.cpp.

Member Data Documentation

◆ m_bActivated

BOOL CBaseWindow::m_bActivated
protected

Definition at line 45 of file winutil.h.

◆ m_bBackground

BYTE CBaseWindow::m_bBackground
protected

Definition at line 56 of file winutil.h.

◆ m_bDoGetDC

BOOL CBaseWindow::m_bDoGetDC
protected

Definition at line 59 of file winutil.h.

◆ m_bDoPostToDestroy

bool CBaseWindow::m_bDoPostToDestroy
protected

Definition at line 60 of file winutil.h.

◆ m_bNoRealize

BYTE CBaseWindow::m_bNoRealize
protected

Definition at line 55 of file winutil.h.

◆ m_bRealizing

BYTE CBaseWindow::m_bRealizing
protected

Definition at line 57 of file winutil.h.

◆ m_ClassStyles

DWORD CBaseWindow::m_ClassStyles
protected

Definition at line 47 of file winutil.h.

◆ m_hdc

HDC CBaseWindow::m_hdc
protected

Definition at line 42 of file winutil.h.

◆ m_Height

LONG CBaseWindow::m_Height
protected

Definition at line 44 of file winutil.h.

◆ m_hInstance

HINSTANCE CBaseWindow::m_hInstance
protected

Definition at line 40 of file winutil.h.

◆ m_hPalette

HPALETTE CBaseWindow::m_hPalette
protected

Definition at line 54 of file winutil.h.

◆ m_hwnd

HWND CBaseWindow::m_hwnd
protected

Definition at line 41 of file winutil.h.

◆ m_MemoryDC

HDC CBaseWindow::m_MemoryDC
protected

Definition at line 53 of file winutil.h.

◆ m_PaletteLock

CCritSec CBaseWindow::m_PaletteLock
protected

Definition at line 61 of file winutil.h.

◆ m_pClassName

LPTSTR CBaseWindow::m_pClassName
protected

Definition at line 46 of file winutil.h.

◆ m_RealizePalette

UINT CBaseWindow::m_RealizePalette
protected

Definition at line 52 of file winutil.h.

◆ m_ShowStageMessage

UINT CBaseWindow::m_ShowStageMessage
protected

Definition at line 50 of file winutil.h.

◆ m_ShowStageTop

UINT CBaseWindow::m_ShowStageTop
protected

Definition at line 51 of file winutil.h.

◆ m_Width

LONG CBaseWindow::m_Width
protected

Definition at line 43 of file winutil.h.

◆ m_WindowLock

CCritSec CBaseWindow::m_WindowLock
protected

Definition at line 58 of file winutil.h.

◆ m_WindowStyles

DWORD CBaseWindow::m_WindowStyles
protected

Definition at line 48 of file winutil.h.

◆ m_WindowStylesEx

DWORD CBaseWindow::m_WindowStylesEx
protected

Definition at line 49 of file winutil.h.


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