ReactOS 0.4.17-dev-1321-g5c122a9
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::_IDHWNDPAIR * PIDHWNDPAIR
 

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

Member Typedef Documentation

◆ IDHWNDPAIR

◆ PIDHWNDPAIR

Constructor & Destructor Documentation

◆ CWindow()

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

Definition at line 303 of file atlwin.h.

304 {
305 m_hWnd = hWnd;
306 }
HWND hWnd
Definition: settings.c:17
HWND m_hWnd
Definition: atlwin.h:299

Member Function Documentation

◆ ArrangeIconicWindows()

UINT ATL::CWindow::ArrangeIconicWindows ( )
inline

Definition at line 318 of file atlwin.h.

319 {
321 return ::ArrangeIconicWindows(m_hWnd);
322 }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:973

◆ Attach()

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

Definition at line 324 of file atlwin.h.

325 {
326 m_hWnd = hWndNew;
327 }

Referenced by CAboutSnapinDialog::OnInitDialog(), CAddDialog::OnInitDialog(), and COptionsDialog::OnInitDialog().

◆ BeginPaint()

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

Definition at line 329 of file atlwin.h.

330 {
332 return ::BeginPaint(m_hWnd, lpPaint);
333 }

◆ BringWindowToTop()

BOOL ATL::CWindow::BringWindowToTop ( )
inline

Definition at line 335 of file atlwin.h.

336 {
338 return ::BringWindowToTop(m_hWnd);
339 }

◆ CenterWindow()

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

Definition at line 341 of file atlwin.h.

342 {
344 if (hWndCenter == NULL)
345 hWndCenter = ::GetParent(m_hWnd);
346 if (hWndCenter == NULL)
347 return FALSE;
348 RECT wndCenterRect, wndRect;
349 if (!::GetWindowRect(hWndCenter, &wndCenterRect) || !::GetWindowRect(m_hWnd, &wndRect))
350 return FALSE;
351 int wndCenterWidth = wndCenterRect.right - wndCenterRect.left;
352 int wndCenterHeight = wndCenterRect.bottom - wndCenterRect.top;
353 int wndWidth = wndRect.right - wndRect.left;
354 int wndHeight = wndRect.bottom - wndRect.top;
355 int xPos = wndCenterRect.left + ((wndCenterWidth - wndWidth + 1) >> 1);
356 int yPos = wndCenterRect.top + ((wndCenterHeight - wndHeight + 1) >> 1);
357
358 if (!(::GetWindowLong(hWndCenter, GWL_STYLE) & WS_CHILD))
359 {
361 mi.cbSize = sizeof(mi);
362 HMONITOR hMonitor = MonitorFromWindow(hWndCenter, MONITOR_DEFAULTTOPRIMARY);
363 GetMonitorInfo(hMonitor, &mi);
364
365 if (xPos + wndWidth > mi.rcWork.right)
366 {
367 xPos = mi.rcWork.right - wndWidth;
368 }
369 else if (xPos < mi.rcWork.left)
370 {
371 xPos = mi.rcWork.left;
372 }
373
374 if (yPos + wndHeight > mi.rcWork.bottom)
375 {
376 yPos = mi.rcWork.bottom - wndHeight;
377 }
378 if (yPos < mi.rcWork.top)
379 {
380 yPos = mi.rcWork.top;
381 }
382 }
383 return ::MoveWindow(m_hWnd,
384 xPos,
385 yPos,
386 wndWidth, wndHeight, TRUE);
387 }
BOOL GetWindowRect(LPRECT lpRect) const
Definition: atlwin.h:842
CWindow GetParent() const
Definition: atlwin.h:726
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static MONITORINFO mi
Definition: win.c:9400
HMONITOR WINAPI MonitorFromWindow(HWND, DWORD)
#define WS_CHILD
Definition: pedump.c:617
#define GetMonitorInfo
Definition: winuser.h:5957
#define GetWindowLong
Definition: winuser.h:5962
#define GWL_STYLE
Definition: winuser.h:863
Definition: dcommon.idl:28
long bottom
Definition: dcommon.idl:29
long right
Definition: dcommon.idl:29
long left
Definition: dcommon.idl:29
long top
Definition: dcommon.idl:29
DWORD cbSize
Definition: winuser.h:3892

Referenced by CZipExtract::CExtractSettingsPage::OnSetActive(), and CZipExtract::CExtractSettingsPage::s_BrowseCallbackProc().

◆ ChangeClipboardChain()

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

Definition at line 389 of file atlwin.h.

390 {
392 return ::ChangeClipboardChain(m_hWnd, hWndNewNext);
393 }

◆ CheckDlgButton()

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

Definition at line 395 of file atlwin.h.

396 {
398 return ::CheckDlgButton(m_hWnd, nIDButton, nCheck);
399 }

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

◆ CheckRadioButton()

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

Definition at line 401 of file atlwin.h.

402 {
404 return ::CheckRadioButton(m_hWnd, nIDFirstButton, nIDLastButton, nIDCheckButton);
405 }

◆ ChildWindowFromPoint()

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

Definition at line 407 of file atlwin.h.

408 {
410 return ::ChildWindowFromPoint(m_hWnd, point);
411 }
POINTL point
Definition: edittest.c:50

◆ ChildWindowFromPointEx()

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

Definition at line 413 of file atlwin.h.

414 {
416 return ::ChildWindowFromPointEx(m_hWnd, point, uFlags);
417 }
UINT uFlags
Definition: api.c:59

◆ ClientToScreen() [1/2]

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

Definition at line 419 of file atlwin.h.

420 {
422 return ::ClientToScreen(m_hWnd, lpPoint);
423 }

Referenced by ClientToScreen(), CNotifyToolbar::OnTooltipShow(), and CBalloonQueue::Show().

◆ ClientToScreen() [2/2]

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

Definition at line 425 of file atlwin.h.

426 {
427 if (lpRect == NULL)
428 return FALSE;
430 POINT leftTop = {lpRect->left, lpRect->top};
431 POINT rightBottom = {lpRect->right, lpRect->bottom};
432 BOOL success = ::ClientToScreen(m_hWnd, &leftTop) && ::ClientToScreen(m_hWnd, &rightBottom);
433 if (success)
434 {
435 lpRect->left = leftTop.x;
436 lpRect->top = leftTop.y;
437 lpRect->right = rightBottom.x;
438 lpRect->bottom = rightBottom.y;
439 }
440 return success;
441 }
BOOL ClientToScreen(LPPOINT lpPoint) const
Definition: atlwin.h:419
unsigned int BOOL
Definition: ntddk_ex.h:94
long y
Definition: dcommon.idl:24
long x
Definition: dcommon.idl:24
LONG right
Definition: windef.h:108
LONG bottom
Definition: windef.h:109
LONG top
Definition: windef.h:107
LONG left
Definition: windef.h:106
#define success(from, fromstr, to, tostr)

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

444 {
445 HWND hWnd;
447 hWnd = ::CreateWindowEx(dwExStyle,
448 lpstrWndClass,
449 szWindowName,
450 dwStyle,
451 rect.m_lpRect->left,
452 rect.m_lpRect->top,
453 rect.m_lpRect->right - rect.m_lpRect->left,
454 rect.m_lpRect->bottom - rect.m_lpRect->top,
456 MenuOrID.m_hMenu,
457 _AtlBaseModule.GetModuleInstance(),
458 lpCreateParam);
459 if (hWnd != NULL)
460 m_hWnd = hWnd;
461 return hWnd;
462 }
RECT rect
Definition: combotst.c:67
#define CreateWindowEx
Definition: winuser.h:5921

Referenced by CPaintToolBar::DoCreate(), CConsoleWnd::OnCreate(), CMainWnd::OnCreate(), and CToolSettingsWindow::OnCreate().

◆ CreateCaret()

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

Definition at line 464 of file atlwin.h.

465 {
467 return ::CreateCaret(m_hWnd, pBitmap, 0, 0);
468 }

◆ CreateGrayCaret()

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

Definition at line 470 of file atlwin.h.

471 {
473 return ::CreateCaret(m_hWnd, (HBITMAP)1, nWidth, nHeight);
474 }
static HBITMAP
Definition: button.c:44

◆ CreateSolidCaret()

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

Definition at line 476 of file atlwin.h.

477 {
479 return ::CreateCaret(m_hWnd, (HBITMAP)0, nWidth, nHeight);
480 }

◆ DeferWindowPos()

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

Definition at line 482 of file atlwin.h.

483 {
485 return ::DeferWindowPos(hWinPosInfo, m_hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
486 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585

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

◆ DestroyWindow()

◆ Detach()

HWND ATL::CWindow::Detach ( )
inline

Definition at line 499 of file atlwin.h.

500 {
501 HWND hWnd = m_hWnd;
502 m_hWnd = NULL;
503 return hWnd;
504 }

◆ DlgDirList()

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

Definition at line 506 of file atlwin.h.

507 {
509 return ::DlgDirList(m_hWnd, lpPathSpec, nIDListBox, nIDStaticPath, nFileType);
510 }

◆ DlgDirListComboBox()

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

Definition at line 512 of file atlwin.h.

513 {
515 return ::DlgDirListComboBox(m_hWnd, lpPathSpec, nIDComboBox, nIDStaticPath, nFileType);
516 }

◆ DlgDirSelect()

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

Definition at line 518 of file atlwin.h.

519 {
521 return ::DlgDirSelectEx(m_hWnd, lpString, nCount, nIDListBox);
522 }

◆ DlgDirSelectComboBox()

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

Definition at line 524 of file atlwin.h.

525 {
527 return ::DlgDirSelectComboBoxEx(m_hWnd, lpString, nCount, nIDComboBox);
528 }

◆ DragAcceptFiles()

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

Definition at line 530 of file atlwin.h.

531 {
533// FIXME following line requires shellapi.h
534// ::DragAcceptFiles(m_hWnd, bAccept);
535 }

◆ DrawMenuBar()

BOOL ATL::CWindow::DrawMenuBar ( )
inline

Definition at line 537 of file atlwin.h.

538 {
540 return ::DrawMenuBar(m_hWnd);
541 }

◆ EnableScrollBar()

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

Definition at line 543 of file atlwin.h.

544 {
546 return ::EnableScrollBar(m_hWnd, uSBFlags, uArrowFlags);
547 }

◆ EnableWindow()

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

◆ EndPaint()

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

Definition at line 555 of file atlwin.h.

556 {
558 ::EndPaint(m_hWnd, lpPaint);
559 }
void EndPaint(LPPAINTSTRUCT lpPaint)
Definition: atlwin.h:555

Referenced by EndPaint().

◆ FlashWindow()

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

Definition at line 561 of file atlwin.h.

562 {
564 return ::FlashWindow(m_hWnd, bInvert);
565 }
static BOOL bInvert
Definition: win.c:60

◆ GetClientRect()

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

Definition at line 567 of file atlwin.h.

568 {
570 return ::GetClientRect(m_hWnd, lpRect);
571 }

Referenced by CCleanMgrProperties::OnInitDialog(), CSysPagerWnd::OnSize(), and ResizeClient().

◆ GetDC()

HDC ATL::CWindow::GetDC ( )
inline

◆ GetDCEx()

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

Definition at line 579 of file atlwin.h.

580 {
582 return ::GetDCEx(m_hWnd, hRgnClip, flags);
583 }
GLbitfield flags
Definition: glext.h:7161

◆ GetDescendantWindow()

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

Definition at line 603 of file atlwin.h.

604 {
606 IDHWNDPAIR idHWndPair;
607 idHWndPair.nID = nID;
608 idHWndPair.hWnd = NULL;
610 return idHWndPair.hWnd;
611 }
static BOOL CALLBACK GetDescendantWindowCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:591
struct ATL::CWindow::_IDHWNDPAIR IDHWNDPAIR
LONG_PTR LPARAM
Definition: minwindef.h:175
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)

◆ GetDescendantWindowCallback()

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

Definition at line 591 of file atlwin.h.

592 {
594 {
595 ((PIDHWNDPAIR)lParam)->hWnd = hWnd;
596 return FALSE;
597 }
599 return (((PIDHWNDPAIR)lParam)->hWnd == NULL);
600 }
struct ATL::CWindow::_IDHWNDPAIR * PIDHWNDPAIR
LPARAM lParam
Definition: combotst.c:139
#define GWL_ID
Definition: winuser.h:870

Referenced by GetDescendantWindow(), and GetDescendantWindowCallback().

◆ GetDlgControl()

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

Definition at line 613 of file atlwin.h.

614 {
616 return E_FAIL;//FIXME stub
617 }
#define E_FAIL
Definition: ddrawi.h:102

◆ GetDlgCtrlID()

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

Definition at line 619 of file atlwin.h.

620 {
622 return ::GetDlgCtrlID(m_hWnd);
623 }

◆ GetDlgHost()

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

Definition at line 625 of file atlwin.h.

626 {
628 return E_FAIL;//FIXME stub
629 }

◆ GetDlgItem()

◆ GetDlgItemInt()

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

Definition at line 637 of file atlwin.h.

641 {
643 return ::GetDlgItemInt(m_hWnd, nID, lpTrans, bSigned);
644 }

◆ GetDlgItemText() [1/2]

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

Definition at line 668 of file atlwin.h.

671 {
672 HWND item = GetDlgItem(nID);
673 if (!item)
674 return FALSE;
675 return CWindow(item).GetWindowText(bstrText);
676 }
CWindow(HWND hWnd=NULL)
Definition: atlwin.h:303
HWND GetDlgItem(_In_ int nID) const
Definition: atlwin.h:631

◆ GetDlgItemText() [2/2]

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

Definition at line 646 of file atlwin.h.

650 {
652 return ::GetDlgItemText(m_hWnd, nID, lpStr, nMaxCount);
653 }
_In_ int nMaxCount
Definition: winuser.h:5034

◆ GetExStyle()

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

Definition at line 678 of file atlwin.h.

679 {
681 return ::GetWindowLong(m_hWnd, GWL_EXSTYLE);
682 }
#define GWL_EXSTYLE
Definition: winuser.h:862

◆ GetFont()

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

Definition at line 684 of file atlwin.h.

685 {
687 return (HFONT)::SendMessage(m_hWnd, WM_GETFONT, 0, 0);
688 }
#define WM_GETFONT
Definition: winuser.h:1679
#define SendMessage
Definition: winuser.h:6009

◆ GetHotKey()

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

Definition at line 690 of file atlwin.h.

691 {
693 return (DWORD)::SendMessage(m_hWnd, WM_GETHOTKEY, 0, 0);
694 }
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WM_GETHOTKEY
Definition: winuser.h:1681

◆ GetIcon()

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

Definition at line 696 of file atlwin.h.

697 {
699 return (HICON)::SendMessage(m_hWnd, WM_GETICON, (WPARAM)bBigIcon, 0);
700 }
UINT_PTR WPARAM
Definition: minwindef.h:174
static HICON
Definition: imagelist.c:80

◆ GetLastActivePopup()

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

Definition at line 702 of file atlwin.h.

703 {
705 return ::GetLastActivePopup(m_hWnd);
706 }

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

◆ GetMenu()

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

Definition at line 708 of file atlwin.h.

709 {
711 return ::GetMenu(m_hWnd);
712 }

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

◆ GetNextDlgGroupItem()

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

Definition at line 714 of file atlwin.h.

715 {
717 return ::GetNextDlgGroupItem(m_hWnd, hWndCtl, bPrevious);
718 }

◆ GetNextDlgTabItem()

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

Definition at line 720 of file atlwin.h.

721 {
723 return ::GetNextDlgTabItem(m_hWnd, hWndCtl, bPrevious);
724 }

◆ GetParent()

◆ GetScrollInfo()

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

Definition at line 732 of file atlwin.h.

733 {
735 return ::GetScrollInfo(m_hWnd, nBar, lpScrollInfo);
736 }

◆ GetScrollPos()

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

Definition at line 738 of file atlwin.h.

739 {
741 return ::GetScrollPos(m_hWnd, nBar);
742 }

◆ GetScrollRange()

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

Definition at line 744 of file atlwin.h.

745 {
747 return ::GetScrollRange(m_hWnd, nBar, lpMinPos, lpMaxPos);
748 }

◆ GetStyle()

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

Definition at line 750 of file atlwin.h.

751 {
753 return ::GetWindowLong(m_hWnd, GWL_STYLE);
754 }

◆ GetSystemMenu()

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

Definition at line 756 of file atlwin.h.

757 {
759 return ::GetSystemMenu(m_hWnd, bRevert);
760 }

◆ GetTopLevelParent()

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

Definition at line 762 of file atlwin.h.

763 {
765
767 HWND hWndTmp;
768 while ((hWndTmp = ::GetParent(hWndParent)) != NULL)
769 hWndParent = hWndTmp;
770
771 return hWndParent;
772 }

◆ GetTopLevelWindow()

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

Definition at line 774 of file atlwin.h.

775 {
777 return NULL;//FIXME stub
778 }

◆ GetTopWindow()

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

Definition at line 780 of file atlwin.h.

781 {
783 return ::GetTopWindow(m_hWnd);
784 }

◆ GetUpdateRect()

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

Definition at line 786 of file atlwin.h.

787 {
789 return ::GetUpdateRect(m_hWnd, lpRect, bErase);
790 }

◆ GetUpdateRgn()

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

Definition at line 792 of file atlwin.h.

793 {
795 return :: GetUpdateRgn(m_hWnd, hRgn, bErase);
796 }
static HRGN hRgn
Definition: mapping.c:32

◆ GetWindow()

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

Definition at line 798 of file atlwin.h.

799 {
801 return ::GetWindow(m_hWnd, nCmd);
802 }

◆ GetWindowContextHelpId()

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

Definition at line 804 of file atlwin.h.

805 {
807 return ::GetWindowContextHelpId(m_hWnd);
808 }

◆ GetWindowDC()

HDC ATL::CWindow::GetWindowDC ( )
inline

Definition at line 810 of file atlwin.h.

811 {
813 return ::GetWindowDC(m_hWnd);
814 }

Referenced by CTrayWindow::DrawSizerWithTheme().

◆ GetWindowLong()

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

Definition at line 816 of file atlwin.h.

817 {
819 return ::GetWindowLong(m_hWnd, nIndex);
820 }

◆ GetWindowLongPtr()

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

Definition at line 822 of file atlwin.h.

823 {
825 return ::GetWindowLongPtr(m_hWnd, nIndex);
826 }

◆ GetWindowPlacement()

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

Definition at line 828 of file atlwin.h.

829 {
831 return ::GetWindowPlacement(m_hWnd, lpwndpl);
832 }

Referenced by MscFile::SaveWindowPlacement().

◆ GetWindowProcessID()

DWORD ATL::CWindow::GetWindowProcessID ( )
inline

Definition at line 834 of file atlwin.h.

835 {
837 DWORD processID;
839 return processID;
840 }
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)

◆ GetWindowRect()

◆ GetWindowRgn()

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

Definition at line 848 of file atlwin.h.

849 {
851 return ::GetWindowRgn(m_hWnd, hRgn);
852 }

◆ GetWindowText() [1/2]

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

Definition at line 872 of file atlwin.h.

874 {
877 if (!::SysReAllocStringLen(&bstrText, NULL, length))
878 return FALSE;
879 if (::GetWindowTextW(m_hWnd, bstrText, length + 1))
880 return TRUE;
881 ::SysFreeString(bstrText);
882 bstrText = NULL;
883 return FALSE;
884 }
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:273
int WINAPI SysReAllocStringLen(BSTR *old, const OLECHAR *str, unsigned int len)
Definition: oleaut.c:385
int WINAPI GetWindowTextLengthW(_In_ HWND)
int32_t INT
Definition: typedefs.h:58
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
Definition: window.c:1382

◆ GetWindowText() [2/2]

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

Definition at line 854 of file atlwin.h.

857 {
859 return ::GetWindowText(m_hWnd, lpszStringBuf, nMaxCount);
860 }

Referenced by CAddressEditBox::GetComboBoxText(), GetDlgItemText(), and COptionsDialog::OnCommand().

◆ GetWindowTextLength()

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

Definition at line 886 of file atlwin.h.

887 {
889 return ::GetWindowTextLength(m_hWnd);
890 }

Referenced by CAddressEditBox::GetComboBoxText().

◆ GetWindowThreadID()

DWORD ATL::CWindow::GetWindowThreadID ( )
inline

Definition at line 892 of file atlwin.h.

893 {
895 return ::GetWindowThreadProcessId(m_hWnd, NULL);
896 }

◆ GetWindowWord()

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

Definition at line 898 of file atlwin.h.

899 {
901 return (WORD)::GetWindowLong(m_hWnd, nIndex);
902 }
unsigned short WORD
Definition: ntddk_ex.h:93

◆ GetWndClassName()

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

Definition at line 313 of file atlwin.h.

314 {
315 return NULL;
316 }

Referenced by ATL::CWindowImpl< T, TBase, TWinTraits >::Create().

◆ GotoDlgCtrl()

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

Definition at line 904 of file atlwin.h.

905 {
908 }
#define WM_NEXTDLGCTL
Definition: winuser.h:1671

◆ HideCaret()

BOOL ATL::CWindow::HideCaret ( )
inline

Definition at line 910 of file atlwin.h.

911 {
913 return ::HideCaret(m_hWnd);
914 }

◆ HiliteMenuItem()

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

Definition at line 916 of file atlwin.h.

917 {
919 return ::HiliteMenuItem(m_hWnd, hMenu, uHiliteItem, uHilite);
920 }

◆ Invalidate()

BOOL ATL::CWindow::Invalidate ( BOOL  bErase = TRUE)
inline

Definition at line 922 of file atlwin.h.

923 {
925 return ::InvalidateRect(m_hWnd, NULL, bErase);
926 }

◆ InvalidateRect()

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

Definition at line 928 of file atlwin.h.

929 {
931 return ::InvalidateRect(m_hWnd, lpRect, bErase);
932 }

Referenced by CTaskToolbar::EndUpdate().

◆ InvalidateRgn()

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

Definition at line 934 of file atlwin.h.

935 {
937 ::InvalidateRgn(m_hWnd, hRgn, bErase);
938 }
void InvalidateRgn(HRGN hRgn, BOOL bErase=TRUE)
Definition: atlwin.h:934

Referenced by InvalidateRgn().

◆ IsChild()

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

Definition at line 940 of file atlwin.h.

941 {
943 return ::IsChild(m_hWnd, hWnd);
944 }

Referenced by CSearchBar::TranslateAcceleratorIO().

◆ IsDialogMessage()

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

Definition at line 946 of file atlwin.h.

947 {
949 return ::IsDialogMessage(m_hWnd, lpMsg);
950 }

◆ IsDlgButtonChecked()

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

Definition at line 952 of file atlwin.h.

953 {
955 return ::IsDlgButtonChecked(m_hWnd, nIDButton);
956 }

Referenced by CSearchBar::OnSearchButtonClicked(), and CZipExtract::CCompleteSettingsPage::OnWizardFinish().

◆ IsIconic()

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

Definition at line 958 of file atlwin.h.

959 {
961 return ::IsIconic(m_hWnd);
962 }

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

◆ IsParentDialog()

BOOL ATL::CWindow::IsParentDialog ( )
inline

Definition at line 964 of file atlwin.h.

965 {
967 TCHAR pszType[10]; // Use sizeof("#32770")+3 so that extra characters can be detected.
968 if (!RealGetWindowClass(::GetParent(m_hWnd), pszType, _countof(pszType)))
969 return FALSE;
970 return !_tcscmp(pszType, _T("#32770"));
971 }
char TCHAR
Definition: tchar.h:1402
#define _tcscmp
Definition: tchar.h:1424
#define RealGetWindowClass
Definition: winuser.h:6001
#define _countof(array)
Definition: sndvol32.h:70
#define _T(x)
Definition: vfdio.h:22

◆ IsWindow()

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

Definition at line 973 of file atlwin.h.

974 {
975 return ::IsWindow(m_hWnd);
976 }

Referenced by CTaskSwitchWnd::AddTask(), ArrangeIconicWindows(), BeginPaint(), BringWindowToTop(), CenterWindow(), ChangeClipboardChain(), CheckDlgButton(), CheckRadioButton(), ChildWindowFromPoint(), ChildWindowFromPointEx(), ClientToScreen(), CToolsBand::CloseDW(), CreateCaret(), CreateGrayCaret(), CreateSolidCaret(), DeferWindowPos(), DestroyWindow(), DlgDirList(), DlgDirListComboBox(), DlgDirSelect(), DlgDirSelectComboBox(), DragAcceptFiles(), DrawMenuBar(), EnableScrollBar(), EnableWindow(), EndPaint(), CTaskSwitchWnd::FindRudeApp(), 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(), CTrayWindow::IsTaskWnd(), IsWindowEnabled(), IsWindowUnicode(), IsWindowVisible(), IsZoomed(), KillTimer(), LockWindowUpdate(), MapWindowPoints(), MessageBox(), ModifyStyle(), ModifyStyleEx(), MoveWindow(), NextDlgCtrl(), CTaskSwitchWnd::OnActivateTaskIndex(), CSysPagerWnd::OnCommand(), CNotifyToolbar::OnCtxMenu(), CTrayWindow::OnNcHitTest(), CMainWindow::OnSize(), CTrayWindow::Open(), OpenClipboard(), PostMessage(), PrevDlgCtrl(), Print(), PrintClient(), RedrawWindow(), ReleaseDC(), ResizeClient(), ScreenToClient(), ScrollWindow(), ScrollWindowEx(), SendDlgItemMessage(), SendMessage(), SendMessageToDescendants(), CNotifyToolbar::SendNotifyCallback(), 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(), ATL::CWindowImplBaseT< TBase, TWinTraits >::SubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::SubclassWindow(), ATL::CWindowImplBaseT< TBase, TWinTraits >::UnsubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::UnsubclassWindow(), UpdateWindow(), ValidateRect(), ValidateRgn(), and WinHelp().

◆ IsWindowEnabled()

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

Definition at line 978 of file atlwin.h.

979 {
981 return ::IsWindowEnabled(m_hWnd);
982 }

Referenced by CTrayWindow::MinimizeWindowsProc().

◆ IsWindowUnicode()

BOOL ATL::CWindow::IsWindowUnicode ( )
inline

Definition at line 990 of file atlwin.h.

991 {
993 return ::IsWindowUnicode(m_hWnd);
994 }

◆ IsWindowVisible()

◆ IsZoomed()

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

Definition at line 996 of file atlwin.h.

997 {
999 return ::IsZoomed(m_hWnd);
1000 }

◆ KillTimer()

BOOL ATL::CWindow::KillTimer ( UINT_PTR  nIDEvent)
inline

Definition at line 1002 of file atlwin.h.

1003 {
1005 return ::KillTimer(m_hWnd, nIDEvent);
1006 }

◆ LockWindowUpdate()

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

Definition at line 1008 of file atlwin.h.

1009 {
1011 if (bLock)
1012 return ::LockWindowUpdate(m_hWnd);
1013 return ::LockWindowUpdate(NULL);
1014 }

◆ MapWindowPoints() [1/2]

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

Definition at line 1016 of file atlwin.h.

1017 {
1019 return ::MapWindowPoints(m_hWnd, hWndTo, lpPoint, nCount);
1020 }

◆ MapWindowPoints() [2/2]

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

Definition at line 1022 of file atlwin.h.

1023 {
1025 return ::MapWindowPoints(m_hWnd, hWndTo, (LPPOINT)lpRect, sizeof(RECT) / sizeof(POINT));
1026 }

◆ MessageBox()

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

Definition at line 1028 of file atlwin.h.

1029 {
1031 return ::MessageBox(m_hWnd, lpszText, lpszCaption, nType);
1032 }

Referenced by ShowError(), and ShowOutOfMemory().

◆ ModifyStyle()

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

Definition at line 1034 of file atlwin.h.

1035 {
1038 if (nFlags != 0)
1039 return ::SetWindowPos(m_hWnd, NULL, 0, 0, 0, 0, nFlags | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
1040 return TRUE;
1041 }
#define SetWindowLong
Definition: winuser.h:6019
#define SWP_NOACTIVATE
Definition: winuser.h:1253
#define SWP_NOMOVE
Definition: winuser.h:1255
#define SWP_NOSIZE
Definition: winuser.h:1256
#define SWP_NOZORDER
Definition: winuser.h:1258

Referenced by CDownloaderProgress::SetMarquee().

◆ ModifyStyleEx()

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

Definition at line 1043 of file atlwin.h.

1044 {
1047 if (nFlags != 0)
1048 return ::SetWindowPos(m_hWnd, NULL, 0, 0, 0, 0, nFlags | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
1049 return TRUE;
1050 }

◆ MoveWindow()

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

Definition at line 1052 of file atlwin.h.

1053 {
1055 return ::MoveWindow(m_hWnd, x, y, nWidth, nHeight, bRepaint);
1056 }

Referenced by CConsoleWnd::OnMouseMove(), and CConsoleWnd::UpdateLayout().

◆ NextDlgCtrl()

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

Definition at line 1058 of file atlwin.h.

1059 {
1062 }

◆ OpenClipboard()

BOOL ATL::CWindow::OpenClipboard ( )
inline

Definition at line 1064 of file atlwin.h.

1065 {
1067 return ::OpenClipboard(m_hWnd);
1068 }

Referenced by CMainWindow::OnCommand().

◆ operator HWND()

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

Definition at line 308 of file atlwin.h.

309 {
310 return m_hWnd;
311 }

◆ PostMessage()

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

Definition at line 1070 of file atlwin.h.

1071 {
1073 return ::PostMessage(m_hWnd, message, wParam, lParam);
1074 }
WPARAM wParam
Definition: combotst.c:138
Definition: tftpd.h:60

Referenced by CStartButton::OnLButtonDown(), CPaletteWindow::OnMouseMove(), and CToolBox::OnMouseMove().

◆ PrevDlgCtrl()

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

Definition at line 1076 of file atlwin.h.

1077 {
1080 }

◆ Print()

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

Definition at line 1082 of file atlwin.h.

1083 {
1086 }
static HDC hDC
Definition: 3dtext.c:33
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
Definition: netsh.h:141
#define WM_PRINT
Definition: winuser.h:1908

◆ PrintClient()

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

Definition at line 1088 of file atlwin.h.

1089 {
1092 }
#define WM_PRINTCLIENT
Definition: richedit.h:70

◆ RedrawWindow()

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

Definition at line 1094 of file atlwin.h.

1095 {
1097 return ::RedrawWindow(m_hWnd, lpRectUpdate, hRgnUpdate, flags);
1098 }

◆ ReleaseDC()

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

Definition at line 1100 of file atlwin.h.

1101 {
1103 return ::ReleaseDC(m_hWnd, hDC);
1104 }

Referenced by CZipExtract::CCompleteSettingsPage::OnSetActive().

◆ ResizeClient()

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

Definition at line 1106 of file atlwin.h.

1107 {
1109 RECT clientRect, wndRect;
1110 ::GetClientRect(m_hWnd, &clientRect);
1111 ::GetWindowRect(m_hWnd, &wndRect);
1112 return ::MoveWindow(m_hWnd, wndRect.left, wndRect.top,
1113 nWidth + (wndRect.right - wndRect.left) - (clientRect.right - clientRect.left),
1114 nHeight + (wndRect.bottom - wndRect.top) - (clientRect.bottom - clientRect.top),
1115 bRedraw);
1116 }
BOOL GetClientRect(LPRECT lpRect) const
Definition: atlwin.h:567

◆ ScreenToClient()

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

Definition at line 1118 of file atlwin.h.

1119 {
1121 return ::ScreenToClient(m_hWnd, lpPoint);
1122 }

Referenced by CTaskToolbar::OnNcHitTestToolbar(), and CSearchBar::OnSize().

◆ ScrollWindow()

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

Definition at line 1124 of file atlwin.h.

1125 {
1127 return ::ScrollWindow(m_hWnd, xAmount, yAmount, lpRect, lpClipRect);
1128 }

◆ ScrollWindowEx()

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

Definition at line 1130 of file atlwin.h.

1131 {
1133 return ::ScrollWindowEx(m_hWnd, dx, dy, lpRectScroll, lpRectClip, hRgnUpdate, lpRectUpdate, flags);
1134 }
GLint dy
Definition: linetemp.h:97
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 1136 of file atlwin.h.

1137 {
1139 return ::SendDlgItemMessage(m_hWnd, nID, message, wParam, lParam);
1140 }

◆ SendMessage() [1/2]

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

Definition at line 1148 of file atlwin.h.

1149 {
1151 return ::SendMessage(hWnd, message, wParam, lParam);
1152 }

◆ SendMessage() [2/2]

◆ SendMessageToDescendants()

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

Definition at line 1169 of file atlwin.h.

1170 {
1172 MSG msg;
1173 msg.message = message;
1174 msg.wParam = wParam;
1175 msg.lParam = lParam;
1176 if (bDeep)
1178 else
1179 ::EnumChildWindows(m_hWnd, &SendMessageToDescendantsCallbackDeep, (LPARAM)&msg);
1180 }
#define msg(x)
Definition: auth_time.c:54
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1161
static BOOL CALLBACK SendMessageToDescendantsCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1155
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1829

◆ SendMessageToDescendantsCallback()

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

Definition at line 1155 of file atlwin.h.

1156 {
1158 return TRUE;
1159 }

Referenced by SendMessageToDescendants().

◆ SendMessageToDescendantsCallbackDeep()

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

◆ SendNotifyMessage()

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

Definition at line 1182 of file atlwin.h.

1183 {
1185 return ::SendNotifyMessage(m_hWnd, message, wParam, lParam);
1186 }

◆ SetActiveWindow()

HWND ATL::CWindow::SetActiveWindow ( )
inline

Definition at line 1188 of file atlwin.h.

1189 {
1191 return ::SetActiveWindow(m_hWnd);
1192 }

Referenced by CSearchBar::UIActivateIO().

◆ SetCapture()

HWND ATL::CWindow::SetCapture ( )
inline

Definition at line 1194 of file atlwin.h.

1195 {
1197 return ::SetCapture(m_hWnd);
1198 }

◆ SetClipboardViewer()

HWND ATL::CWindow::SetClipboardViewer ( )
inline

Definition at line 1200 of file atlwin.h.

1201 {
1203 return ::SetClipboardViewer(m_hWnd);
1204 }

◆ SetDlgCtrlID()

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

Definition at line 1206 of file atlwin.h.

1207 {
1209 return ::SetWindowLong(m_hWnd, GWL_ID, nID);
1210 }

◆ SetDlgItemInt()

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

Definition at line 1212 of file atlwin.h.

1213 {
1215 return ::SetDlgItemInt(m_hWnd, nID, nValue, bSigned);
1216 }

◆ SetDlgItemText()

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

Definition at line 1218 of file atlwin.h.

1219 {
1221 return ::SetDlgItemText(m_hWnd, nID, lpszString);
1222 }

◆ SetFocus()

◆ SetFont()

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

Definition at line 1230 of file atlwin.h.

1231 {
1234 }
HFONT hFont
Definition: main.c:53
#define WM_SETFONT
Definition: winuser.h:1678

◆ SetHotKey()

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

Definition at line 1236 of file atlwin.h.

1237 {
1239 return (int)::SendMessage(m_hWnd, WM_SETHOTKEY, MAKEWORD(wVirtualKeyCode, wModifiers), 0);
1240 }
#define WM_SETHOTKEY
Definition: winuser.h:1680
#define MAKEWORD(a, b)
Definition: typedefs.h:248

◆ SetIcon()

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

Definition at line 1242 of file atlwin.h.

1243 {
1245 return (HICON)::SendMessage(m_hWnd, WM_SETICON, (WPARAM)bBigIcon, (LPARAM)hIcon);
1246 }
HICON hIcon
Definition: msconfig.c:44

Referenced by CZipExtract::s_PropSheetCallbackProc().

◆ SetMenu()

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

Definition at line 1248 of file atlwin.h.

1249 {
1251 return ::SetMenu(m_hWnd, hMenu);
1252 }

◆ SetParent()

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

Definition at line 1254 of file atlwin.h.

1255 {
1257 return ::SetParent(m_hWnd, hWndNewParent);
1258 }

Referenced by CSearchBar::SetSite().

◆ SetRedraw()

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

Definition at line 1260 of file atlwin.h.

1261 {
1263 ::SendMessage(m_hWnd, WM_SETREDRAW, (WPARAM)bRedraw, 0);
1264 }
#define WM_SETREDRAW
Definition: winuser.h:1644

Referenced by CTaskToolbar::BeginUpdate(), and CApplicationView::SetRedraw().

◆ SetScrollInfo()

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

Definition at line 1266 of file atlwin.h.

1267 {
1269 return ::SetScrollInfo(m_hWnd, nBar, lpScrollInfo, bRedraw);
1270 }

◆ SetScrollPos()

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

Definition at line 1272 of file atlwin.h.

1273 {
1275 return ::SetScrollPos(m_hWnd, nBar, nPos, bRedraw);
1276 }

◆ SetScrollRange()

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

Definition at line 1278 of file atlwin.h.

1279 {
1281 return ::SetScrollRange(m_hWnd, nBar, nMinPos, nMaxPos, bRedraw);
1282 }

◆ SetTimer()

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

Definition at line 1284 of file atlwin.h.

1285 {
1287 return ::SetTimer(m_hWnd, nIDEvent, nElapse, reinterpret_cast<TIMERPROC>(lpfnTimer));
1288 }
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
Definition: winuser.h:3005

◆ SetWindowContextHelpId()

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

Definition at line 1290 of file atlwin.h.

1291 {
1293 return ::SetWindowContextHelpId(m_hWnd, dwContextHelpId);
1294 }

◆ SetWindowLong()

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

Definition at line 1296 of file atlwin.h.

1297 {
1299 return ::SetWindowLong(m_hWnd, nIndex, dwNewLong);
1300 }

◆ SetWindowLongPtr()

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

Definition at line 1302 of file atlwin.h.

1303 {
1305 return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong);
1306 }

◆ SetWindowPlacement()

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

Definition at line 1308 of file atlwin.h.

1309 {
1311 return ::SetWindowPlacement(m_hWnd, lpwndpl);
1312 }

Referenced by MscFile::ParseWindowPlacement().

◆ SetWindowPos()

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

Definition at line 1314 of file atlwin.h.

1315 {
1317 return ::SetWindowPos(m_hWnd, hWndInsertAfter, x, y, cx, cy, nFlags);
1318 }

Referenced by CSysPagerWnd::OnSize(), CTaskSwitchWnd::OnSize(), CSearchBar::OnSize(), CNotifyToolbar::OnTooltipShow(), and CMainWnd::UpdateLayout().

◆ SetWindowRgn()

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

Definition at line 1320 of file atlwin.h.

1321 {
1323 return ::SetWindowRgn(m_hWnd, hRgn, bRedraw);
1324 }

◆ SetWindowText()

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

◆ SetWindowWord()

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

Definition at line 1332 of file atlwin.h.

1333 {
1335 if (nIndex >= -4)
1336 return ::SetWindowLong(m_hWnd, nIndex - 2, MAKELONG(LOWORD(::GetWindowLong(m_hWnd, nIndex - 2)), wNewWord));
1337 else
1338 return ::SetWindowLong(m_hWnd, nIndex, MAKELONG(wNewWord, HIWORD(::GetWindowLong(m_hWnd, nIndex))));
1339 }
#define LOWORD(l)
Definition: pedump.c:82
#define MAKELONG(a, b)
Definition: typedefs.h:249
#define HIWORD(l)
Definition: typedefs.h:247

◆ ShowCaret()

BOOL ATL::CWindow::ShowCaret ( )
inline

Definition at line 1341 of file atlwin.h.

1342 {
1344 return ::ShowCaret(m_hWnd);
1345 }

◆ ShowOwnedPopups()

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

Definition at line 1347 of file atlwin.h.

1348 {
1350 return ::ShowOwnedPopups(m_hWnd, bShow);
1351 }

◆ ShowScrollBar()

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

Definition at line 1353 of file atlwin.h.

1354 {
1356 return ::ShowScrollBar(m_hWnd, nBar, bShow);
1357 }

◆ ShowWindow()

◆ ShowWindowAsync()

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

Definition at line 1365 of file atlwin.h.

1366 {
1368 return ::ShowWindowAsync(m_hWnd, nCmdShow);
1369 }

◆ UpdateWindow()

BOOL ATL::CWindow::UpdateWindow ( )
inline

Definition at line 1371 of file atlwin.h.

1372 {
1374 return ::UpdateWindow(m_hWnd);
1375 }

Referenced by CDefView::CreateViewWindow3(), CTrayWindow::HandleCommand(), CShellBrowser::Initialize(), MainWindowLoop(), and CMainWnd::OnCreate().

◆ ValidateRect()

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

Definition at line 1377 of file atlwin.h.

1378 {
1380 return ::ValidateRect(m_hWnd, lpRect);
1381 }

◆ ValidateRgn()

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

Definition at line 1383 of file atlwin.h.

1384 {
1386 return ::ValidateRgn(m_hWnd, hRgn);
1387 }

◆ WinHelp()

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

Definition at line 1389 of file atlwin.h.

1390 {
1392 return ::WinHelp(m_hWnd, lpszHelp, nCmd, dwData);
1393 }
static HANDLE ULONG_PTR dwData
Definition: pipe.c:111

Member Data Documentation

◆ m_hWnd

HWND ATL::CWindow::m_hWnd

Definition at line 299 of file atlwin.h.

Referenced by CDefView::_DoCopyToMoveToFolder(), CTrayWindow::AlignControls(), ArrangeIconicWindows(), Attach(), BeginPaint(), BringWindowToTop(), CShellBrowser::BrowseToPath(), CenterWindow(), ChangeClipboardChain(), CheckDlgButton(), CheckRadioButton(), ChildWindowFromPoint(), ChildWindowFromPointEx(), CMainWindow::ChooseColor(), ClientToScreen(), CTrayWindow::Close(), CToolsBand::CloseDW(), CSearchBar::Create(), CComboBox::Create(), CStartButton::Create(), ATL::CWindowImplBaseT< TBase, TWinTraits >::Create(), ATL::CWindowImpl< T, TBase, TWinTraits >::Create(), Create(), CMainWindow::CreateApplicationView(), CreateCaret(), CreateGrayCaret(), CDefView::CreateList(), CreateSolidCaret(), CMainWindow::CreateStatusBar(), CMainWindow::CreateTreeView(), CDefView::CreateViewWindow3(), CMainWindow::CreateVSplitter(), CWindow(), DeferWindowPos(), ATL::CWindowImplBaseT< TBase, TWinTraits >::DefWindowProc(), CDefView::DestroyViewWindow(), DestroyWindow(), ATL::CDialogImpl< T, TBase >::DestroyWindow(), Detach(), ATL::CDialogImplBaseT< TBase >::DialogProc(), CAppScrnshotPreview::DisplayImage(), DlgDirList(), DlgDirListComboBox(), DlgDirSelect(), DlgDirSelectComboBox(), CDefView::DoActivate(), CTrayWindow::DoExitWindows(), CShellBrowser::DoFolderOptions(), DragAcceptFiles(), CDefView::DragEnter(), CDefView::DragLeave(), CTrayClockWnd::DrawBackground(), DrawMenuBar(), CDefView::Drop(), EnableScrollBar(), EnableWindow(), ATL::CDialogImpl< T, TBase >::EndDialog(), 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(), CMainWindow::GetOpenFileName(), GetParent(), CMainWindow::GetSaveFileName(), GetScrollInfo(), GetScrollPos(), GetScrollRange(), GetStyle(), GetSystemMenu(), CShellBrowser::GetTopLevelBrowserWindow(), GetTopLevelParent(), GetTopLevelWindow(), GetTopWindow(), CTrayWindow::GetTrayWindow(), CTrayWindow::GetTrayWnd(), GetUpdateRect(), GetUpdateRgn(), CBaseBarSite::GetWindow(), CShellBrowser::GetWindow(), CSearchBar::GetWindow(), CToolsBand::GetWindow(), CDefView::GetWindow(), CSysPagerWnd::GetWindow(), CTaskSwitchWnd::GetWindow(), CTrayClockWnd::GetWindow(), CTrayNotifyWnd::GetWindow(), CTrayWindow::GetWindow(), GetWindow(), GetWindowContextHelpId(), GetWindowDC(), GetWindowLong(), GetWindowLongPtr(), GetWindowPlacement(), GetWindowProcessID(), GetWindowRect(), GetWindowRgn(), GetWindowText(), GetWindowTextLength(), GetWindowThreadID(), GetWindowWord(), GotoDlgCtrl(), CTrayWindow::HandleCommand(), CTrayWindow::HandleHotKey(), HideCaret(), HiliteMenuItem(), CTrayWindow::if(), CAddressEditBox::Init(), CStartButton::Initialize(), CShellBrowser::Initialize(), CTaskToolbar::Initialize(), CNotifyToolbar::Initialize(), CSysPagerWnd::Initialize(), CTrayClockWnd::Initialize(), CTrayNotifyWnd::Initialize(), CTaskSwitchWnd::Initialize(), Invalidate(), InvalidateRect(), InvalidateRgn(), CDefView::InvokeContextMenuCommand(), IsChild(), IsDialogMessage(), IsDlgButtonChecked(), IsIconic(), IsParentDialog(), CTrayWindow::IsSpecialHWND(), IsWindow(), IsWindowEnabled(), CAddressEditBox::IsWindowOwner(), IsWindowUnicode(), IsWindowVisible(), IsZoomed(), KillTimer(), LockWindowUpdate(), MapWindowPoints(), MessageBox(), ModifyStyle(), ModifyStyleEx(), MoveWindow(), NextDlgCtrl(), CShellBrowser::OnAboutReactOS(), CTrayWindow::OnActivate(), CShellBrowser::OnAddToFavorites(), CZipExtract::CExtractSettingsPage::OnBrowse(), CZipPassword::OnButton(), CCertMgrProperties::OnCertDoubleClicked(), CTaskSwitchWnd::OnCommand(), CTrayWindow::OnCommand(), CAddDialog::OnCommand(), CMainWindow::OnCommand(), CTaskSwitchWnd::OnContextMenu(), CTrayWindow::OnContextMenu(), CDefView::OnContextMenu(), CMainWindow::OnCreate(), CSysPagerWnd::OnCreate(), CTaskSwitchWnd::OnCreate(), CTrayClockWnd::OnCreate(), CTrayNotifyWnd::OnCreate(), CTrayWindow::OnCreate(), CDefView::OnCreate(), CNotifySettingsPage::OnCustomizeTrayIcons(), CTaskSwitchWnd::OnDestroy(), CDefView::OnDestroy(), CStubWindow32::OnDestroy(), CCleanMgrProperties::OnDetails(), CShellBrowser::OnDisconnectNetworkDrive(), CDefView::OnDrawClipboard(), CMainWindow::OnDropFiles(), CSysPagerWnd::OnEraseBackground(), CTaskSwitchWnd::OnEraseBackground(), CTrayNotifyWnd::OnEraseBackground(), CTrayNotifyWnd::OnGetMinimumSize(), CConfirmReplace::OnInitDialog(), CZipPassword::OnInitDialog(), CCertMgrProperties::OnInitDialog(), CTrayClockWnd::OnLButtonDblClick(), CShellBrowser::OnMapNetworkDrive(), CTrayWindow::OnNcLButtonDown(), CTrayWindow::OnNcRButtonUp(), CTaskSwitchWnd::OnNotify(), CTrayWindow::OnNotify(), CBaseBarSite::OnNotify(), CDefView::OnNotify(), ATL::CPropertyPageImpl< T >::OnNotify(), CShellBrowser::OnOrganizeFavorites(), CZipExtract::CExtractSettingsPage::OnPassword(), CTrayNotifyWnd::OnRealign(), CTrayWindow::OnRebarAutoSize(), CShellBrowser::OnSearch(), CSearchBar::OnSearchButtonClicked(), CShellBrowser::OnSettingChange(), CTrayWindow::OnSetZOrder(), CTaskSwitchWnd::OnSize(), CShellBrowser::OnSize(), CStartMenuSettingsPage::OnStartMenuCustomize(), CTrayWindow::OnSysChar(), CShellBrowser::OnSysColorChange(), CTrayNotifyWnd::OnTaskbarSettingsChanged(), CTrayClockWnd::OnThemeChanged(), CTrayNotifyWnd::OnThemeChanged(), CTaskSwitchWnd::OnThemeChanged(), CTrayWindow::OnThemeChanged(), CNotifyToolbar::OnTooltipShow(), 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(), CDefView::SetClipboard(), SetClipboardViewer(), CBaseBarSite::SetDeskBarSite(), SetDlgCtrlID(), SetDlgItemInt(), SetDlgItemText(), SetFocus(), SetFont(), SetHotKey(), SetIcon(), SetMenu(), CShellBrowser::SetMenuSB(), ATL::CPropertyPageImpl< T >::SetModified(), SetParent(), SetRedraw(), SetScrollInfo(), SetScrollPos(), SetScrollRange(), CSearchBar::SetSite(), SetTimer(), SetWindowContextHelpId(), SetWindowLong(), SetWindowLongPtr(), SetWindowPlacement(), SetWindowPos(), SetWindowRgn(), SetWindowText(), SetWindowWord(), CBalloonQueue::Show(), CMainWindow::ShowAboutDlg(), ShowCaret(), CToolsBand::ShowDW(), CAddressEditBox::ShowFileNotFoundError(), ShowOwnedPopups(), ShowScrollBar(), ShowWindow(), ShowWindowAsync(), ATL::CDialogImplBaseT< TBase >::StartDialogProc(), CFindFolder::StartSearch(), ATL::CWindowImplBaseT< TBase, TWinTraits >::StartWindowProc(), ATL::CContainedWindowT< TBase, TWinTraits >::StartWindowProc(), CFindFolder::StopSearch(), ATL::CWindowImplBaseT< TBase, TWinTraits >::SubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::SubclassWindow(), CTrayWindow::TrackCtxMenu(), CTrayWindow::TrackMenu(), CMainWindow::TrackPopupMenu(), CDefView::TranslateAccelerator(), CSearchBar::TranslateAcceleratorIO(), CShellBrowser::TranslateAcceleratorSB(), CTrayWindow::TrayPropertiesThread(), CSearchBar::TrySetFocus(), ATL::CWindowImplBaseT< TBase, TWinTraits >::UnsubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::UnsubclassWindow(), CMainWindow::UpdateApplicationsList(), UpdateWindow(), CTrayClockWnd::UpdateWnd(), ValidateRect(), ValidateRgn(), CShellBrowser::WindowProc(), ATL::CWindowImplBaseT< TBase, TWinTraits >::WindowProc(), ATL::CContainedWindowT< TBase, TWinTraits >::WindowProc(), WinHelp(), and CDefView::~CDefView().

◆ rcDefault

RECT ATL::CWindow::rcDefault
static

Definition at line 300 of file atlwin.h.


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