ReactOS  0.4.15-dev-5137-g826bd41
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:941
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:941
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CImgAreaWindow::OnPaint(), CTrayClockWnd::OnPaint(), CDownloaderProgress::OnPaint(), CTrayShowDesktopButton::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:941
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;
323  int xPos = wndCenterRect.left + ((wndCenterWidth - wndWidth + 1) >> 1);
324  int yPos = wndCenterRect.top + ((wndCenterHeight - wndHeight + 1) >> 1);
325 
326  if (!(::GetWindowLong(hWndCenter, GWL_STYLE) & WS_CHILD))
327  {
328  MONITORINFO mi;
329  mi.cbSize = sizeof(mi);
330  HMONITOR hMonitor = MonitorFromWindow(hWndCenter, MONITOR_DEFAULTTOPRIMARY);
331  GetMonitorInfo(hMonitor, &mi);
332 
333  if (xPos + wndWidth > mi.rcWork.right)
334  {
335  xPos = mi.rcWork.right - wndWidth;
336  }
337  else if (xPos < mi.rcWork.left)
338  {
339  xPos = mi.rcWork.left;
340  }
341 
342  if (yPos + wndHeight > mi.rcWork.bottom)
343  {
344  yPos = mi.rcWork.bottom - wndHeight;
345  }
346  if (yPos < mi.rcWork.top)
347  {
348  yPos = mi.rcWork.top;
349  }
350  }
352  xPos,
353  yPos,
354  wndWidth, wndHeight, TRUE);
355  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:941
LONG top
Definition: windef.h:307
static MONITORINFO mi
Definition: win.c:7338
#define WS_CHILD
Definition: pedump.c:617
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:810
#define GetMonitorInfo
Definition: winuser.h:5781
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:784
HWND m_hWnd
Definition: atlwin.h:267
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
#define GWL_STYLE
Definition: winuser.h:846
DWORD cbSize
Definition: winuser.h:3774
HMONITOR WINAPI MonitorFromWindow(HWND, DWORD)
#define NULL
Definition: types.h:112
LONG bottom
Definition: windef.h:309
CWindow GetParent() const
Definition: atlwin.h:694

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 357 of file atlwin.h.

358  {
361  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 363 of file atlwin.h.

364  {
366  return ::CheckDlgButton(m_hWnd, nIDButton, nCheck);
367  }
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 369 of file atlwin.h.

370  {
372  return ::CheckRadioButton(m_hWnd, nIDFirstButton, nIDLastButton, nIDCheckButton);
373  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 375 of file atlwin.h.

376  {
379  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 381 of file atlwin.h.

382  {
385  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 387 of file atlwin.h.

388  {
391  }
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 393 of file atlwin.h.

394  {
395  if (lpRect == NULL)
396  return FALSE;
398  POINT leftTop = {lpRect->left, lpRect->top};
399  POINT rightBottom = {lpRect->right, lpRect->bottom};
400  BOOL success = ::ClientToScreen(m_hWnd, &leftTop) && ::ClientToScreen(m_hWnd, &rightBottom);
401  if (success)
402  {
403  lpRect->left = leftTop.x;
404  lpRect->top = leftTop.y;
405  lpRect->right = rightBottom.x;
406  lpRect->bottom = rightBottom.y;
407  }
408  return success;
409  }
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:941
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:387
#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 411 of file atlwin.h.

412  {
413  HWND hWnd;
414  ATLASSERT(m_hWnd == NULL);
415  hWnd = ::CreateWindowEx(dwExStyle,
416  lpstrWndClass,
417  szWindowName,
418  dwStyle,
419  rect.m_lpRect->left,
420  rect.m_lpRect->top,
421  rect.m_lpRect->right - rect.m_lpRect->left,
422  rect.m_lpRect->bottom - rect.m_lpRect->top,
423  hWndParent,
424  MenuOrID.m_hMenu,
425  _AtlBaseModule.GetModuleInstance(),
426  lpCreateParam);
427  if (hWnd != NULL)
428  m_hWnd = hWnd;
429  return hWnd;
430  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
HWND hWnd
Definition: settings.c:17
& rect
Definition: startmenu.cpp:1413
#define CreateWindowEx
Definition: winuser.h:5745
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 432 of file atlwin.h.

433  {
435  return ::CreateCaret(m_hWnd, pBitmap, 0, 0);
436  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 438 of file atlwin.h.

439  {
441  return ::CreateCaret(m_hWnd, (HBITMAP)1, nWidth, nHeight);
442  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 444 of file atlwin.h.

445  {
447  return ::CreateCaret(m_hWnd, (HBITMAP)0, nWidth, nHeight);
448  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 450 of file atlwin.h.

451  {
453  return ::DeferWindowPos(hWinPosInfo, m_hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
454  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 456 of file atlwin.h.

457  {
459 
460  if (!::DestroyWindow(m_hWnd))
461  return FALSE;
462 
463  m_hWnd = NULL;
464  return TRUE;
465  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:941
#define FALSE
Definition: types.h:117
HWND m_hWnd
Definition: atlwin.h:267
BOOL DestroyWindow()
Definition: atlwin.h:456
#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 467 of file atlwin.h.

468  {
469  HWND hWnd = m_hWnd;
470  m_hWnd = NULL;
471  return hWnd;
472  }
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 474 of file atlwin.h.

475  {
477  return ::DlgDirList(m_hWnd, lpPathSpec, nIDListBox, nIDStaticPath, nFileType);
478  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define DlgDirList
Definition: winuser.h:5756
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267

◆ DlgDirListComboBox()

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

Definition at line 480 of file atlwin.h.

481  {
483  return ::DlgDirListComboBox(m_hWnd, lpPathSpec, nIDComboBox, nIDStaticPath, nFileType);
484  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define DlgDirListComboBox
Definition: winuser.h:5757
HWND m_hWnd
Definition: atlwin.h:267

◆ DlgDirSelect()

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

Definition at line 486 of file atlwin.h.

487  {
489  return ::DlgDirSelectEx(m_hWnd, lpString, nCount, nIDListBox);
490  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define DlgDirSelectEx
Definition: winuser.h:5759
HWND m_hWnd
Definition: atlwin.h:267

◆ DlgDirSelectComboBox()

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

Definition at line 492 of file atlwin.h.

493  {
495  return ::DlgDirSelectComboBoxEx(m_hWnd, lpString, nCount, nIDComboBox);
496  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define DlgDirSelectComboBoxEx
Definition: winuser.h:5758
HWND m_hWnd
Definition: atlwin.h:267

◆ DragAcceptFiles()

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

Definition at line 498 of file atlwin.h.

499  {
501 // FIXME following line requires shellapi.h
502 // ::DragAcceptFiles(m_hWnd, bAccept);
503  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267

◆ DrawMenuBar()

BOOL ATL::CWindow::DrawMenuBar ( )
inline

Definition at line 505 of file atlwin.h.

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

◆ EnableScrollBar()

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

Definition at line 511 of file atlwin.h.

512  {
514  return ::EnableScrollBar(m_hWnd, uSBFlags, uArrowFlags);
515  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 517 of file atlwin.h.

518  {
521  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 523 of file atlwin.h.

524  {
526  ::EndPaint(m_hWnd, lpPaint);
527  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
void EndPaint(LPPAINTSTRUCT lpPaint)
Definition: atlwin.h:523
HWND m_hWnd
Definition: atlwin.h:267

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

◆ FlashWindow()

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

Definition at line 529 of file atlwin.h.

530  {
533  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 541 of file atlwin.h.

542  {
545  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:941
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 547 of file atlwin.h.

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

Referenced by CTrayWindow::DrawShowDesktopButton().

◆ GetDescendantWindow()

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

Definition at line 571 of file atlwin.h.

572  {
574  IDHWNDPAIR idHWndPair;
575  idHWndPair.nID = nID;
576  idHWndPair.hWnd = NULL;
578  return idHWndPair.hWnd;
579  }
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:941
static BOOL CALLBACK GetDescendantWindowCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:559
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 559 of file atlwin.h.

560  {
561  if (::GetWindowLong(hWnd, GWL_ID) == ((PIDHWNDPAIR)lParam)->nID)
562  {
563  ((PIDHWNDPAIR)lParam)->hWnd = hWnd;
564  return FALSE;
565  }
567  return (((PIDHWNDPAIR)lParam)->hWnd == NULL);
568  }
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:559
#define FALSE
Definition: types.h:117
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:784
#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 581 of file atlwin.h.

582  {
584  return E_FAIL;//FIXME stub
585  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define E_FAIL
Definition: ddrawi.h:102
HWND m_hWnd
Definition: atlwin.h:267

◆ GetDlgCtrlID()

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

Definition at line 587 of file atlwin.h.

588  {
591  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 593 of file atlwin.h.

594  {
596  return E_FAIL;//FIXME stub
597  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#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 605 of file atlwin.h.

609  {
611  return ::GetDlgItemInt(m_hWnd, nID, lpTrans, bSigned);
612  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 614 of file atlwin.h.

618  {
621  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define GetDlgItemText
Definition: winuser.h:5775
HWND m_hWnd
Definition: atlwin.h:267
_In_ int nMaxCount
Definition: winuser.h:4867

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 636 of file atlwin.h.

639  {
640  HWND item = GetDlgItem(nID);
641  if (!item)
642  return FALSE;
643  return CWindow(item).GetWindowText(bstrText);
644  }
CWindow(HWND hWnd=NULL)
Definition: atlwin.h:271
#define FALSE
Definition: types.h:117
HWND GetDlgItem(_In_ int nID) const
Definition: atlwin.h:599
static ATOM item
Definition: dde.c:856

◆ GetExStyle()

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

Definition at line 646 of file atlwin.h.

647  {
650  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define GWL_EXSTYLE
Definition: winuser.h:845
#define GetWindowLong
Definition: winuser.h:5786
HWND m_hWnd
Definition: atlwin.h:267

◆ GetFont()

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

Definition at line 652 of file atlwin.h.

653  {
655  return (HFONT)::SendMessage(m_hWnd, WM_GETFONT, 0, 0);
656  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define WM_GETFONT
Definition: winuser.h:1641
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:1110

◆ GetHotKey()

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

Definition at line 658 of file atlwin.h.

659  {
661  return (DWORD)::SendMessage(m_hWnd, WM_GETHOTKEY, 0, 0);
662  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define WM_GETHOTKEY
Definition: winuser.h:1643
BOOL IsWindow() const
Definition: atlwin.h:941
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:1110

◆ GetIcon()

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

Definition at line 664 of file atlwin.h.

665  {
667  return (HICON)::SendMessage(m_hWnd, WM_GETICON, (WPARAM)bBigIcon, 0);
668  }
static HICON
Definition: imagelist.c:84
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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:1110

◆ GetLastActivePopup()

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

Definition at line 670 of file atlwin.h.

671  {
674  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 676 of file atlwin.h.

677  {
680  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 682 of file atlwin.h.

683  {
685  return ::GetNextDlgGroupItem(m_hWnd, hWndCtl, bPrevious);
686  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 688 of file atlwin.h.

689  {
691  return ::GetNextDlgTabItem(m_hWnd, hWndCtl, bPrevious);
692  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 700 of file atlwin.h.

701  {
703  return ::GetScrollInfo(m_hWnd, nBar, lpScrollInfo);
704  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 706 of file atlwin.h.

707  {
710  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 712 of file atlwin.h.

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

◆ GetStyle()

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

Definition at line 718 of file atlwin.h.

719  {
722  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define GetWindowLong
Definition: winuser.h:5786
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 724 of file atlwin.h.

725  {
727  return ::GetSystemMenu(m_hWnd, bRevert);
728  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 730 of file atlwin.h.

731  {
733 
735  HWND hWndTmp;
736  while ((hWndTmp = ::GetParent(hWndParent)) != NULL)
737  hWndParent = hWndTmp;
738 
739  return hWndParent;
740  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112
CWindow GetParent() const
Definition: atlwin.h:694

◆ GetTopLevelWindow()

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

Definition at line 742 of file atlwin.h.

743  {
745  return NULL;//FIXME stub
746  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
#define NULL
Definition: types.h:112

◆ GetTopWindow()

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

Definition at line 748 of file atlwin.h.

749  {
752  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 754 of file atlwin.h.

755  {
757  return ::GetUpdateRect(m_hWnd, lpRect, bErase);
758  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 760 of file atlwin.h.

761  {
764  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 766 of file atlwin.h.

767  {
769  return ::GetWindow(m_hWnd, nCmd);
770  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
HWND m_hWnd
Definition: atlwin.h:267

◆ GetWindowContextHelpId()

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

Definition at line 772 of file atlwin.h.

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

◆ GetWindowDC()

HDC ATL::CWindow::GetWindowDC ( )
inline

Definition at line 778 of file atlwin.h.

779  {
782  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 784 of file atlwin.h.

785  {
788  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define GetWindowLong
Definition: winuser.h:5786
HWND m_hWnd
Definition: atlwin.h:267

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

◆ GetWindowLongPtr()

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

Definition at line 790 of file atlwin.h.

791  {
794  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 796 of file atlwin.h.

797  {
800  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 802 of file atlwin.h.

803  {
805  DWORD processID;
806  ::GetWindowThreadProcessId(m_hWnd, &processID);
807  return processID;
808  }
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 816 of file atlwin.h.

817  {
820  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 822 of file atlwin.h.

825  {
827  return ::GetWindowText(m_hWnd, lpszStringBuf, nMaxCount);
828  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define GetWindowText
Definition: winuser.h:5788
HWND m_hWnd
Definition: atlwin.h:267
_In_ int nMaxCount
Definition: winuser.h:4867

◆ GetWindowText() [2/2]

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

Definition at line 840 of file atlwin.h.

842  {
845  if (!::SysReAllocStringLen(&bstrText, NULL, length))
846  return FALSE;
847  if (::GetWindowTextW(m_hWnd, bstrText, length + 1))
848  return TRUE;
849  ::SysFreeString(bstrText);
850  bstrText = NULL;
851  return FALSE;
852  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:941
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 854 of file atlwin.h.

855  {
858  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
#define GetWindowTextLength
Definition: winuser.h:5789

◆ GetWindowThreadID()

DWORD ATL::CWindow::GetWindowThreadID ( )
inline

Definition at line 860 of file atlwin.h.

861  {
864  }
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 866 of file atlwin.h.

867  {
869  return (WORD)::GetWindowLong(m_hWnd, nIndex);
870  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
unsigned short WORD
Definition: ntddk_ex.h:93
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:784
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 872 of file atlwin.h.

873  {
876  }
#define WM_NEXTDLGCTL
Definition: winuser.h:1633
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1110

◆ HideCaret()

BOOL ATL::CWindow::HideCaret ( )
inline

Definition at line 878 of file atlwin.h.

879  {
882  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 884 of file atlwin.h.

885  {
887  return ::HiliteMenuItem(m_hWnd, hMenu, uHiliteItem, uHilite);
888  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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

◆ InvalidateRgn()

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

Definition at line 902 of file atlwin.h.

903  {
905  ::InvalidateRgn(m_hWnd, hRgn, bErase);
906  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
static HRGN hRgn
Definition: mapping.c:33
HWND m_hWnd
Definition: atlwin.h:267
void InvalidateRgn(HRGN hRgn, BOOL bErase=TRUE)
Definition: atlwin.h:902

◆ IsChild()

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

Definition at line 908 of file atlwin.h.

909  {
912  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 914 of file atlwin.h.

915  {
918  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define IsDialogMessage
Definition: winuser.h:5799
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSearchBar::TranslateAcceleratorIO().

◆ IsDlgButtonChecked()

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

Definition at line 920 of file atlwin.h.

921  {
924  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 926 of file atlwin.h.

927  {
930  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 932 of file atlwin.h.

933  {
935  TCHAR pszType[10]; // Use sizeof("#32770")+3 so that extra characters can be detected.
936  if (!RealGetWindowClass(::GetParent(m_hWnd), pszType, _countof(pszType)))
937  return FALSE;
938  return !_tcscmp(pszType, _T("#32770"));
939  }
#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:941
#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:5825
CWindow GetParent() const
Definition: atlwin.h:694

◆ IsWindow()

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

Definition at line 941 of file atlwin.h.

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

Referenced by CTaskSwitchWnd::AddTask(), CMainWindow::alignChildrenToMainWindow(), ArrangeIconicWindows(), BeginPaint(), BringWindowToTop(), CenterWindow(), ChangeClipboardChain(), CheckDlgButton(), CheckRadioButton(), ChildWindowFromPoint(), ChildWindowFromPointEx(), ClientToScreen(), CToolsBand::CloseDW(), CreateCaret(), CreateGrayCaret(), CreateSolidCaret(), DeferWindowPos(), DestroyWindow(), DlgDirList(), DlgDirListComboBox(), DlgDirSelect(), DlgDirSelectComboBox(), DragAcceptFiles(), DrawMenuBar(), CTrayWindow::DrawShowDesktopButton(), 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(), ImageModel::NotifyDimensionsChanged(), ImageModel::NotifyImageChanged(), ToolsModel::NotifyToolChanged(), CSysPagerWnd::OnCommand(), CMainWindow::OnSize(), CImgAreaWindow::OnSize(), CTrayWindow::Open(), OpenClipboard(), PostMessage(), PrevDlgCtrl(), Print(), PrintClient(), CTrayShowDesktopButton::PtInButton(), 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(), UpdateScrollbox(), UpdateWindow(), ValidateRect(), ValidateRgn(), and WinHelp().

◆ IsWindowEnabled()

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

Definition at line 946 of file atlwin.h.

947  {
950  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 958 of file atlwin.h.

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

◆ IsWindowVisible()

◆ IsZoomed()

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

Definition at line 964 of file atlwin.h.

965  {
968  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 976 of file atlwin.h.

977  {
979  if (bLock)
982  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL WINAPI LockWindowUpdate(_In_opt_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:941
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 984 of file atlwin.h.

985  {
987  return ::MapWindowPoints(m_hWnd, hWndTo, lpPoint, nCount);
988  }
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:941
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 990 of file atlwin.h.

991  {
993  return ::MapWindowPoints(m_hWnd, hWndTo, (LPPOINT)lpRect, sizeof(RECT) / sizeof(POINT));
994  }
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:941
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 996 of file atlwin.h.

997  {
999  return ::MessageBox(m_hWnd, lpszText, lpszCaption, nType);
1000  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
#define MessageBox
Definition: winuser.h:5812

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

◆ ModifyStyle()

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

Definition at line 1002 of file atlwin.h.

1003  {
1005  ::SetWindowLong(m_hWnd, GWL_STYLE, (::GetWindowLong(m_hWnd, GWL_STYLE) & ~dwRemove) | dwAdd);
1006  if (nFlags != 0)
1008  return TRUE;
1009  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:941
LONG SetWindowLong(int nIndex, LONG dwNewLong)
Definition: atlwin.h:1264
#define SWP_NOZORDER
Definition: winuser.h:1237
#define SWP_NOACTIVATE
Definition: winuser.h:1232
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:784
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 1011 of file atlwin.h.

1012  {
1014  ::SetWindowLong(m_hWnd, GWL_EXSTYLE, (::GetWindowLong(m_hWnd, GWL_EXSTYLE) & ~dwRemove) | dwAdd);
1015  if (nFlags != 0)
1017  return TRUE;
1018  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define TRUE
Definition: types.h:120
BOOL IsWindow() const
Definition: atlwin.h:941
LONG SetWindowLong(int nIndex, LONG dwNewLong)
Definition: atlwin.h:1264
#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:784
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 1020 of file atlwin.h.

1021  {
1023  return ::MoveWindow(m_hWnd, x, y, nWidth, nHeight, bRepaint);
1024  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1026 of file atlwin.h.

1027  {
1030  }
#define WM_NEXTDLGCTL
Definition: winuser.h:1633
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1110

◆ OpenClipboard()

BOOL ATL::CWindow::OpenClipboard ( )
inline

Definition at line 1032 of file atlwin.h.

1033  {
1036  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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()

◆ PrevDlgCtrl()

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

Definition at line 1044 of file atlwin.h.

1045  {
1048  }
#define WM_NEXTDLGCTL
Definition: winuser.h:1633
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1110

◆ Print()

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

Definition at line 1050 of file atlwin.h.

1051  {
1054  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
UINT_PTR WPARAM
Definition: windef.h:207
LONG_PTR LPARAM
Definition: windef.h:208
#define WM_PRINT
Definition: winuser.h:1870
_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:1110

◆ PrintClient()

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

Definition at line 1056 of file atlwin.h.

1057  {
1060  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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:1110

◆ RedrawWindow()

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

Definition at line 1062 of file atlwin.h.

1063  {
1065  return ::RedrawWindow(m_hWnd, lpRectUpdate, hRgnUpdate, flags);
1066  }
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:941
GLbitfield flags
Definition: glext.h:7161
HWND m_hWnd
Definition: atlwin.h:267

◆ ReleaseDC()

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

Definition at line 1068 of file atlwin.h.

1069  {
1072  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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::DrawShowDesktopButton(), 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 1074 of file atlwin.h.

1075  {
1077  RECT clientRect, wndRect;
1078  ::GetClientRect(m_hWnd, &clientRect);
1079  ::GetWindowRect(m_hWnd, &wndRect);
1080  return ::MoveWindow(m_hWnd, wndRect.left, wndRect.top,
1081  nWidth + (wndRect.right - wndRect.left) - (clientRect.right - clientRect.left),
1082  nHeight + (wndRect.bottom - wndRect.top) - (clientRect.bottom - clientRect.top),
1083  bRedraw);
1084  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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:535
BOOL GetWindowRect(LPRECT lpRect) const
Definition: atlwin.h:810
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 1086 of file atlwin.h.

1087  {
1089  return ::ScreenToClient(m_hWnd, lpPoint);
1090  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1092 of file atlwin.h.

1093  {
1095  return ::ScrollWindow(m_hWnd, xAmount, yAmount, lpRect, lpClipRect);
1096  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1098 of file atlwin.h.

1099  {
1101  return ::ScrollWindowEx(m_hWnd, dx, dy, lpRectScroll, lpRectClip, hRgnUpdate, lpRectUpdate, flags);
1102  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
GLint dy
Definition: linetemp.h:97
BOOL IsWindow() const
Definition: atlwin.h:941
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 1104 of file atlwin.h.

1105  {
1108  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define SendDlgItemMessage
Definition: winuser.h:5832
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 1110 of file atlwin.h.

1111  {
1114  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
WPARAM wParam
Definition: combotst.c:138
HWND m_hWnd
Definition: atlwin.h:267
#define SendMessage
Definition: winuser.h:5833
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(), CTrayShowDesktopButton::OnClick(), 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 1116 of file atlwin.h.

1117  {
1118  ATLASSERT(::IsWindow(hWnd));
1120  }
Definition: tftpd.h:59
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
#define SendMessage
Definition: winuser.h:5833
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 1137 of file atlwin.h.

1138  {
1140  MSG msg;
1141  msg.message = message;
1142  msg.wParam = wParam;
1143  msg.lParam = lParam;
1144  if (bDeep)
1146  else
1148  }
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:941
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:1123
#define msg(x)
Definition: auth_time.c:54
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1129
LPARAM lParam
Definition: combotst.c:139

◆ SendMessageToDescendantsCallback()

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

Definition at line 1123 of file atlwin.h.

1124  {
1126  return TRUE;
1127  }
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:1110
LPARAM lParam
Definition: combotst.c:139

Referenced by SendMessageToDescendants().

◆ SendMessageToDescendantsCallbackDeep()

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

Definition at line 1129 of file atlwin.h.

1130  {
1133  return TRUE;
1134  }
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:1110
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1129
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 1150 of file atlwin.h.

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

Referenced by CSysPagerWnd::OnCommand().

◆ SetActiveWindow()

HWND ATL::CWindow::SetActiveWindow ( )
inline

Definition at line 1156 of file atlwin.h.

1157  {
1160  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1162 of file atlwin.h.

1163  {
1166  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1168 of file atlwin.h.

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

◆ SetDlgCtrlID()

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

Definition at line 1174 of file atlwin.h.

1175  {
1178  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define GWL_ID
Definition: winuser.h:853
BOOL IsWindow() const
Definition: atlwin.h:941
#define SetWindowLong
Definition: winuser.h:5843
HWND m_hWnd
Definition: atlwin.h:267

◆ SetDlgItemInt()

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

Definition at line 1180 of file atlwin.h.

1181  {
1183  return ::SetDlgItemInt(m_hWnd, nID, nValue, bSigned);
1184  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1186 of file atlwin.h.

1187  {
1189  return ::SetDlgItemText(m_hWnd, nID, lpszString);
1190  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define SetDlgItemText
Definition: winuser.h:5839
HWND m_hWnd
Definition: atlwin.h:267

◆ SetFocus()

HWND ATL::CWindow::SetFocus ( )
inline

Definition at line 1192 of file atlwin.h.

1193  {
1196  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1198 of file atlwin.h.

1199  {
1202  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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:1640
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
Definition: atlwin.h:1110

Referenced by CStartButton::UpdateFont().

◆ SetHotKey()

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

Definition at line 1204 of file atlwin.h.

1205  {
1207  return ::SendMessage(m_hWnd, WM_SETHOTKEY, MAKEWPARAM(wVirtualKeyCode, wModifiers), 0);
1208  }
#define WM_SETHOTKEY
Definition: winuser.h:1642
#define MAKEWPARAM(l, h)
Definition: winuser.h:3999
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
#define SendMessage
Definition: winuser.h:5833

◆ SetIcon()

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

Definition at line 1210 of file atlwin.h.

1211  {
1213  return (HICON)::SendMessage(m_hWnd, WM_SETICON, (WPARAM)bBigIcon, (LPARAM)hIcon);
1214  }
static HICON
Definition: imagelist.c:84
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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:1110

◆ SetMenu()

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

Definition at line 1216 of file atlwin.h.

1217  {
1219  return ::SetMenu(m_hWnd, hMenu);
1220  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1222 of file atlwin.h.

1223  {
1225  return ::SetParent(m_hWnd, hWndNewParent);
1226  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
HWND WINAPI SetParent(_In_ HWND, _In_opt_ HWND)
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267

Referenced by CSearchBar::SetSite().

◆ SetRedraw()

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

Definition at line 1228 of file atlwin.h.

1229  {
1231  ::SendMessage(m_hWnd, WM_SETREDRAW, (WPARAM)bRedraw, 0);
1232  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define WM_SETREDRAW
Definition: winuser.h:1606
BOOL IsWindow() const
Definition: atlwin.h:941
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:1110

◆ SetScrollInfo()

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

Definition at line 1234 of file atlwin.h.

1235  {
1237  return ::SetScrollInfo(m_hWnd, nBar, lpScrollInfo, bRedraw);
1238  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1240 of file atlwin.h.

1241  {
1243  return ::SetScrollPos(m_hWnd, nBar, nPos, bRedraw);
1244  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1246 of file atlwin.h.

1247  {
1249  return ::SetScrollRange(m_hWnd, nBar, nMinPos, nMaxPos, bRedraw);
1250  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1252 of file atlwin.h.

1253  {
1255  return ::SetTimer(m_hWnd, nIDEvent, nElapse, reinterpret_cast<TIMERPROC>(lpfnTimer));
1256  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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(), CMainWindow::SearchTextChanged(), and CTrayShowDesktopButton::StartHovering().

◆ SetWindowContextHelpId()

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

Definition at line 1258 of file atlwin.h.

1259  {
1261  return ::SetWindowContextHelpId(m_hWnd, dwContextHelpId);
1262  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1264 of file atlwin.h.

1265  {
1267  return ::SetWindowLong(m_hWnd, nIndex, dwNewLong);
1268  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define SetWindowLong
Definition: winuser.h:5843
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 1270 of file atlwin.h.

1271  {
1273  return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong);
1274  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#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 1276 of file atlwin.h.

1277  {
1280  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1282 of file atlwin.h.

1283  {
1285  return ::SetWindowPos(m_hWnd, hWndInsertAfter, x, y, cx, cy, nFlags);
1286  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1288 of file atlwin.h.

1289  {
1291  return ::SetWindowRgn(m_hWnd, hRgn, bRedraw);
1292  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1294 of file atlwin.h.

1295  {
1297  return ::SetWindowText(m_hWnd, lpszString);
1298  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
HWND m_hWnd
Definition: atlwin.h:267
#define SetWindowText
Definition: winuser.h:5847

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

◆ SetWindowWord()

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

Definition at line 1300 of file atlwin.h.

1301  {
1303  if (nIndex >= -4)
1304  return ::SetWindowLong(m_hWnd, nIndex - 2, MAKELONG(LOWORD(::GetWindowLong(m_hWnd, nIndex - 2)), wNewWord));
1305  else
1306  return ::SetWindowLong(m_hWnd, nIndex, MAKELONG(wNewWord, HIWORD(::GetWindowLong(m_hWnd, nIndex))));
1307  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
#define SetWindowLong
Definition: winuser.h:5843
#define MAKELONG(a, b)
Definition: typedefs.h:249
LONG GetWindowLong(int nIndex) const
Definition: atlwin.h:784
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 1309 of file atlwin.h.

1310  {
1313  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1315 of file atlwin.h.

1316  {
1319  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1321 of file atlwin.h.

1322  {
1324  return ::ShowScrollBar(m_hWnd, nBar, bShow);
1325  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1333 of file atlwin.h.

1334  {
1336  return ::ShowWindowAsync(m_hWnd, nCmdShow);
1337  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1339 of file atlwin.h.

1340  {
1343  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1345 of file atlwin.h.

1346  {
1348  return ::ValidateRect(m_hWnd, lpRect);
1349  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1351 of file atlwin.h.

1352  {
1355  }
BOOL WINAPI ValidateRgn(_In_ HWND, _In_opt_ HRGN)
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
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 1357 of file atlwin.h.

1358  {
1360  return ::WinHelp(m_hWnd, lpszHelp, nCmd, dwData);
1361  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941
static HANDLE ULONG_PTR dwData
Definition: file.c:35
HWND m_hWnd
Definition: atlwin.h:267
#define WinHelp
Definition: winuser.h:5854

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(), CTrayShowDesktopButton::DoCreate(), 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(), CTrayShowDesktopButton::OnDraw(), 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(), CTrayShowDesktopButton::OnSettingChanged(), 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: