ReactOS  0.4.15-dev-3712-gf1ad684
ATL::CWindow Class Reference

#include <atlwin.h>

Inheritance diagram for ATL::CWindow:
Collaboration diagram for ATL::CWindow:

Classes

struct  _IDHWNDPAIR
 

Public Member Functions

 CWindow (HWND hWnd=NULL)
 
 operator HWND () const
 
UINT ArrangeIconicWindows ()
 
void Attach (HWND hWndNew)
 
HDC BeginPaint (LPPAINTSTRUCT lpPaint)
 
BOOL BringWindowToTop ()
 
BOOL CenterWindow (HWND hWndCenter=NULL)
 
BOOL ChangeClipboardChain (HWND hWndNewNext)
 
BOOL CheckDlgButton (int nIDButton, UINT nCheck)
 
BOOL CheckRadioButton (int nIDFirstButton, int nIDLastButton, int nIDCheckButton)
 
HWND ChildWindowFromPoint (POINT point) const
 
HWND ChildWindowFromPointEx (POINT point, UINT uFlags) const
 
BOOL ClientToScreen (LPPOINT lpPoint) const
 
BOOL ClientToScreen (LPRECT lpRect) const
 
HWND Create (LPCTSTR lpstrWndClass, HWND hWndParent, _U_RECT rect=NULL, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
 
BOOL CreateCaret (HBITMAP pBitmap)
 
BOOL CreateGrayCaret (int nWidth, int nHeight)
 
BOOL CreateSolidCaret (int nWidth, int nHeight)
 
HDWP DeferWindowPos (HDWP hWinPosInfo, HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT uFlags)
 
BOOL DestroyWindow ()
 
HWND Detach ()
 
int DlgDirList (LPTSTR lpPathSpec, int nIDListBox, int nIDStaticPath, UINT nFileType)
 
int DlgDirListComboBox (LPTSTR lpPathSpec, int nIDComboBox, int nIDStaticPath, UINT nFileType)
 
BOOL DlgDirSelect (LPTSTR lpString, int nCount, int nIDListBox)
 
BOOL DlgDirSelectComboBox (LPTSTR lpString, int nCount, int nIDComboBox)
 
void DragAcceptFiles (BOOL bAccept=TRUE)
 
BOOL DrawMenuBar ()
 
BOOL EnableScrollBar (UINT uSBFlags, UINT uArrowFlags=ESB_ENABLE_BOTH)
 
BOOL EnableWindow (BOOL bEnable=TRUE)
 
void EndPaint (LPPAINTSTRUCT lpPaint)
 
BOOL FlashWindow (BOOL bInvert)
 
BOOL GetClientRect (LPRECT lpRect) const
 
HDC GetDC ()
 
HDC GetDCEx (HRGN hRgnClip, DWORD flags)
 
HWND GetDescendantWindow (int nID) const
 
HRESULT GetDlgControl (int nID, REFIID iid, void **ppCtrl)
 
int GetDlgCtrlID () const
 
HRESULT GetDlgHost (int nID, REFIID iid, void **ppHost)
 
HWND GetDlgItem (_In_ int nID) const
 
UINT GetDlgItemInt (_In_ int nID, _Out_opt_ BOOL *lpTrans=NULL, _In_ BOOL bSigned=TRUE) const
 
UINT GetDlgItemText (_In_ int nID, _Out_writes_to_(nMaxCount, return+1) LPTSTR lpStr, _In_ int nMaxCount) const
 
BOOL GetDlgItemText (_In_ int nID, _Inout_ _Outref_result_maybenull_ _Post_z_ BSTR &bstrText) const
 
DWORD GetExStyle () const
 
HFONT GetFont () const
 
DWORD GetHotKey () const
 
HICON GetIcon (BOOL bBigIcon=TRUE) const
 
HWND GetLastActivePopup () const
 
HMENU GetMenu () const
 
HWND GetNextDlgGroupItem (HWND hWndCtl, BOOL bPrevious=FALSE) const
 
HWND GetNextDlgTabItem (HWND hWndCtl, BOOL bPrevious=FALSE) const
 
CWindow GetParent () const
 
BOOL GetScrollInfo (int nBar, LPSCROLLINFO lpScrollInfo)
 
BOOL GetScrollPos (int nBar)
 
BOOL GetScrollRange (int nBar, LPINT lpMinPos, LPINT lpMaxPos) const
 
DWORD GetStyle () const
 
HMENU GetSystemMenu (BOOL bRevert)
 
HWND GetTopLevelParent () const
 
HWND GetTopLevelWindow () const
 
HWND GetTopWindow () const
 
BOOL GetUpdateRect (LPRECT lpRect, BOOL bErase=FALSE)
 
int GetUpdateRgn (HRGN hRgn, BOOL bErase=FALSE)
 
HWND GetWindow (UINT nCmd) const
 
DWORD GetWindowContextHelpId () const
 
HDC GetWindowDC ()
 
LONG GetWindowLong (int nIndex) const
 
LONG_PTR GetWindowLongPtr (int nIndex) const
 
BOOL GetWindowPlacement (WINDOWPLACEMENT *lpwndpl) const
 
DWORD GetWindowProcessID ()
 
BOOL GetWindowRect (LPRECT lpRect) const
 
int GetWindowRgn (HRGN hRgn)
 
int GetWindowText (_Out_writes_to_(nMaxCount, return+1) LPTSTR lpszStringBuf, _In_ int nMaxCount) const
 
BOOL GetWindowText (_Inout_ _Outref_result_maybenull_ _Post_z_ BSTR &bstrText) const
 
int GetWindowTextLength () const
 
DWORD GetWindowThreadID ()
 
WORD GetWindowWord (int nIndex) const
 
void GotoDlgCtrl (HWND hWndCtrl) const
 
BOOL HideCaret ()
 
BOOL HiliteMenuItem (HMENU hMenu, UINT uHiliteItem, UINT uHilite)
 
BOOL Invalidate (BOOL bErase=TRUE)
 
BOOL InvalidateRect (LPCRECT lpRect, BOOL bErase=TRUE)
 
void InvalidateRgn (HRGN hRgn, BOOL bErase=TRUE)
 
BOOL IsChild (const HWND hWnd) const
 
BOOL IsDialogMessage (LPMSG lpMsg)
 
UINT IsDlgButtonChecked (int nIDButton) const
 
BOOL IsIconic () const
 
BOOL IsParentDialog ()
 
BOOL IsWindow () const
 
BOOL IsWindowEnabled () const
 
BOOL IsWindowVisible () const
 
BOOL IsWindowUnicode ()
 
BOOL IsZoomed () const
 
BOOL KillTimer (UINT_PTR nIDEvent)
 
BOOL LockWindowUpdate (BOOL bLock=TRUE)
 
int MapWindowPoints (HWND hWndTo, LPPOINT lpPoint, UINT nCount) const
 
int MapWindowPoints (HWND hWndTo, LPRECT lpRect) const
 
int MessageBox (LPCTSTR lpszText, LPCTSTR lpszCaption=NULL, UINT nType=MB_OK)
 
BOOL ModifyStyle (DWORD dwRemove, DWORD dwAdd, UINT nFlags=0)
 
BOOL ModifyStyleEx (DWORD dwRemove, DWORD dwAdd, UINT nFlags=0)
 
BOOL MoveWindow (int x, int y, int nWidth, int nHeight, BOOL bRepaint=TRUE)
 
void NextDlgCtrl () const
 
BOOL OpenClipboard ()
 
BOOL PostMessage (UINT message, WPARAM wParam=0, LPARAM lParam=0)
 
void PrevDlgCtrl () const
 
void Print (HDC hDC, DWORD dwFlags) const
 
void PrintClient (HDC hDC, DWORD dwFlags) const
 
BOOL RedrawWindow (LPCRECT lpRectUpdate=NULL, HRGN hRgnUpdate=NULL, UINT flags=RDW_INVALIDATE|RDW_UPDATENOW|RDW_ERASE)
 
int ReleaseDC (HDC hDC)
 
BOOL ResizeClient (int nWidth, int nHeight, BOOL bRedraw=FALSE)
 
BOOL ScreenToClient (LPPOINT lpPoint) const
 
BOOL ScrollWindow (int xAmount, int yAmount, LPCRECT lpRect=NULL, LPCRECT lpClipRect=NULL)
 
int ScrollWindowEx (int dx, int dy, LPCRECT lpRectScroll, LPCRECT lpRectClip, HRGN hRgnUpdate, LPRECT lpRectUpdate, UINT flags)
 
LRESULT SendDlgItemMessage (int nID, UINT message, WPARAM wParam=0, LPARAM lParam=0)
 
LRESULT SendMessage (UINT message, WPARAM wParam=0, LPARAM lParam=0)
 
void SendMessageToDescendants (UINT message, WPARAM wParam=0, LPARAM lParam=0, BOOL bDeep=TRUE)
 
BOOL SendNotifyMessage (UINT message, WPARAM wParam=0, LPARAM lParam=0)
 
HWND SetActiveWindow ()
 
HWND SetCapture ()
 
HWND SetClipboardViewer ()
 
int SetDlgCtrlID (int nID)
 
BOOL SetDlgItemInt (int nID, UINT nValue, BOOL bSigned=TRUE)
 
BOOL SetDlgItemText (int nID, LPCTSTR lpszString)
 
HWND SetFocus ()
 
void SetFont (HFONT hFont, BOOL bRedraw=TRUE)
 
int SetHotKey (WORD wVirtualKeyCode, WORD wModifiers)
 
HICON SetIcon (HICON hIcon, BOOL bBigIcon=TRUE)
 
BOOL SetMenu (HMENU hMenu)
 
HWND SetParent (HWND hWndNewParent)
 
void SetRedraw (BOOL bRedraw=TRUE)
 
int SetScrollInfo (int nBar, LPSCROLLINFO lpScrollInfo, BOOL bRedraw=TRUE)
 
int SetScrollPos (int nBar, int nPos, BOOL bRedraw=TRUE)
 
BOOL SetScrollRange (int nBar, int nMinPos, int nMaxPos, BOOL bRedraw=TRUE)
 
UINT_PTR SetTimer (UINT_PTR nIDEvent, UINT nElapse, void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD)=NULL)
 
BOOL SetWindowContextHelpId (DWORD dwContextHelpId)
 
LONG SetWindowLong (int nIndex, LONG dwNewLong)
 
LONG_PTR SetWindowLongPtr (int nIndex, LONG_PTR dwNewLong)
 
BOOL SetWindowPlacement (const WINDOWPLACEMENT *lpwndpl)
 
BOOL SetWindowPos (HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags)
 
int SetWindowRgn (HRGN hRgn, BOOL bRedraw=FALSE)
 
BOOL SetWindowText (LPCTSTR lpszString)
 
WORD SetWindowWord (int nIndex, WORD wNewWord)
 
BOOL ShowCaret ()
 
BOOL ShowOwnedPopups (BOOL bShow=TRUE)
 
BOOL ShowScrollBar (UINT nBar, BOOL bShow=TRUE)
 
BOOL ShowWindow (int nCmdShow)
 
BOOL ShowWindowAsync (int nCmdShow)
 
BOOL UpdateWindow ()
 
BOOL ValidateRect (LPCRECT lpRect)
 
BOOL ValidateRgn (HRGN hRgn)
 
BOOL WinHelp (LPCTSTR lpszHelp, UINT nCmd=HELP_CONTEXT, DWORD dwData=0)
 

Static Public Member Functions

static LPCTSTR GetWndClassName ()
 
static LRESULT SendMessage (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 

Public Attributes

HWND m_hWnd
 

Static Public Attributes

static RECT rcDefault
 

Private Types

typedef struct ATL::CWindow::_IDHWNDPAIR IDHWNDPAIR
 
typedef struct ATL::CWindow::_IDHWNDPAIRPIDHWNDPAIR
 

Static Private Member Functions

static BOOL CALLBACK GetDescendantWindowCallback (HWND hWnd, LPARAM lParam)
 
static BOOL CALLBACK SendMessageToDescendantsCallback (HWND hWnd, LPARAM lParam)
 
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep (HWND hWnd, LPARAM lParam)
 

Detailed Description

Definition at line 264 of file atlwin.h.

Member Typedef Documentation

◆ IDHWNDPAIR

◆ PIDHWNDPAIR

Constructor & Destructor Documentation

◆ CWindow()

ATL::CWindow::CWindow ( HWND  hWnd = NULL)
inline

Definition at line 271 of file atlwin.h.

272  {
273  m_hWnd = hWnd;
274  }
HWND hWnd
Definition: settings.c:17
HWND m_hWnd
Definition: atlwin.h:267

Referenced by GetDlgItemText(), GetParent(), and CSearchBar::OnSize().

Member Function Documentation

◆ ArrangeIconicWindows()

UINT ATL::CWindow::ArrangeIconicWindows ( )
inline

Definition at line 286 of file atlwin.h.

287  {
290  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
UINT WINAPI ArrangeIconicWindows(_In_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ Attach()

void ATL::CWindow::Attach ( HWND  hWndNew)
inline

Definition at line 292 of file atlwin.h.

293  {
294  m_hWnd = hWndNew;
295  }
HWND m_hWnd
Definition: atlwin.h:267

◆ BeginPaint()

HDC ATL::CWindow::BeginPaint ( LPPAINTSTRUCT  lpPaint)
inline

Definition at line 297 of file atlwin.h.

298  {
300  return ::BeginPaint(m_hWnd, lpPaint);
301  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CImgAreaWindow::OnPaint(), CTrayClockWnd::OnPaint(), CDownloaderProgress::OnPaint(), and CAppScrnshotPreview::ProcessWindowMessage().

◆ BringWindowToTop()

BOOL ATL::CWindow::BringWindowToTop ( )
inline

Definition at line 303 of file atlwin.h.

304  {
307  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI BringWindowToTop(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ CenterWindow()

BOOL ATL::CWindow::CenterWindow ( HWND  hWndCenter = NULL)
inline

Definition at line 309 of file atlwin.h.

310  {
312  if (hWndCenter == NULL)
313  hWndCenter = ::GetParent(m_hWnd);
314  if (hWndCenter == NULL)
315  return FALSE;
316  RECT wndCenterRect, wndRect;
317  if (!::GetWindowRect(hWndCenter, &wndCenterRect) || !::GetWindowRect(m_hWnd, &wndRect))
318  return FALSE;
319  int wndCenterWidth = wndCenterRect.right - wndCenterRect.left;
320  int wndCenterHeight = wndCenterRect.bottom - wndCenterRect.top;
321  int wndWidth = wndRect.right - wndRect.left;
322  int wndHeight = wndRect.bottom - wndRect.top;
324  wndCenterRect.left + ((wndCenterWidth - wndWidth + 1) >> 1),
325  wndCenterRect.top + ((wndCenterHeight - wndHeight + 1) >> 1),
326  wndWidth, wndHeight, TRUE);
327  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:913
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
LONG right
Definition: windef.h:308
#define FALSE
Definition: types.h:117
BOOL GetWindowRect(LPRECT lpRect) const
Definition: atlwin.h:782
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
#define NULL
Definition: types.h:112
LONG bottom
Definition: windef.h:309
CWindow GetParent() const
Definition: atlwin.h:666

Referenced by CConfirmReplace::OnInitDialog(), CZipPassword::OnInitDialog(), CEditCompatModes::OnInitDialog(), CZipExtract::CExtractSettingsPage::OnSetActive(), and CZipExtract::CExtractSettingsPage::s_BrowseCallbackProc().

◆ ChangeClipboardChain()

BOOL ATL::CWindow::ChangeClipboardChain ( HWND  hWndNewNext)
inline

Definition at line 329 of file atlwin.h.

330  {
333  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI ChangeClipboardChain(_In_ HWND, _In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ CheckDlgButton()

BOOL ATL::CWindow::CheckDlgButton ( int  nIDButton,
UINT  nCheck 
)
inline

Definition at line 335 of file atlwin.h.

336  {
338  return ::CheckDlgButton(m_hWnd, nIDButton, nCheck);
339  }
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSearchBar::OnInitDialog(), CTaskBarSettingsPage::OnInitDialog(), CStartMenuSettingsPage::OnInitDialog(), CZipExtract::CCompleteSettingsPage::OnSetActive(), CTaskBarSettingsPage::UpdateDialog(), and CStartMenuSettingsPage::UpdateDialog().

◆ CheckRadioButton()

BOOL ATL::CWindow::CheckRadioButton ( int  nIDFirstButton,
int  nIDLastButton,
int  nIDCheckButton 
)
inline

Definition at line 341 of file atlwin.h.

342  {
344  return ::CheckRadioButton(m_hWnd, nIDFirstButton, nIDLastButton, nIDCheckButton);
345  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)

◆ ChildWindowFromPoint()

HWND ATL::CWindow::ChildWindowFromPoint ( POINT  point) const
inline

Definition at line 347 of file atlwin.h.

348  {
351  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
POINTL point
Definition: edittest.c:50
HWND m_hWnd
Definition: atlwin.h:267
HWND WINAPI ChildWindowFromPoint(_In_ HWND, _In_ POINT)

Referenced by CTrayWindow::OnContextMenu().

◆ ChildWindowFromPointEx()

HWND ATL::CWindow::ChildWindowFromPointEx ( POINT  point,
UINT  uFlags 
) const
inline

Definition at line 353 of file atlwin.h.

354  {
357  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT uFlags
Definition: api.c:59
POINTL point
Definition: edittest.c:50
HWND WINAPI ChildWindowFromPointEx(_In_ HWND, _In_ POINT, _In_ UINT)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTrayWindow::OnContextMenu().

◆ ClientToScreen() [1/2]

BOOL ATL::CWindow::ClientToScreen ( LPPOINT  lpPoint) const
inline

Definition at line 359 of file atlwin.h.

360  {
363  }
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

Referenced by ClientToScreen(), and CDefView::OnNotify().

◆ ClientToScreen() [2/2]

BOOL ATL::CWindow::ClientToScreen ( LPRECT  lpRect) const
inline

Definition at line 365 of file atlwin.h.

366  {
367  if (lpRect == NULL)
368  return FALSE;
370  POINT leftTop = {lpRect->left, lpRect->top};
371  POINT rightBottom = {lpRect->right, lpRect->bottom};
372  BOOL success = ::ClientToScreen(m_hWnd, &leftTop) && ::ClientToScreen(m_hWnd, &rightBottom);
373  if (success)
374  {
375  lpRect->left = leftTop.x;
376  lpRect->top = leftTop.y;
377  lpRect->right = rightBottom.x;
378  lpRect->bottom = rightBottom.y;
379  }
380  return success;
381  }
long y
Definition: polytest.cpp:48
long x
Definition: polytest.cpp:48
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
LONG right
Definition: windef.h:308
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL ClientToScreen(LPPOINT lpPoint) const
Definition: atlwin.h:359
#define success(from, fromstr, to, tostr)
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112
LONG bottom
Definition: windef.h:309

◆ Create()

HWND ATL::CWindow::Create ( LPCTSTR  lpstrWndClass,
HWND  hWndParent,
_U_RECT  rect = NULL,
LPCTSTR  szWindowName = NULL,
DWORD  dwStyle = 0,
DWORD  dwExStyle = 0,
_U_MENUorID  MenuOrID = 0U,
LPVOID  lpCreateParam = NULL 
)
inline

Definition at line 383 of file atlwin.h.

384  {
385  HWND hWnd;
386  ATLASSERT(m_hWnd == NULL);
387  hWnd = ::CreateWindowEx(dwExStyle,
388  lpstrWndClass,
389  szWindowName,
390  dwStyle,
391  rect.m_lpRect->left,
392  rect.m_lpRect->top,
393  rect.m_lpRect->right - rect.m_lpRect->left,
394  rect.m_lpRect->bottom - rect.m_lpRect->top,
395  hWndParent,
396  MenuOrID.m_hMenu,
397  _AtlBaseModule.GetModuleInstance(),
398  lpCreateParam);
399  if (hWnd != NULL)
400  m_hWnd = hWnd;
401  return hWnd;
402  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
HWND hWnd
Definition: settings.c:17
& rect
Definition: startmenu.cpp:1413
#define CreateWindowEx
Definition: winuser.h:5735
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

Referenced by CToolBox::OnCreate(), and CToolSettingsWindow::OnCreate().

◆ CreateCaret()

BOOL ATL::CWindow::CreateCaret ( HBITMAP  pBitmap)
inline

Definition at line 404 of file atlwin.h.

405  {
407  return ::CreateCaret(m_hWnd, pBitmap, 0, 0);
408  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int)
HWND m_hWnd
Definition: atlwin.h:267

◆ CreateGrayCaret()

BOOL ATL::CWindow::CreateGrayCaret ( int  nWidth,
int  nHeight 
)
inline

Definition at line 410 of file atlwin.h.

411  {
413  return ::CreateCaret(m_hWnd, (HBITMAP)1, nWidth, nHeight);
414  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int)
HWND m_hWnd
Definition: atlwin.h:267
static HBITMAP
Definition: button.c:44

◆ CreateSolidCaret()

BOOL ATL::CWindow::CreateSolidCaret ( int  nWidth,
int  nHeight 
)
inline

Definition at line 416 of file atlwin.h.

417  {
419  return ::CreateCaret(m_hWnd, (HBITMAP)0, nWidth, nHeight);
420  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int)
HWND m_hWnd
Definition: atlwin.h:267
static HBITMAP
Definition: button.c:44

◆ DeferWindowPos()

HDWP ATL::CWindow::DeferWindowPos ( HDWP  hWinPosInfo,
HWND  hWndInsertAfter,
int  x,
int  y,
int  cx,
int  cy,
UINT  uFlags 
)
inline

Definition at line 422 of file atlwin.h.

423  {
425  return ::DeferWindowPos(hWinPosInfo, m_hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
426  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
UINT uFlags
Definition: api.c:59
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:585
HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
HWND m_hWnd
Definition: atlwin.h:267
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:585

Referenced by CTrayWindow::AlignControls(), and CSearchBar::OnSize().

◆ DestroyWindow()

BOOL ATL::CWindow::DestroyWindow ( )
inline

Definition at line 428 of file atlwin.h.

429  {
431 
432  if (!::DestroyWindow(m_hWnd))
433  return FALSE;
434 
435  m_hWnd = NULL;
436  return TRUE;
437  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:913
#define FALSE
Definition: types.h:117
HWND m_hWnd
Definition: atlwin.h:267
BOOL DestroyWindow()
Definition: atlwin.h:428
#define NULL
Definition: types.h:112

Referenced by CToolsBand::CloseDW(), CToolbarProxy::Destroy(), CDefView::DestroyViewWindow(), CTrayWindow::OnAppTrayDestroy(), CMainWindow::OnClose(), CShellBrowser::OnDestroy(), CTrayWindow::RunFileDlgThread(), CSearchBar::SetSite(), and CTrayWindow::TrayPropertiesThread().

◆ Detach()

HWND ATL::CWindow::Detach ( )
inline

Definition at line 439 of file atlwin.h.

440  {
441  HWND hWnd = m_hWnd;
442  m_hWnd = NULL;
443  return hWnd;
444  }
HWND hWnd
Definition: settings.c:17
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

◆ DlgDirList()

int ATL::CWindow::DlgDirList ( LPTSTR  lpPathSpec,
int  nIDListBox,
int  nIDStaticPath,
UINT  nFileType 
)
inline

Definition at line 446 of file atlwin.h.

447  {
449  return ::DlgDirList(m_hWnd, lpPathSpec, nIDListBox, nIDStaticPath, nFileType);
450  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define DlgDirList
Definition: winuser.h:5746
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ DlgDirListComboBox()

int ATL::CWindow::DlgDirListComboBox ( LPTSTR  lpPathSpec,
int  nIDComboBox,
int  nIDStaticPath,
UINT  nFileType 
)
inline

Definition at line 452 of file atlwin.h.

453  {
455  return ::DlgDirListComboBox(m_hWnd, lpPathSpec, nIDComboBox, nIDStaticPath, nFileType);
456  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define DlgDirListComboBox
Definition: winuser.h:5747
HWND m_hWnd
Definition: atlwin.h:267

◆ DlgDirSelect()

BOOL ATL::CWindow::DlgDirSelect ( LPTSTR  lpString,
int  nCount,
int  nIDListBox 
)
inline

Definition at line 458 of file atlwin.h.

459  {
461  return ::DlgDirSelectEx(m_hWnd, lpString, nCount, nIDListBox);
462  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define DlgDirSelectEx
Definition: winuser.h:5749
HWND m_hWnd
Definition: atlwin.h:267

◆ DlgDirSelectComboBox()

BOOL ATL::CWindow::DlgDirSelectComboBox ( LPTSTR  lpString,
int  nCount,
int  nIDComboBox 
)
inline

Definition at line 464 of file atlwin.h.

465  {
467  return ::DlgDirSelectComboBoxEx(m_hWnd, lpString, nCount, nIDComboBox);
468  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define DlgDirSelectComboBoxEx
Definition: winuser.h:5748
HWND m_hWnd
Definition: atlwin.h:267

◆ DragAcceptFiles()

void ATL::CWindow::DragAcceptFiles ( BOOL  bAccept = TRUE)
inline

Definition at line 470 of file atlwin.h.

471  {
473 // FIXME following line requires shellapi.h
474 // ::DragAcceptFiles(m_hWnd, bAccept);
475  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ DrawMenuBar()

BOOL ATL::CWindow::DrawMenuBar ( )
inline

Definition at line 477 of file atlwin.h.

478  {
481  }
BOOL WINAPI DrawMenuBar(_In_ HWND)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ EnableScrollBar()

BOOL ATL::CWindow::EnableScrollBar ( UINT  uSBFlags,
UINT  uArrowFlags = ESB_ENABLE_BOTH 
)
inline

Definition at line 483 of file atlwin.h.

484  {
486  return ::EnableScrollBar(m_hWnd, uSBFlags, uArrowFlags);
487  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI EnableScrollBar(_In_ HWND, _In_ UINT, _In_ UINT)

◆ EnableWindow()

BOOL ATL::CWindow::EnableWindow ( BOOL  bEnable = TRUE)
inline

Definition at line 489 of file atlwin.h.

490  {
493  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
_In_ BOOL bEnable
Definition: winddi.h:3426

Referenced by CZipExtract::CExtractSettingsPage::ExtractEntry(), CEditCompatModes::OnListboxUpdated(), CZipExtract::CExtractSettingsPage::OnWizardNext(), CTaskBarSettingsPage::UpdateDialog(), and CStartMenuSettingsPage::UpdateDialog().

◆ EndPaint()

void ATL::CWindow::EndPaint ( LPPAINTSTRUCT  lpPaint)
inline

Definition at line 495 of file atlwin.h.

496  {
498  ::EndPaint(m_hWnd, lpPaint);
499  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
void EndPaint(LPPAINTSTRUCT lpPaint)
Definition: atlwin.h:495
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CImgAreaWindow::OnPaint(), CTrayClockWnd::OnPaint(), CDownloaderProgress::OnPaint(), and CAppScrnshotPreview::ProcessWindowMessage().

◆ FlashWindow()

BOOL ATL::CWindow::FlashWindow ( BOOL  bInvert)
inline

Definition at line 501 of file atlwin.h.

502  {
505  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI FlashWindow(_In_ HWND, _In_ BOOL)
static BOOL bInvert
Definition: win.c:51
HWND m_hWnd
Definition: atlwin.h:267

◆ GetClientRect()

◆ GetDC()

HDC ATL::CWindow::GetDC ( )
inline

Definition at line 513 of file atlwin.h.

514  {
517  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CImgAreaWindow::drawZoomFrame(), CTrayClockWnd::MeasureLines(), CZipExtract::CCompleteSettingsPage::OnSetActive(), and CAppScrnshotPreview::ProcessWindowMessage().

◆ GetDCEx()

HDC ATL::CWindow::GetDCEx ( HRGN  hRgnClip,
DWORD  flags 
)
inline

Definition at line 519 of file atlwin.h.

520  {
522  return ::GetDCEx(m_hWnd, hRgnClip, flags);
523  }
HDC WINAPI GetDCEx(_In_opt_ HWND, _In_opt_ HRGN, _In_ DWORD)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
GLbitfield flags
Definition: glext.h:7161
HWND m_hWnd
Definition: atlwin.h:267

◆ GetDescendantWindow()

HWND ATL::CWindow::GetDescendantWindow ( int  nID) const
inline

Definition at line 543 of file atlwin.h.

544  {
546  IDHWNDPAIR idHWndPair;
547  idHWndPair.nID = nID;
548  idHWndPair.hWnd = NULL;
550  return idHWndPair.hWnd;
551  }
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
struct ATL::CWindow::_IDHWNDPAIR IDHWNDPAIR
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static BOOL CALLBACK GetDescendantWindowCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:531
LONG_PTR LPARAM
Definition: windef.h:208
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

◆ GetDescendantWindowCallback()

static BOOL CALLBACK ATL::CWindow::GetDescendantWindowCallback ( HWND  hWnd,
LPARAM  lParam 
)
inlinestaticprivate

Definition at line 531 of file atlwin.h.

532  {
533  if (::GetWindowLong(hWnd, GWL_ID) == ((PIDHWNDPAIR)lParam)->nID)
534  {
535  ((PIDHWNDPAIR)lParam)->hWnd = hWnd;
536  return FALSE;
537  }
539  return (((PIDHWNDPAIR)lParam)->hWnd == NULL);
540  }
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
#define GWL_ID
Definition: winuser.h:853
HWND hWnd
Definition: settings.c:17
struct ATL::CWindow::_IDHWNDPAIR * PIDHWNDPAIR
static BOOL CALLBACK GetDescendantWindowCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:531
#define FALSE
Definition: types.h:117
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:756
#define NULL
Definition: types.h:112
LPARAM lParam
Definition: combotst.c:139

Referenced by GetDescendantWindow().

◆ GetDlgControl()

HRESULT ATL::CWindow::GetDlgControl ( int  nID,
REFIID  iid,
void **  ppCtrl 
)
inline

Definition at line 553 of file atlwin.h.

554  {
556  return E_FAIL;//FIXME stub
557  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define E_FAIL
Definition: ddrawi.h:102
HWND m_hWnd
Definition: atlwin.h:267

◆ GetDlgCtrlID()

int ATL::CWindow::GetDlgCtrlID ( ) const
inline

Definition at line 559 of file atlwin.h.

560  {
563  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
int WINAPI GetDlgCtrlID(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetDlgHost()

HRESULT ATL::CWindow::GetDlgHost ( int  nID,
REFIID  iid,
void **  ppHost 
)
inline

Definition at line 565 of file atlwin.h.

566  {
568  return E_FAIL;//FIXME stub
569  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define E_FAIL
Definition: ddrawi.h:102
HWND m_hWnd
Definition: atlwin.h:267

◆ GetDlgItem()

◆ GetDlgItemInt()

UINT ATL::CWindow::GetDlgItemInt ( _In_ int  nID,
_Out_opt_ BOOL lpTrans = NULL,
_In_ BOOL  bSigned = TRUE 
) const
inline

Definition at line 577 of file atlwin.h.

581  {
583  return ::GetDlgItemInt(m_hWnd, nID, lpTrans, bSigned);
584  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT WINAPI GetDlgItemInt(_In_ HWND, _In_ int, _Out_opt_ PBOOL, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetDlgItemText() [1/2]

UINT ATL::CWindow::GetDlgItemText ( _In_ int  nID,
_Out_writes_to_(nMaxCount, return+1) LPTSTR  lpStr,
_In_ int  nMaxCount 
) const
inline

Definition at line 586 of file atlwin.h.

590  {
593  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define GetDlgItemText
Definition: winuser.h:5765
HWND m_hWnd
Definition: atlwin.h:267
_In_ int nMaxCount
Definition: winuser.h:4857

Referenced by CSearchBar::OnSearchButtonClicked(), and CZipExtract::CExtractSettingsPage::UpdateDirectory().

◆ GetDlgItemText() [2/2]

BOOL ATL::CWindow::GetDlgItemText ( _In_ int  nID,
_Inout_ _Outref_result_maybenull_ _Post_z_ BSTR bstrText 
) const
inline

Definition at line 608 of file atlwin.h.

611  {
612  HWND item = GetDlgItem(nID);
613  if (!item)
614  return FALSE;
615  return CWindow(item).GetWindowText(bstrText);
616  }
CWindow(HWND hWnd=NULL)
Definition: atlwin.h:271
#define FALSE
Definition: types.h:117
HWND GetDlgItem(_In_ int nID) const
Definition: atlwin.h:571
static ATOM item
Definition: dde.c:856

◆ GetExStyle()

DWORD ATL::CWindow::GetExStyle ( ) const
inline

Definition at line 618 of file atlwin.h.

619  {
622  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define GWL_EXSTYLE
Definition: winuser.h:845
#define GetWindowLong
Definition: winuser.h:5776
HWND m_hWnd
Definition: atlwin.h:267

◆ GetFont()

HFONT ATL::CWindow::GetFont ( ) const
inline

Definition at line 624 of file atlwin.h.

625  {
627  return (HFONT)::SendMessage(m_hWnd, WM_GETFONT, 0, 0);
628  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define WM_GETFONT
Definition: winuser.h:1638
HWND m_hWnd
Definition: atlwin.h:267
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ GetHotKey()

DWORD ATL::CWindow::GetHotKey ( ) const
inline

Definition at line 630 of file atlwin.h.

631  {
633  return (DWORD)::SendMessage(m_hWnd, WM_GETHOTKEY, 0, 0);
634  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define WM_GETHOTKEY
Definition: winuser.h:1640
BOOL IsWindow() const
Definition: atlwin.h:913
unsigned long DWORD
Definition: ntddk_ex.h:95
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ GetIcon()

HICON ATL::CWindow::GetIcon ( BOOL  bBigIcon = TRUE) const
inline

Definition at line 636 of file atlwin.h.

637  {
639  return (HICON)::SendMessage(m_hWnd, WM_GETICON, (WPARAM)bBigIcon, 0);
640  }
static HICON
Definition: imagelist.c:84
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WPARAM
Definition: windef.h:207
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ GetLastActivePopup()

HWND ATL::CWindow::GetLastActivePopup ( ) const
inline

Definition at line 642 of file atlwin.h.

643  {
646  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI GetLastActivePopup(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTrayWindow::DisplayProperties(), and CTrayWindow::DisplayRunFileDlg().

◆ GetMenu()

HMENU ATL::CWindow::GetMenu ( ) const
inline

Definition at line 648 of file atlwin.h.

649  {
652  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
HMENU WINAPI GetMenu(_In_ HWND)

Referenced by CMainWindow::OnInitMenuPopup(), and CMainWindow::ProcessWindowMessage().

◆ GetNextDlgGroupItem()

HWND ATL::CWindow::GetNextDlgGroupItem ( HWND  hWndCtl,
BOOL  bPrevious = FALSE 
) const
inline

Definition at line 654 of file atlwin.h.

655  {
657  return ::GetNextDlgGroupItem(m_hWnd, hWndCtl, bPrevious);
658  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI GetNextDlgGroupItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetNextDlgTabItem()

HWND ATL::CWindow::GetNextDlgTabItem ( HWND  hWndCtl,
BOOL  bPrevious = FALSE 
) const
inline

Definition at line 660 of file atlwin.h.

661  {
663  return ::GetNextDlgTabItem(m_hWnd, hWndCtl, bPrevious);
664  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI GetNextDlgTabItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetParent()

◆ GetScrollInfo()

BOOL ATL::CWindow::GetScrollInfo ( int  nBar,
LPSCROLLINFO  lpScrollInfo 
)
inline

Definition at line 672 of file atlwin.h.

673  {
675  return ::GetScrollInfo(m_hWnd, nBar, lpScrollInfo);
676  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI GetScrollInfo(_In_ HWND, _In_ int, _Inout_ LPSCROLLINFO)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetScrollPos()

BOOL ATL::CWindow::GetScrollPos ( int  nBar)
inline

Definition at line 678 of file atlwin.h.

679  {
682  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
int WINAPI GetScrollPos(_In_ HWND, _In_ int)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CDefView::OnPrintClient().

◆ GetScrollRange()

BOOL ATL::CWindow::GetScrollRange ( int  nBar,
LPINT  lpMinPos,
LPINT  lpMaxPos 
) const
inline

Definition at line 684 of file atlwin.h.

685  {
687  return ::GetScrollRange(m_hWnd, nBar, lpMinPos, lpMaxPos);
688  }
BOOL WINAPI GetScrollRange(_In_ HWND, _In_ int, _Out_ LPINT, _Out_ LPINT)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ GetStyle()

DWORD ATL::CWindow::GetStyle ( ) const
inline

Definition at line 690 of file atlwin.h.

691  {
694  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define GetWindowLong
Definition: winuser.h:5776
HWND m_hWnd
Definition: atlwin.h:267
#define GWL_STYLE
Definition: winuser.h:846

◆ GetSystemMenu()

HMENU ATL::CWindow::GetSystemMenu ( BOOL  bRevert)
inline

Definition at line 696 of file atlwin.h.

697  {
699  return ::GetSystemMenu(m_hWnd, bRevert);
700  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HMENU WINAPI GetSystemMenu(_In_ HWND, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTrayWindow::OnSysChar().

◆ GetTopLevelParent()

HWND ATL::CWindow::GetTopLevelParent ( ) const
inline

Definition at line 702 of file atlwin.h.

703  {
705 
707  HWND hWndTmp;
708  while ((hWndTmp = ::GetParent(hWndParent)) != NULL)
709  hWndParent = hWndTmp;
710 
711  return hWndParent;
712  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112
CWindow GetParent() const
Definition: atlwin.h:666

◆ GetTopLevelWindow()

HWND ATL::CWindow::GetTopLevelWindow ( ) const
inline

Definition at line 714 of file atlwin.h.

715  {
717  return NULL;//FIXME stub
718  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

◆ GetTopWindow()

HWND ATL::CWindow::GetTopWindow ( ) const
inline

Definition at line 720 of file atlwin.h.

721  {
724  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI GetTopWindow(_In_opt_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetUpdateRect()

BOOL ATL::CWindow::GetUpdateRect ( LPRECT  lpRect,
BOOL  bErase = FALSE 
)
inline

Definition at line 726 of file atlwin.h.

727  {
729  return ::GetUpdateRect(m_hWnd, lpRect, bErase);
730  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI GetUpdateRect(_In_ HWND, _Out_opt_ LPRECT, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetUpdateRgn()

int ATL::CWindow::GetUpdateRgn ( HRGN  hRgn,
BOOL  bErase = FALSE 
)
inline

Definition at line 732 of file atlwin.h.

733  {
736  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static HRGN hRgn
Definition: mapping.c:33
int WINAPI GetUpdateRgn(_In_ HWND, _In_ HRGN, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetWindow()

HWND ATL::CWindow::GetWindow ( UINT  nCmd) const
inline

Definition at line 738 of file atlwin.h.

739  {
741  return ::GetWindow(m_hWnd, nCmd);
742  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetWindowContextHelpId()

DWORD ATL::CWindow::GetWindowContextHelpId ( ) const
inline

Definition at line 744 of file atlwin.h.

745  {
748  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
DWORD WINAPI GetWindowContextHelpId(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetWindowDC()

HDC ATL::CWindow::GetWindowDC ( )
inline

Definition at line 750 of file atlwin.h.

751  {
754  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
HDC WINAPI GetWindowDC(_In_opt_ HWND)

Referenced by CTrayWindow::DrawSizerWithTheme().

◆ GetWindowLong()

LONG ATL::CWindow::GetWindowLong ( int  nIndex) const
inline

Definition at line 756 of file atlwin.h.

757  {
760  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define GetWindowLong
Definition: winuser.h:5776
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTaskSwitchWnd::EnumWindowsProc(), GetDescendantWindowCallback(), GetWindowWord(), ModifyStyle(), ModifyStyleEx(), and SetWindowWord().

◆ GetWindowLongPtr()

LONG_PTR ATL::CWindow::GetWindowLongPtr ( int  nIndex) const
inline

Definition at line 762 of file atlwin.h.

763  {
766  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define GetWindowLongPtr
Definition: treelist.c:73

Referenced by CShellBrowser::WindowProc().

◆ GetWindowPlacement()

BOOL ATL::CWindow::GetWindowPlacement ( WINDOWPLACEMENT lpwndpl) const
inline

Definition at line 768 of file atlwin.h.

769  {
772  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI GetWindowPlacement(_In_ HWND, _Inout_ WINDOWPLACEMENT *)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CMainWindow::OnDestroy().

◆ GetWindowProcessID()

DWORD ATL::CWindow::GetWindowProcessID ( )
inline

Definition at line 774 of file atlwin.h.

775  {
777  DWORD processID;
778  ::GetWindowThreadProcessId(m_hWnd, &processID);
779  return processID;
780  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
DWORD WINAPI GetWindowThreadProcessId(HWND, PDWORD)
unsigned long DWORD
Definition: ntddk_ex.h:95
HWND m_hWnd
Definition: atlwin.h:267

◆ GetWindowRect()

◆ GetWindowRgn()

int ATL::CWindow::GetWindowRgn ( HRGN  hRgn)
inline

Definition at line 788 of file atlwin.h.

789  {
792  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static HRGN hRgn
Definition: mapping.c:33
HWND m_hWnd
Definition: atlwin.h:267
int WINAPI GetWindowRgn(_In_ HWND, _In_ HRGN)

◆ GetWindowText() [1/2]

int ATL::CWindow::GetWindowText ( _Out_writes_to_(nMaxCount, return+1) LPTSTR  lpszStringBuf,
_In_ int  nMaxCount 
) const
inline

Definition at line 794 of file atlwin.h.

797  {
799  return ::GetWindowText(m_hWnd, lpszStringBuf, nMaxCount);
800  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define GetWindowText
Definition: winuser.h:5778
HWND m_hWnd
Definition: atlwin.h:267
_In_ int nMaxCount
Definition: winuser.h:4857

◆ GetWindowText() [2/2]

BOOL ATL::CWindow::GetWindowText ( _Inout_ _Outref_result_maybenull_ _Post_z_ BSTR bstrText) const
inline

Definition at line 812 of file atlwin.h.

814  {
817  if (!::SysReAllocStringLen(&bstrText, NULL, length))
818  return FALSE;
819  if (::GetWindowTextW(m_hWnd, bstrText, length + 1))
820  return TRUE;
821  ::SysFreeString(bstrText);
822  bstrText = NULL;
823  return FALSE;
824  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:913
int32_t INT
Definition: typedefs.h:58
#define FALSE
Definition: types.h:117
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
int WINAPI GetWindowTextLengthW(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267
int WINAPI SysReAllocStringLen(BSTR *old, const OLECHAR *str, unsigned int len)
Definition: oleaut.c:383
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
Definition: window.c:1412
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:271
#define NULL
Definition: types.h:112

◆ GetWindowTextLength()

int ATL::CWindow::GetWindowTextLength ( ) const
inline

Definition at line 826 of file atlwin.h.

827  {
830  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define GetWindowTextLength
Definition: winuser.h:5779

◆ GetWindowThreadID()

DWORD ATL::CWindow::GetWindowThreadID ( )
inline

Definition at line 832 of file atlwin.h.

833  {
836  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
DWORD WINAPI GetWindowThreadProcessId(HWND, PDWORD)
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

◆ GetWindowWord()

WORD ATL::CWindow::GetWindowWord ( int  nIndex) const
inline

Definition at line 838 of file atlwin.h.

839  {
841  return (WORD)::GetWindowLong(m_hWnd, nIndex);
842  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
unsigned short WORD
Definition: ntddk_ex.h:93
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:756
HWND m_hWnd
Definition: atlwin.h:267

◆ GetWndClassName()

static LPCTSTR ATL::CWindow::GetWndClassName ( )
inlinestatic

Definition at line 281 of file atlwin.h.

282  {
283  return NULL;
284  }
#define NULL
Definition: types.h:112

◆ GotoDlgCtrl()

void ATL::CWindow::GotoDlgCtrl ( HWND  hWndCtrl) const
inline

Definition at line 844 of file atlwin.h.

845  {
848  }
#define WM_NEXTDLGCTL
Definition: winuser.h:1630
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ HideCaret()

BOOL ATL::CWindow::HideCaret ( )
inline

Definition at line 850 of file atlwin.h.

851  {
854  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI HideCaret(_In_opt_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ HiliteMenuItem()

BOOL ATL::CWindow::HiliteMenuItem ( HMENU  hMenu,
UINT  uHiliteItem,
UINT  uHilite 
)
inline

Definition at line 856 of file atlwin.h.

857  {
859  return ::HiliteMenuItem(m_hWnd, hMenu, uHiliteItem, uHilite);
860  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI HiliteMenuItem(_In_ HWND, _In_ HMENU, _In_ UINT, _In_ UINT)
HWND m_hWnd
Definition: atlwin.h:267

◆ Invalidate()

◆ InvalidateRect()

BOOL ATL::CWindow::InvalidateRect ( LPCRECT  lpRect,
BOOL  bErase = TRUE 
)
inline

Definition at line 868 of file atlwin.h.

869  {
871  return ::InvalidateRect(m_hWnd, lpRect, bErase);
872  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSelectionWindow::OnLButtonDown(), CSelectionWindow::OnMouseMove(), CTrayClockWnd::OnSize(), placeSelWin(), CAppScrnshotPreview::ProcessWindowMessage(), CTrayClockWnd::SetFont(), and CTrayClockWnd::UpdateWnd().

◆ InvalidateRgn()

void ATL::CWindow::InvalidateRgn ( HRGN  hRgn,
BOOL  bErase = TRUE 
)
inline

Definition at line 874 of file atlwin.h.

875  {
877  ::InvalidateRgn(m_hWnd, hRgn, bErase);
878  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static HRGN hRgn
Definition: mapping.c:33
HWND m_hWnd
Definition: atlwin.h:267
void InvalidateRgn(HRGN hRgn, BOOL bErase=TRUE)
Definition: atlwin.h:874

◆ IsChild()

BOOL ATL::CWindow::IsChild ( const HWND  hWnd) const
inline

Definition at line 880 of file atlwin.h.

881  {
884  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND hWnd
Definition: settings.c:17
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI IsChild(_In_ HWND, _In_ HWND)

Referenced by CTrayWindow::OnContextMenu(), and CSearchBar::TranslateAcceleratorIO().

◆ IsDialogMessage()

BOOL ATL::CWindow::IsDialogMessage ( LPMSG  lpMsg)
inline

Definition at line 886 of file atlwin.h.

887  {
890  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define IsDialogMessage
Definition: winuser.h:5789
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSearchBar::TranslateAcceleratorIO().

◆ IsDlgButtonChecked()

UINT ATL::CWindow::IsDlgButtonChecked ( int  nIDButton) const
inline

Definition at line 892 of file atlwin.h.

893  {
896  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTaskBarSettingsPage::OnApply(), CSearchBar::OnSearchButtonClicked(), CZipExtract::CCompleteSettingsPage::OnWizardFinish(), CTaskBarSettingsPage::UpdateDialog(), and CStartMenuSettingsPage::UpdateDialog().

◆ IsIconic()

BOOL ATL::CWindow::IsIconic ( ) const
inline

Definition at line 898 of file atlwin.h.

899  {
902  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI IsIconic(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTaskSwitchWnd::HandleTaskItemClick(), CTrayWindow::MinimizeWindowsProc(), and CTrayWindow::RestoreAll().

◆ IsParentDialog()

BOOL ATL::CWindow::IsParentDialog ( )
inline

Definition at line 904 of file atlwin.h.

905  {
907  TCHAR pszType[10]; // Use sizeof("#32770")+3 so that extra characters can be detected.
908  if (!RealGetWindowClass(::GetParent(m_hWnd), pszType, _countof(pszType)))
909  return FALSE;
910  return !_tcscmp(pszType, _T("#32770"));
911  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
int _tcscmp(const _TCHAR *s1, const _TCHAR *s2)
Definition: tcscmp.h:8
BOOL IsWindow() const
Definition: atlwin.h:913
#define FALSE
Definition: types.h:117
char TCHAR
Definition: xmlstorage.h:189
#define _T(x)
Definition: vfdio.h:22
#define _countof(array)
Definition: sndvol32.h:68
HWND m_hWnd
Definition: atlwin.h:267
#define RealGetWindowClass
Definition: winuser.h:5815
CWindow GetParent() const
Definition: atlwin.h:666

◆ IsWindow()

BOOL ATL::CWindow::IsWindow ( ) const
inline

Definition at line 913 of file atlwin.h.

914  {
916  }
BOOL WINAPI IsWindow(_In_opt_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTaskSwitchWnd::AddTask(), ArrangeIconicWindows(), BeginPaint(), BringWindowToTop(), CenterWindow(), ChangeClipboardChain(), CheckDlgButton(), CheckRadioButton(), ChildWindowFromPoint(), ChildWindowFromPointEx(), ClientToScreen(), CToolsBand::CloseDW(), CreateCaret(), CreateGrayCaret(), CreateSolidCaret(), DeferWindowPos(), DestroyWindow(), DlgDirList(), DlgDirListComboBox(), DlgDirSelect(), DlgDirSelectComboBox(), DragAcceptFiles(), DrawMenuBar(), EnableScrollBar(), EnableWindow(), EndPaint(), CTaskSwitchWnd::EnumWindowsProc(), FlashWindow(), GetClientRect(), GetDC(), GetDCEx(), GetDescendantWindow(), GetDlgControl(), GetDlgCtrlID(), GetDlgHost(), GetDlgItem(), GetDlgItemInt(), GetDlgItemText(), GetExStyle(), GetFont(), GetHotKey(), GetIcon(), GetLastActivePopup(), GetMenu(), GetNextDlgGroupItem(), GetNextDlgTabItem(), GetParent(), GetScrollInfo(), GetScrollPos(), GetScrollRange(), GetStyle(), GetSystemMenu(), GetTopLevelParent(), GetTopLevelWindow(), GetTopWindow(), GetUpdateRect(), GetUpdateRgn(), GetWindow(), GetWindowContextHelpId(), GetWindowDC(), GetWindowLong(), GetWindowLongPtr(), GetWindowPlacement(), GetWindowProcessID(), GetWindowRect(), GetWindowRgn(), GetWindowText(), GetWindowTextLength(), GetWindowThreadID(), GetWindowWord(), GotoDlgCtrl(), CTaskSwitchWnd::HandleItemPaint(), CTaskSwitchWnd::HandleTaskItemClick(), HideCaret(), HiliteMenuItem(), Invalidate(), InvalidateRect(), InvalidateRgn(), IsChild(), IsDialogMessage(), IsDlgButtonChecked(), IsIconic(), IsParentDialog(), IsWindowEnabled(), IsWindowUnicode(), IsWindowVisible(), IsZoomed(), KillTimer(), LockWindowUpdate(), MapWindowPoints(), MessageBox(), CTrayWindow::MinimizeAll(), ModifyStyle(), ModifyStyleEx(), MoveWindow(), NextDlgCtrl(), CSysPagerWnd::OnCommand(), CTrayWindow::Open(), OpenClipboard(), PostMessage(), PrevDlgCtrl(), Print(), PrintClient(), RedrawWindow(), ReleaseDC(), ResizeClient(), ScreenToClient(), ScrollWindow(), ScrollWindowEx(), SendDlgItemMessage(), SendMessage(), SendMessageToDescendants(), SendNotifyMessage(), SetActiveWindow(), SetCapture(), SetClipboardViewer(), SetDlgCtrlID(), SetDlgItemInt(), SetDlgItemText(), SetFocus(), SetFont(), SetHotKey(), SetIcon(), SetMenu(), SetParent(), CDownloaderProgress::SetProgress(), SetRedraw(), SetScrollInfo(), SetScrollPos(), SetScrollRange(), CToolsBand::SetSite(), SetTimer(), SetWindowContextHelpId(), SetWindowLong(), SetWindowLongPtr(), SetWindowPlacement(), SetWindowPos(), SetWindowRgn(), SetWindowText(), SetWindowWord(), ShowCaret(), ShowOwnedPopups(), ShowScrollBar(), ShowWindow(), ShowWindowAsync(), UpdateWindow(), ValidateRect(), ValidateRgn(), and WinHelp().

◆ IsWindowEnabled()

BOOL ATL::CWindow::IsWindowEnabled ( ) const
inline

Definition at line 918 of file atlwin.h.

919  {
922  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI IsWindowEnabled(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTrayWindow::MinimizeWindowsProc().

◆ IsWindowUnicode()

BOOL ATL::CWindow::IsWindowUnicode ( )
inline

Definition at line 930 of file atlwin.h.

931  {
934  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI IsWindowUnicode(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

◆ IsWindowVisible()

◆ IsZoomed()

BOOL ATL::CWindow::IsZoomed ( ) const
inline

Definition at line 936 of file atlwin.h.

937  {
940  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI IsZoomed(_In_ HWND)

◆ KillTimer()

◆ LockWindowUpdate()

BOOL ATL::CWindow::LockWindowUpdate ( BOOL  bLock = TRUE)
inline

Definition at line 948 of file atlwin.h.

949  {
951  if (bLock)
954  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL WINAPI LockWindowUpdate(_In_opt_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

Referenced by CShellBrowser::BrowseToPath().

◆ MapWindowPoints() [1/2]

int ATL::CWindow::MapWindowPoints ( HWND  hWndTo,
LPPOINT  lpPoint,
UINT  nCount 
) const
inline

Definition at line 956 of file atlwin.h.

957  {
959  return ::MapWindowPoints(m_hWnd, hWndTo, lpPoint, nCount);
960  }
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CShellBrowser::BrowseToPath(), CTrayWindow::OnContextMenu(), CImgAreaWindow::OnEraseBkGnd(), CTrayWindow::OnNcHitTest(), and CTrayWindow::TrackMenu().

◆ MapWindowPoints() [2/2]

int ATL::CWindow::MapWindowPoints ( HWND  hWndTo,
LPRECT  lpRect 
) const
inline

Definition at line 962 of file atlwin.h.

963  {
965  return ::MapWindowPoints(m_hWnd, hWndTo, (LPPOINT)lpRect, sizeof(RECT) / sizeof(POINT));
966  }
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ MessageBox()

int ATL::CWindow::MessageBox ( LPCTSTR  lpszText,
LPCTSTR  lpszCaption = NULL,
UINT  nType = MB_OK 
)
inline

Definition at line 968 of file atlwin.h.

969  {
971  return ::MessageBox(m_hWnd, lpszText, lpszCaption, nType);
972  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define MessageBox
Definition: winuser.h:5802

Referenced by CMainWindow::ConfirmSave(), CMainWindow::InsertSelectionFromHBITMAP(), and ShowFileLoadError().

◆ ModifyStyle()

BOOL ATL::CWindow::ModifyStyle ( DWORD  dwRemove,
DWORD  dwAdd,
UINT  nFlags = 0 
)
inline

Definition at line 974 of file atlwin.h.

975  {
977  ::SetWindowLong(m_hWnd, GWL_STYLE, (::GetWindowLong(m_hWnd, GWL_STYLE) & ~dwRemove) | dwAdd);
978  if (nFlags != 0)
980  return TRUE;
981  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:913
LONG SetWindowLong(int nIndex, LONG dwNewLong)
Definition: atlwin.h:1236
#define SWP_NOZORDER
Definition: winuser.h:1237
#define SWP_NOACTIVATE
Definition: winuser.h:1232
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:756
HWND m_hWnd
Definition: atlwin.h:267
#define SWP_NOSIZE
Definition: winuser.h:1235
#define GWL_STYLE
Definition: winuser.h:846
#define NULL
Definition: types.h:112
#define SWP_NOMOVE
Definition: winuser.h:1234
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)

Referenced by CDownloaderProgress::SetMarquee().

◆ ModifyStyleEx()

BOOL ATL::CWindow::ModifyStyleEx ( DWORD  dwRemove,
DWORD  dwAdd,
UINT  nFlags = 0 
)
inline

Definition at line 983 of file atlwin.h.

984  {
986  ::SetWindowLong(m_hWnd, GWL_EXSTYLE, (::GetWindowLong(m_hWnd, GWL_EXSTYLE) & ~dwRemove) | dwAdd);
987  if (nFlags != 0)
989  return TRUE;
990  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:913
LONG SetWindowLong(int nIndex, LONG dwNewLong)
Definition: atlwin.h:1236
#define GWL_EXSTYLE
Definition: winuser.h:845
#define SWP_NOZORDER
Definition: winuser.h:1237
#define SWP_NOACTIVATE
Definition: winuser.h:1232
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:756
HWND m_hWnd
Definition: atlwin.h:267
#define SWP_NOSIZE
Definition: winuser.h:1235
#define NULL
Definition: types.h:112
#define SWP_NOMOVE
Definition: winuser.h:1234
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)

◆ MoveWindow()

BOOL ATL::CWindow::MoveWindow ( int  x,
int  y,
int  nWidth,
int  nHeight,
BOOL  bRepaint = TRUE 
)
inline

Definition at line 992 of file atlwin.h.

993  {
995  return ::MoveWindow(m_hWnd, x, y, nWidth, nHeight, bRepaint);
996  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

Referenced by CDefView::OnSize(), updateCanvasAndScrollbars(), and zoomTo().

◆ NextDlgCtrl()

void ATL::CWindow::NextDlgCtrl ( ) const
inline

Definition at line 998 of file atlwin.h.

999  {
1002  }
#define WM_NEXTDLGCTL
Definition: winuser.h:1630
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ OpenClipboard()

BOOL ATL::CWindow::OpenClipboard ( )
inline

Definition at line 1004 of file atlwin.h.

1005  {
1008  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI OpenClipboard(_In_opt_ HWND)

Referenced by CMainWindow::OnCommand(), and CMainWindow::OnInitMenuPopup().

◆ operator HWND()

ATL::CWindow::operator HWND ( ) const
inline

Definition at line 276 of file atlwin.h.

277  {
278  return m_hWnd;
279  }
HWND m_hWnd
Definition: atlwin.h:267

◆ PostMessage()

BOOL ATL::CWindow::PostMessage ( UINT  message,
WPARAM  wParam = 0,
LPARAM  lParam = 0 
)
inline

◆ PrevDlgCtrl()

void ATL::CWindow::PrevDlgCtrl ( ) const
inline

Definition at line 1016 of file atlwin.h.

1017  {
1020  }
#define WM_NEXTDLGCTL
Definition: winuser.h:1630
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ Print()

void ATL::CWindow::Print ( HDC  hDC,
DWORD  dwFlags 
) const
inline

Definition at line 1022 of file atlwin.h.

1023  {
1026  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WPARAM
Definition: windef.h:207
LONG_PTR LPARAM
Definition: windef.h:208
#define WM_PRINT
Definition: winuser.h:1867
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HWND m_hWnd
Definition: atlwin.h:267
static HDC hDC
Definition: 3dtext.c:33
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ PrintClient()

void ATL::CWindow::PrintClient ( HDC  hDC,
DWORD  dwFlags 
) const
inline

Definition at line 1028 of file atlwin.h.

1029  {
1032  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WPARAM
Definition: windef.h:207
#define WM_PRINTCLIENT
Definition: richedit.h:70
LONG_PTR LPARAM
Definition: windef.h:208
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HWND m_hWnd
Definition: atlwin.h:267
static HDC hDC
Definition: 3dtext.c:33
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ RedrawWindow()

BOOL ATL::CWindow::RedrawWindow ( LPCRECT  lpRectUpdate = NULL,
HRGN  hRgnUpdate = NULL,
UINT  flags = RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE 
)
inline

Definition at line 1034 of file atlwin.h.

1035  {
1037  return ::RedrawWindow(m_hWnd, lpRectUpdate, hRgnUpdate, flags);
1038  }
BOOL WINAPI RedrawWindow(_In_opt_ HWND, _In_opt_ LPCRECT, _In_opt_ HRGN, _In_ UINT)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
GLbitfield flags
Definition: glext.h:7161
HWND m_hWnd
Definition: atlwin.h:267

◆ ReleaseDC()

int ATL::CWindow::ReleaseDC ( HDC  hDC)
inline

Definition at line 1040 of file atlwin.h.

1041  {
1044  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HWND m_hWnd
Definition: atlwin.h:267
static HDC hDC
Definition: 3dtext.c:33

Referenced by CTrayWindow::DrawSizerWithTheme(), CImgAreaWindow::drawZoomFrame(), CTrayClockWnd::MeasureLines(), CZipExtract::CCompleteSettingsPage::OnSetActive(), and CAppScrnshotPreview::ProcessWindowMessage().

◆ ResizeClient()

BOOL ATL::CWindow::ResizeClient ( int  nWidth,
int  nHeight,
BOOL  bRedraw = FALSE 
)
inline

Definition at line 1046 of file atlwin.h.

1047  {
1049  RECT clientRect, wndRect;
1050  ::GetClientRect(m_hWnd, &clientRect);
1051  ::GetWindowRect(m_hWnd, &wndRect);
1052  return ::MoveWindow(m_hWnd, wndRect.left, wndRect.top,
1053  nWidth + (wndRect.right - wndRect.left) - (clientRect.right - clientRect.left),
1054  nHeight + (wndRect.bottom - wndRect.top) - (clientRect.bottom - clientRect.top),
1055  bRedraw);
1056  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
LONG right
Definition: windef.h:308
BOOL GetClientRect(LPRECT lpRect) const
Definition: atlwin.h:507
BOOL GetWindowRect(LPRECT lpRect) const
Definition: atlwin.h:782
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
LONG bottom
Definition: windef.h:309

◆ ScreenToClient()

BOOL ATL::CWindow::ScreenToClient ( LPPOINT  lpPoint) const
inline

Definition at line 1058 of file atlwin.h.

1059  {
1061  return ::ScreenToClient(m_hWnd, lpPoint);
1062  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)

Referenced by CDefView::drag_notify_subitem(), CDefView::DragEnter(), CDefView::DragOver(), CDefView::Drop(), CDefView::OnContextMenu(), CTaskSwitchWnd::OnContextMenu(), and CSearchBar::OnSize().

◆ ScrollWindow()

BOOL ATL::CWindow::ScrollWindow ( int  xAmount,
int  yAmount,
LPCRECT  lpRect = NULL,
LPCRECT  lpClipRect = NULL 
)
inline

Definition at line 1064 of file atlwin.h.

1065  {
1067  return ::ScrollWindow(m_hWnd, xAmount, yAmount, lpRect, lpClipRect);
1068  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI ScrollWindow(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT)
HWND m_hWnd
Definition: atlwin.h:267

◆ ScrollWindowEx()

int ATL::CWindow::ScrollWindowEx ( int  dx,
int  dy,
LPCRECT  lpRectScroll,
LPCRECT  lpRectClip,
HRGN  hRgnUpdate,
LPRECT  lpRectUpdate,
UINT  flags 
)
inline

Definition at line 1070 of file atlwin.h.

1071  {
1073  return ::ScrollWindowEx(m_hWnd, dx, dy, lpRectScroll, lpRectClip, hRgnUpdate, lpRectUpdate, flags);
1074  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
GLint dy
Definition: linetemp.h:97
BOOL IsWindow() const
Definition: atlwin.h:913
int WINAPI ScrollWindowEx(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT, _In_ UINT)
GLbitfield flags
Definition: glext.h:7161
HWND m_hWnd
Definition: atlwin.h:267
GLint dx
Definition: linetemp.h:97

◆ SendDlgItemMessage()

LRESULT ATL::CWindow::SendDlgItemMessage ( int  nID,
UINT  message,
WPARAM  wParam = 0,
LPARAM  lParam = 0 
)
inline

Definition at line 1076 of file atlwin.h.

1077  {
1080  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define SendDlgItemMessage
Definition: winuser.h:5822
WPARAM wParam
Definition: combotst.c:138
HWND m_hWnd
Definition: atlwin.h:267
LPARAM lParam
Definition: combotst.c:139

Referenced by CConfirmReplace::OnInitDialog().

◆ SendMessage() [1/2]

LRESULT ATL::CWindow::SendMessage ( UINT  message,
WPARAM  wParam = 0,
LPARAM  lParam = 0 
)
inline

Definition at line 1082 of file atlwin.h.

1083  {
1086  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
WPARAM wParam
Definition: combotst.c:138
HWND m_hWnd
Definition: atlwin.h:267
#define SendMessage
Definition: winuser.h:5823
LPARAM lParam
Definition: combotst.c:139

Referenced by _tWinMain(), CMainWindow::alignChildrenToMainWindow(), CTrayWindow::AlignControls(), CShellBrowser::BrowseToPath(), CTrayWindow::Close(), CDownloadManager::DownloadDlgProc(), CBaseBarSite::EnumBands(), CZipExtract::Extract(), CZipExtract::CExtractSettingsPage::ExtractEntry(), CBaseBarSite::GetBandObject(), GetFont(), GetHotKey(), GetIcon(), CBaseBarSite::GetInternalBandInfo(), CTrayNotifyWnd::GetMinimumSize(), GotoDlgCtrl(), CBaseBarSite::InsertBar(), CMainWindow::InsertSelectionFromHBITMAP(), NextDlgCtrl(), ImageModel::NotifyDimensionsChanged(), CSysPagerWnd::NotifyIcon(), ImageModel::NotifyImageChanged(), ToolsModel::NotifyToolChanged(), CTaskBarSettingsPage::OnApply(), CShellBrowser::OnClose(), CMainWindow::OnCommand(), CTrayClockWnd::OnContextMenu(), CTaskSwitchWnd::OnContextMenu(), CTrayWindow::OnContextMenu(), CToolBox::OnCreate(), CToolSettingsWindow::OnCreate(), CMainWindow::OnCreate(), CTrayNotifyWnd::OnCtxMenu(), CBaseBarSite::OnCustomDraw(), CFullscreenWindow::OnGetText(), CSearchBar::OnInitDialog(), CMainWindow::OnKeyDown(), CSelectionWindow::OnLButtonDown(), CImgAreaWindow::OnLButtonUp(), CImgAreaWindow::OnMouseLeave(), CSelectionWindow::OnMouseMove(), CImgAreaWindow::OnMouseMove(), CImgAreaWindow::OnRButtonUp(), CTrayNotifyWnd::OnRealign(), CTrayWindow::OnSettingChanged(), CMainWindow::OnSize(), CTrayWindow::OnSysChar(), CToolBox::OnSysColorChange(), CMainWindow::OnSysColorChange(), CTrayClockWnd::OnTaskbarSettingsChanged(), CToolBox::OnToolsModelToolChanged(), CToolSettingsWindow::OnToolsModelZoomChanged(), CToolSettingsWindow::OnVScroll(), PrevDlgCtrl(), Print(), PrintClient(), CTrayWindow::ProcessMouseTracking(), CShellBrowser::RelayCommands(), CShellBrowser::RelayMsgToShellView(), CBaseBarSite::RemoveBand(), CZipExtract::CExtractSettingsPage::s_BrowseCallbackProc(), CShellBrowser::SendControlMsg(), SendMessageToDescendantsCallback(), SendMessageToDescendantsCallbackDeep(), CBaseBarSite::SetDeskBarSite(), SetFont(), SetIcon(), CDownloaderProgress::SetMarquee(), ATL::CPropertyPageImpl< CExtractSettingsPage >::SetModified(), CDownloaderProgress::SetProgress(), SetRedraw(), CToolsBand::SetSite(), CBaseBarSite::ShowBand(), CDownloadManager::ThreadFunc(), CTrayWindow::UpdateFonts(), and CTrayClockWnd::UpdateWnd().

◆ SendMessage() [2/2]

static LRESULT ATL::CWindow::SendMessage ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
inlinestatic

Definition at line 1088 of file atlwin.h.

1089  {
1090  ATLASSERT(::IsWindow(hWnd));
1092  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
#define SendMessage
Definition: winuser.h:5823
LPARAM lParam
Definition: combotst.c:139

◆ SendMessageToDescendants()

void ATL::CWindow::SendMessageToDescendants ( UINT  message,
WPARAM  wParam = 0,
LPARAM  lParam = 0,
BOOL  bDeep = TRUE 
)
inline

Definition at line 1109 of file atlwin.h.

1110  {
1112  MSG msg;
1113  msg.message = message;
1114  msg.wParam = wParam;
1115  msg.lParam = lParam;
1116  if (bDeep)
1118  else
1120  }
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1827
GLenum GLuint GLenum GLsizei const GLchar * message
Definition: glext.h:5579
BOOL IsWindow() const
Definition: atlwin.h:913
WPARAM wParam
Definition: combotst.c:138
LONG_PTR LPARAM
Definition: windef.h:208
HWND m_hWnd
Definition: atlwin.h:267
static BOOL CALLBACK SendMessageToDescendantsCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1095
#define msg(x)
Definition: auth_time.c:54
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1101
LPARAM lParam
Definition: combotst.c:139

◆ SendMessageToDescendantsCallback()

static BOOL CALLBACK ATL::CWindow::SendMessageToDescendantsCallback ( HWND  hWnd,
LPARAM  lParam 
)
inlinestaticprivate

Definition at line 1095 of file atlwin.h.

1096  {
1098  return TRUE;
1099  }
Definition: tftpd.h:59
#define TRUE
Definition: types.h:120
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082
LPARAM lParam
Definition: combotst.c:139

Referenced by SendMessageToDescendants().

◆ SendMessageToDescendantsCallbackDeep()

static BOOL CALLBACK ATL::CWindow::SendMessageToDescendantsCallbackDeep ( HWND  hWnd,
LPARAM  lParam 
)
inlinestaticprivate

Definition at line 1101 of file atlwin.h.

1102  {
1105  return TRUE;
1106  }
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
Definition: tftpd.h:59
#define TRUE
Definition: types.h:120
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1101
LPARAM lParam
Definition: combotst.c:139

Referenced by SendMessageToDescendants().

◆ SendNotifyMessage()

BOOL ATL::CWindow::SendNotifyMessage ( UINT  message,
WPARAM  wParam = 0,
LPARAM  lParam = 0 
)
inline

Definition at line 1122 of file atlwin.h.

1123  {
1126  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
WPARAM wParam
Definition: combotst.c:138
HWND m_hWnd
Definition: atlwin.h:267
LPARAM lParam
Definition: combotst.c:139
#define SendNotifyMessage
Definition: winuser.h:5826

Referenced by CSysPagerWnd::OnCommand().

◆ SetActiveWindow()

HWND ATL::CWindow::SetActiveWindow ( )
inline

Definition at line 1128 of file atlwin.h.

1129  {
1132  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI SetActiveWindow(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSearchBar::UIActivateIO().

◆ SetCapture()

HWND ATL::CWindow::SetCapture ( )
inline

Definition at line 1134 of file atlwin.h.

1135  {
1138  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
HWND WINAPI SetCapture(_In_ HWND hWnd)

Referenced by CImgAreaWindow::OnLButtonDown(), and CImgAreaWindow::OnRButtonDown().

◆ SetClipboardViewer()

HWND ATL::CWindow::SetClipboardViewer ( )
inline

Definition at line 1140 of file atlwin.h.

1141  {
1144  }
HWND WINAPI SetClipboardViewer(_In_ HWND)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

◆ SetDlgCtrlID()

int ATL::CWindow::SetDlgCtrlID ( int  nID)
inline

Definition at line 1146 of file atlwin.h.

1147  {
1150  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define GWL_ID
Definition: winuser.h:853
BOOL IsWindow() const
Definition: atlwin.h:913
#define SetWindowLong
Definition: winuser.h:5833
HWND m_hWnd
Definition: atlwin.h:267

◆ SetDlgItemInt()

BOOL ATL::CWindow::SetDlgItemInt ( int  nID,
UINT  nValue,
BOOL  bSigned = TRUE 
)
inline

Definition at line 1152 of file atlwin.h.

1153  {
1155  return ::SetDlgItemInt(m_hWnd, nID, nValue, bSigned);
1156  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ SetDlgItemText()

BOOL ATL::CWindow::SetDlgItemText ( int  nID,
LPCTSTR  lpszString 
)
inline

Definition at line 1158 of file atlwin.h.

1159  {
1161  return ::SetDlgItemText(m_hWnd, nID, lpszString);
1162  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define SetDlgItemText
Definition: winuser.h:5829
HWND m_hWnd
Definition: atlwin.h:267

◆ SetFocus()

HWND ATL::CWindow::SetFocus ( )
inline

Definition at line 1164 of file atlwin.h.

1165  {
1168  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND WINAPI SetFocus(_In_opt_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CMainWindow::HandleTabOrder(), CTrayWindow::MinimizeAll(), CEditCompatModes::OnAdd(), CShellBrowser::OnSetFocus(), and CApplicationView::SetFocusOnSearchBar().

◆ SetFont()

void ATL::CWindow::SetFont ( HFONT  hFont,
BOOL  bRedraw = TRUE 
)
inline

Definition at line 1170 of file atlwin.h.

1171  {
1174  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WPARAM
Definition: windef.h:207
HFONT hFont
Definition: main.c:53
LONG_PTR LPARAM
Definition: windef.h:208
HWND m_hWnd
Definition: atlwin.h:267
#define WM_SETFONT
Definition: winuser.h:1637
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

Referenced by CStartButton::UpdateFont().

◆ SetHotKey()

int ATL::CWindow::SetHotKey ( WORD  wVirtualKeyCode,
WORD  wModifiers 
)
inline

Definition at line 1176 of file atlwin.h.

1177  {
1179  return ::SendMessage(m_hWnd, WM_SETHOTKEY, MAKEWPARAM(wVirtualKeyCode, wModifiers), 0);
1180  }
#define WM_SETHOTKEY
Definition: winuser.h:1639
#define MAKEWPARAM(l, h)
Definition: winuser.h:3989
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define SendMessage
Definition: winuser.h:5823

◆ SetIcon()

HICON ATL::CWindow::SetIcon ( HICON  hIcon,
BOOL  bBigIcon = TRUE 
)
inline

Definition at line 1182 of file atlwin.h.

1183  {
1185  return (HICON)::SendMessage(m_hWnd, WM_SETICON, (WPARAM)bBigIcon, (LPARAM)hIcon);
1186  }
static HICON
Definition: imagelist.c:84
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WPARAM
Definition: windef.h:207
LONG_PTR LPARAM
Definition: windef.h:208
HWND m_hWnd
Definition: atlwin.h:267
HICON hIcon
Definition: msconfig.c:44
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ SetMenu()

BOOL ATL::CWindow::SetMenu ( HMENU  hMenu)
inline

Definition at line 1188 of file atlwin.h.

1189  {
1191  return ::SetMenu(m_hWnd, hMenu);
1192  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU)
HWND m_hWnd
Definition: atlwin.h:267

◆ SetParent()

HWND ATL::CWindow::SetParent ( HWND  hWndNewParent)
inline

Definition at line 1194 of file atlwin.h.

1195  {
1197  return ::SetParent(m_hWnd, hWndNewParent);
1198  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
HWND WINAPI SetParent(_In_ HWND, _In_opt_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSearchBar::SetSite().

◆ SetRedraw()

void ATL::CWindow::SetRedraw ( BOOL  bRedraw = TRUE)
inline

Definition at line 1200 of file atlwin.h.

1201  {
1203  ::SendMessage(m_hWnd, WM_SETREDRAW, (WPARAM)bRedraw, 0);
1204  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define WM_SETREDRAW
Definition: winuser.h:1603
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WPARAM
Definition: windef.h:207
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1082

◆ SetScrollInfo()

int ATL::CWindow::SetScrollInfo ( int  nBar,
LPSCROLLINFO  lpScrollInfo,
BOOL  bRedraw = TRUE 
)
inline

Definition at line 1206 of file atlwin.h.

1207  {
1209  return ::SetScrollInfo(m_hWnd, nBar, lpScrollInfo, bRedraw);
1210  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL)

◆ SetScrollPos()

int ATL::CWindow::SetScrollPos ( int  nBar,
int  nPos,
BOOL  bRedraw = TRUE 
)
inline

Definition at line 1212 of file atlwin.h.

1213  {
1215  return ::SetScrollPos(m_hWnd, nBar, nPos, bRedraw);
1216  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
int WINAPI SetScrollPos(_In_ HWND, _In_ int, _In_ int, _In_ BOOL)

◆ SetScrollRange()

BOOL ATL::CWindow::SetScrollRange ( int  nBar,
int  nMinPos,
int  nMaxPos,
BOOL  bRedraw = TRUE 
)
inline

Definition at line 1218 of file atlwin.h.

1219  {
1221  return ::SetScrollRange(m_hWnd, nBar, nMinPos, nMaxPos, bRedraw);
1222  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI SetScrollRange(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ BOOL)

◆ SetTimer()

UINT_PTR ATL::CWindow::SetTimer ( UINT_PTR  nIDEvent,
UINT  nElapse,
void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD = NULL 
)
inline

Definition at line 1224 of file atlwin.h.

1225  {
1227  return ::SetTimer(m_hWnd, nIDEvent, nElapse, reinterpret_cast<TIMERPROC>(lpfnTimer));
1228  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTrayClockWnd::CalibrateTimer(), CAppScrnshotPreview::DisplayLoading(), CTaskSwitchWnd::OnCreate(), CTrayWindow::OnCreate(), CTrayWindow::OnMouseMove(), CTrayWindow::OnTaskbarSettingsChanged(), CTrayWindow::ProcessAutoHide(), CTrayWindow::ProcessMouseTracking(), CTrayClockWnd::ResetTime(), and CMainWindow::SearchTextChanged().

◆ SetWindowContextHelpId()

BOOL ATL::CWindow::SetWindowContextHelpId ( DWORD  dwContextHelpId)
inline

Definition at line 1230 of file atlwin.h.

1231  {
1233  return ::SetWindowContextHelpId(m_hWnd, dwContextHelpId);
1234  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI SetWindowContextHelpId(_In_ HWND, _In_ DWORD)
HWND m_hWnd
Definition: atlwin.h:267

◆ SetWindowLong()

LONG ATL::CWindow::SetWindowLong ( int  nIndex,
LONG  dwNewLong 
)
inline

Definition at line 1236 of file atlwin.h.

1237  {
1239  return ::SetWindowLong(m_hWnd, nIndex, dwNewLong);
1240  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define SetWindowLong
Definition: winuser.h:5833
HWND m_hWnd
Definition: atlwin.h:267

Referenced by ModifyStyle(), and ModifyStyleEx().

◆ SetWindowLongPtr()

LONG_PTR ATL::CWindow::SetWindowLongPtr ( int  nIndex,
LONG_PTR  dwNewLong 
)
inline

Definition at line 1242 of file atlwin.h.

1243  {
1245  return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong);
1246  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define SetWindowLongPtr
Definition: treelist.c:70
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CZipExtract::CExtractSettingsPage::OnWizardNext(), and CShellBrowser::WindowProc().

◆ SetWindowPlacement()

BOOL ATL::CWindow::SetWindowPlacement ( const WINDOWPLACEMENT lpwndpl)
inline

Definition at line 1248 of file atlwin.h.

1249  {
1252  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI SetWindowPlacement(_In_ HWND hWnd, _In_ const WINDOWPLACEMENT *)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by _tWinMain().

◆ SetWindowPos()

BOOL ATL::CWindow::SetWindowPos ( HWND  hWndInsertAfter,
int  x,
int  y,
int  cx,
int  cy,
UINT  nFlags 
)
inline

Definition at line 1254 of file atlwin.h.

1255  {
1257  return ::SetWindowPos(m_hWnd, hWndInsertAfter, x, y, cx, cy, nFlags);
1258  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:585
HWND m_hWnd
Definition: atlwin.h:267
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:585
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)

Referenced by CTrayWindow::CheckTrayWndPosition(), CDefView::CreateViewWindow3(), CToolbarProxy::Initialize(), CTrayWindow::Lock(), CBaseBarSite::OnCustomDraw(), CTrayWindow::OnRebarAutoSize(), CSearchBar::OnSize(), CTrayWindow::OnTaskbarSettingsChanged(), CTrayWindow::OnThemeChanged(), CTrayWindow::ProcessAutoHide(), CShellBrowser::RepositionBars(), and CTrayNotifyWnd::Size().

◆ SetWindowRgn()

int ATL::CWindow::SetWindowRgn ( HRGN  hRgn,
BOOL  bRedraw = FALSE 
)
inline

Definition at line 1260 of file atlwin.h.

1261  {
1263  return ::SetWindowRgn(m_hWnd, hRgn, bRedraw);
1264  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static HRGN hRgn
Definition: mapping.c:33
int WINAPI SetWindowRgn(_In_ HWND, _In_opt_ HRGN, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTrayWindow::ApplyClipping().

◆ SetWindowText()

BOOL ATL::CWindow::SetWindowText ( LPCTSTR  lpszString)
inline

Definition at line 1266 of file atlwin.h.

1267  {
1269  return ::SetWindowText(m_hWnd, lpszString);
1270  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
#define SetWindowText
Definition: winuser.h:5837

Referenced by CShellBrowser::BrowseToPath(), CMainWindow::saveImage(), SetBitmapAndInfo(), CShellBrowser::SetStatusTextSB(), and CTrayClockWnd::UpdateWnd().

◆ SetWindowWord()

WORD ATL::CWindow::SetWindowWord ( int  nIndex,
WORD  wNewWord 
)
inline

Definition at line 1272 of file atlwin.h.

1273  {
1275  if (nIndex >= -4)
1276  return ::SetWindowLong(m_hWnd, nIndex - 2, MAKELONG(LOWORD(::GetWindowLong(m_hWnd, nIndex - 2)), wNewWord));
1277  else
1278  return ::SetWindowLong(m_hWnd, nIndex, MAKELONG(wNewWord, HIWORD(::GetWindowLong(m_hWnd, nIndex))));
1279  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
#define SetWindowLong
Definition: winuser.h:5833
#define MAKELONG(a, b)
Definition: typedefs.h:249
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:756
HWND m_hWnd
Definition: atlwin.h:267
#define HIWORD(l)
Definition: typedefs.h:247
#define LOWORD(l)
Definition: pedump.c:82

◆ ShowCaret()

BOOL ATL::CWindow::ShowCaret ( )
inline

Definition at line 1281 of file atlwin.h.

1282  {
1285  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI ShowCaret(_In_opt_ HWND)

◆ ShowOwnedPopups()

BOOL ATL::CWindow::ShowOwnedPopups ( BOOL  bShow = TRUE)
inline

Definition at line 1287 of file atlwin.h.

1288  {
1291  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI ShowOwnedPopups(_In_ HWND, _In_ BOOL)

◆ ShowScrollBar()

BOOL ATL::CWindow::ShowScrollBar ( UINT  nBar,
BOOL  bShow = TRUE 
)
inline

Definition at line 1293 of file atlwin.h.

1294  {
1296  return ::ShowScrollBar(m_hWnd, nBar, bShow);
1297  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI ShowScrollBar(_In_ HWND, _In_ int, _In_ BOOL)
HWND m_hWnd
Definition: atlwin.h:267

◆ ShowWindow()

◆ ShowWindowAsync()

BOOL ATL::CWindow::ShowWindowAsync ( int  nCmdShow)
inline

Definition at line 1305 of file atlwin.h.

1306  {
1308  return ::ShowWindowAsync(m_hWnd, nCmdShow);
1309  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI ShowWindowAsync(_In_ HWND, _In_ int)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CTaskSwitchWnd::HandleTaskItemClick(), CTrayWindow::MinimizeWindowsProc(), and CTrayWindow::RestoreAll().

◆ UpdateWindow()

BOOL ATL::CWindow::UpdateWindow ( )
inline

Definition at line 1311 of file atlwin.h.

1312  {
1315  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI UpdateWindow(_In_ HWND)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CDefView::CreateViewWindow3(), CShellBrowser::Initialize(), MainWindowLoop(), and CImgAreaWindow::OnMouseMove().

◆ ValidateRect()

BOOL ATL::CWindow::ValidateRect ( LPCRECT  lpRect)
inline

Definition at line 1317 of file atlwin.h.

1318  {
1320  return ::ValidateRect(m_hWnd, lpRect);
1321  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
BOOL WINAPI ValidateRect(_In_opt_ HWND, _In_opt_ LPCRECT)
HWND m_hWnd
Definition: atlwin.h:267

◆ ValidateRgn()

BOOL ATL::CWindow::ValidateRgn ( HRGN  hRgn)
inline

Definition at line 1323 of file atlwin.h.

1324  {
1327  }
BOOL WINAPI ValidateRgn(_In_ HWND, _In_opt_ HRGN)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static HRGN hRgn
Definition: mapping.c:33
HWND m_hWnd
Definition: atlwin.h:267

◆ WinHelp()

BOOL ATL::CWindow::WinHelp ( LPCTSTR  lpszHelp,
UINT  nCmd = HELP_CONTEXT,
DWORD  dwData = 0 
)
inline

Definition at line 1329 of file atlwin.h.

1330  {
1332  return ::WinHelp(m_hWnd, lpszHelp, nCmd, dwData);
1333  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:913
static HANDLE ULONG_PTR dwData
Definition: file.c:35
HWND m_hWnd
Definition: atlwin.h:267
#define WinHelp
Definition: winuser.h:5844

Member Data Documentation

◆ m_hWnd

HWND ATL::CWindow::m_hWnd

Definition at line 267 of file atlwin.h.

Referenced by _tWinMain(), CTrayWindow::AlignControls(), ArrangeIconicWindows(), Attach(), BeginPaint(), BringWindowToTop(), CShellBrowser::BrowseToPath(), CenterWindow(), ChangeClipboardChain(), CheckDlgButton(), CheckRadioButton(), ChildWindowFromPoint(), ChildWindowFromPointEx(), ClientToScreen(), CTrayWindow::Close(), CToolsBand::CloseDW(), CStartButton::Create(), CSearchBar::Create(), CComboBox::Create(), Create(), CMainWindow::CreateApplicationView(), CreateCaret(), CreateGrayCaret(), CDefView::CreateList(), CreateSolidCaret(), CMainWindow::CreateStatusBar(), CMainWindow::CreateTreeView(), CDefView::CreateViewWindow3(), CMainWindow::CreateVSplitter(), CWindow(), DeferWindowPos(), CDefView::DestroyViewWindow(), DestroyWindow(), Detach(), CAppScrnshotPreview::DisplayImage(), DlgDirList(), DlgDirListComboBox(), DlgDirSelect(), DlgDirSelectComboBox(), CDefView::DoActivate(), CTrayWindow::DoExitWindows(), CShellBrowser::DoFolderOptions(), DragAcceptFiles(), CDefView::DragEnter(), CDefView::DragLeave(), CTrayClockWnd::DrawBackground(), DrawMenuBar(), CDefView::Drop(), EnableScrollBar(), EnableWindow(), EndPaint(), CTrayWindow::ExecContextMenuCmd(), CTrayWindow::ExecResourceCmd(), CZipExtract::CExtractSettingsPage::ExtractEntry(), CDefView::FillList(), CTrayWindow::FitToRebar(), FlashWindow(), CToolsBand::GetBandInfo(), CShellBrowser::GetBorderDW(), GetClientRect(), CShellBrowser::GetControlWindow(), GetDC(), GetDCEx(), GetDescendantWindow(), GetDlgControl(), GetDlgCtrlID(), GetDlgHost(), GetDlgItem(), GetDlgItemInt(), GetDlgItemText(), GetExStyle(), GetFont(), GetHotKey(), CTrayWindow::GetHWND(), GetIcon(), CDefView::GetItemObject(), GetLastActivePopup(), GetMenu(), GetNextDlgGroupItem(), GetNextDlgTabItem(), GetParent(), GetScrollInfo(), GetScrollPos(), GetScrollRange(), GetStyle(), GetSystemMenu(), GetTopLevelParent(), GetTopLevelWindow(), GetTopWindow(), CTrayWindow::GetTrayWindow(), GetUpdateRect(), GetUpdateRgn(), CSearchBar::GetWindow(), CToolsBand::GetWindow(), CBaseBarSite::GetWindow(), CTrayClockWnd::GetWindow(), CDefView::GetWindow(), CTrayNotifyWnd::GetWindow(), CShellBrowser::GetWindow(), GetWindow(), CTaskSwitchWnd::GetWindow(), CTrayWindow::GetWindow(), GetWindowContextHelpId(), GetWindowDC(), GetWindowLong(), GetWindowLongPtr(), GetWindowPlacement(), GetWindowProcessID(), GetWindowRect(), GetWindowRgn(), GetWindowText(), GetWindowTextLength(), GetWindowThreadID(), GetWindowWord(), GotoDlgCtrl(), CTrayWindow::HandleCommand(), CTrayWindow::HandleHotKey(), HideCaret(), HiliteMenuItem(), CTrayWindow::if(), CTrayClockWnd::Initialize(), CStartButton::Initialize(), CSysPagerWnd::Initialize(), CShellBrowser::Initialize(), CTrayNotifyWnd::Initialize(), CTaskSwitchWnd::Initialize(), CMainWindow::InsertSelectionFromHBITMAP(), Invalidate(), InvalidateRect(), InvalidateRgn(), CDefView::InvokeContextMenuCommand(), IsChild(), IsDialogMessage(), IsDlgButtonChecked(), IsIconic(), IsParentDialog(), CTrayWindow::IsSpecialHWND(), IsWindow(), IsWindowEnabled(), IsWindowUnicode(), IsWindowVisible(), IsZoomed(), KillTimer(), LockWindowUpdate(), MapWindowPoints(), MessageBox(), ModifyStyle(), ModifyStyleEx(), MoveWindow(), NextDlgCtrl(), CShellBrowser::OnAboutReactOS(), CZipExtract::CExtractSettingsPage::OnBrowse(), CZipPassword::OnButton(), CMainWindow::OnCommand(), CTrayWindow::OnCommand(), CDefView::OnContextMenu(), CTrayWindow::OnContextMenu(), CToolBox::OnCreate(), CTrayClockWnd::OnCreate(), CTrayNotifyWnd::OnCreate(), CSysPagerWnd::OnCreate(), CDefView::OnCreate(), CTaskSwitchWnd::OnCreate(), CTrayWindow::OnCreate(), CTaskBarSettingsPage::OnCustomizeTrayIcons(), CDefView::OnDestroy(), CTaskSwitchWnd::OnDestroy(), CShellBrowser::OnDisconnectNetworkDrive(), CMainWindow::OnDropFiles(), CSysPagerWnd::OnEraseBackground(), CTrayNotifyWnd::OnEraseBackground(), CTaskSwitchWnd::OnEraseBackground(), CImgAreaWindow::OnEraseBkGnd(), CTrayNotifyWnd::OnGetMinimumSize(), CConfirmReplace::OnInitDialog(), CZipPassword::OnInitDialog(), CMainWindow::OnKeyDown(), CImgAreaWindow::OnKeyDown(), CTrayClockWnd::OnLButtonDblClick(), CShellBrowser::OnMapNetworkDrive(), CImgAreaWindow::OnMouseMove(), CTrayWindow::OnNcLButtonDown(), CTrayWindow::OnNcRButtonUp(), CBaseBarSite::OnNotify(), ATL::CPropertyPageImpl< CExtractSettingsPage >::OnNotify(), CDefView::OnNotify(), CTrayWindow::OnNotify(), CShellBrowser::OnOrganizeFavorites(), CZipExtract::CExtractSettingsPage::OnPassword(), CTrayNotifyWnd::OnRealign(), CTrayWindow::OnRebarAutoSize(), CShellBrowser::OnSearch(), CSearchBar::OnSearchButtonClicked(), CShellBrowser::OnSettingChange(), CShellBrowser::OnSize(), CStartMenuSettingsPage::OnStartMenuCustomize(), CTrayWindow::OnSysChar(), CMainWindow::OnSysColorChange(), CTrayNotifyWnd::OnThemeChanged(), CTrayClockWnd::OnThemeChanged(), CTaskSwitchWnd::OnThemeChanged(), CTrayWindow::OnThemeChanged(), CBaseBarSite::OnWinEvent(), CTrayWindow::Open(), OpenClipboard(), operator HWND(), PostMessage(), PrevDlgCtrl(), Print(), PrintClient(), CAppScrnshotPreview::ProcessWindowMessage(), CTrayWindow::QueryContextMenu(), RedrawWindow(), ReleaseDC(), CAppInfoDisplay::ResizeChildren(), ResizeClient(), ScreenToClient(), ScrollWindow(), ScrollWindowEx(), SendDlgItemMessage(), SendMessage(), SendMessageToDescendants(), SendNotifyMessage(), SetActiveWindow(), SetCapture(), SetClipboardViewer(), CBaseBarSite::SetDeskBarSite(), SetDlgCtrlID(), SetDlgItemInt(), SetDlgItemText(), SetFocus(), SetFont(), SetHotKey(), SetIcon(), SetMenu(), CShellBrowser::SetMenuSB(), ATL::CPropertyPageImpl< CExtractSettingsPage >::SetModified(), SetParent(), SetRedraw(), SetScrollInfo(), SetScrollPos(), SetScrollRange(), CSearchBar::SetSite(), SetTimer(), SetWindowContextHelpId(), SetWindowLong(), SetWindowLongPtr(), SetWindowPlacement(), SetWindowPos(), SetWindowRgn(), SetWindowText(), SetWindowWord(), CMainWindow::ShowAboutDlg(), ShowCaret(), CToolsBand::ShowDW(), ShowOwnedPopups(), ShowScrollBar(), ShowWindow(), ShowWindowAsync(), CFindFolder::StartSearch(), CTrayWindow::TrackCtxMenu(), CTrayWindow::TrackMenu(), CDefView::TranslateAccelerator(), CSearchBar::TranslateAcceleratorIO(), CShellBrowser::TranslateAcceleratorSB(), CTrayWindow::TrayPropertiesThread(), UpdateWindow(), CTrayClockWnd::UpdateWnd(), ValidateRect(), ValidateRgn(), CShellBrowser::WindowProc(), WinHelp(), and CDefView::~CDefView().

◆ rcDefault

RECT ATL::CWindow::rcDefault
static

Definition at line 268 of file atlwin.h.


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