ReactOS 0.4.15-dev-7934-g1dc8d80
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 270 of file atlwin.h.

Member Typedef Documentation

◆ IDHWNDPAIR

◆ PIDHWNDPAIR

Constructor & Destructor Documentation

◆ CWindow()

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

Definition at line 277 of file atlwin.h.

278 {
279 m_hWnd = hWnd;
280 }
HWND hWnd
Definition: settings.c:17
HWND m_hWnd
Definition: atlwin.h:273

Member Function Documentation

◆ ArrangeIconicWindows()

UINT ATL::CWindow::ArrangeIconicWindows ( )
inline

Definition at line 292 of file atlwin.h.

293 {
295 return ::ArrangeIconicWindows(m_hWnd);
296 }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:947

◆ Attach()

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

Definition at line 298 of file atlwin.h.

299 {
300 m_hWnd = hWndNew;
301 }

◆ BeginPaint()

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

Definition at line 303 of file atlwin.h.

304 {
306 return ::BeginPaint(m_hWnd, lpPaint);
307 }

◆ BringWindowToTop()

BOOL ATL::CWindow::BringWindowToTop ( )
inline

Definition at line 309 of file atlwin.h.

310 {
312 return ::BringWindowToTop(m_hWnd);
313 }

◆ CenterWindow()

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

Definition at line 315 of file atlwin.h.

316 {
318 if (hWndCenter == NULL)
319 hWndCenter = ::GetParent(m_hWnd);
320 if (hWndCenter == NULL)
321 return FALSE;
322 RECT wndCenterRect, wndRect;
323 if (!::GetWindowRect(hWndCenter, &wndCenterRect) || !::GetWindowRect(m_hWnd, &wndRect))
324 return FALSE;
325 int wndCenterWidth = wndCenterRect.right - wndCenterRect.left;
326 int wndCenterHeight = wndCenterRect.bottom - wndCenterRect.top;
327 int wndWidth = wndRect.right - wndRect.left;
328 int wndHeight = wndRect.bottom - wndRect.top;
329 int xPos = wndCenterRect.left + ((wndCenterWidth - wndWidth + 1) >> 1);
330 int yPos = wndCenterRect.top + ((wndCenterHeight - wndHeight + 1) >> 1);
331
332 if (!(::GetWindowLong(hWndCenter, GWL_STYLE) & WS_CHILD))
333 {
335 mi.cbSize = sizeof(mi);
336 HMONITOR hMonitor = MonitorFromWindow(hWndCenter, MONITOR_DEFAULTTOPRIMARY);
337 GetMonitorInfo(hMonitor, &mi);
338
339 if (xPos + wndWidth > mi.rcWork.right)
340 {
341 xPos = mi.rcWork.right - wndWidth;
342 }
343 else if (xPos < mi.rcWork.left)
344 {
345 xPos = mi.rcWork.left;
346 }
347
348 if (yPos + wndHeight > mi.rcWork.bottom)
349 {
350 yPos = mi.rcWork.bottom - wndHeight;
351 }
352 if (yPos < mi.rcWork.top)
353 {
354 yPos = mi.rcWork.top;
355 }
356 }
357 return ::MoveWindow(m_hWnd,
358 xPos,
359 yPos,
360 wndWidth, wndHeight, TRUE);
361 }
BOOL GetWindowRect(LPRECT lpRect) const
Definition: atlwin.h:816
CWindow GetParent() const
Definition: atlwin.h:700
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
HMONITOR WINAPI MonitorFromWindow(HWND, DWORD)
#define WS_CHILD
Definition: pedump.c:617
DWORD cbSize
Definition: winuser.h:3784
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
static MONITORINFO mi
Definition: win.c:7338
#define GetMonitorInfo
Definition: winuser.h:5791
#define GetWindowLong
Definition: winuser.h:5796
#define GWL_STYLE
Definition: winuser.h:852

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

◆ ChangeClipboardChain()

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

Definition at line 363 of file atlwin.h.

364 {
366 return ::ChangeClipboardChain(m_hWnd, hWndNewNext);
367 }

◆ CheckDlgButton()

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

Definition at line 369 of file atlwin.h.

370 {
372 return ::CheckDlgButton(m_hWnd, nIDButton, nCheck);
373 }

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

◆ CheckRadioButton()

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

Definition at line 375 of file atlwin.h.

376 {
378 return ::CheckRadioButton(m_hWnd, nIDFirstButton, nIDLastButton, nIDCheckButton);
379 }

◆ ChildWindowFromPoint()

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

Definition at line 381 of file atlwin.h.

382 {
384 return ::ChildWindowFromPoint(m_hWnd, point);
385 }
POINTL point
Definition: edittest.c:50

◆ ChildWindowFromPointEx()

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

Definition at line 387 of file atlwin.h.

388 {
390 return ::ChildWindowFromPointEx(m_hWnd, point, uFlags);
391 }
UINT uFlags
Definition: api.c:59

◆ ClientToScreen() [1/2]

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

Definition at line 393 of file atlwin.h.

394 {
396 return ::ClientToScreen(m_hWnd, lpPoint);
397 }

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

◆ ClientToScreen() [2/2]

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

Definition at line 399 of file atlwin.h.

400 {
401 if (lpRect == NULL)
402 return FALSE;
404 POINT leftTop = {lpRect->left, lpRect->top};
405 POINT rightBottom = {lpRect->right, lpRect->bottom};
406 BOOL success = ::ClientToScreen(m_hWnd, &leftTop) && ::ClientToScreen(m_hWnd, &rightBottom);
407 if (success)
408 {
409 lpRect->left = leftTop.x;
410 lpRect->top = leftTop.y;
411 lpRect->right = rightBottom.x;
412 lpRect->bottom = rightBottom.y;
413 }
414 return success;
415 }
BOOL ClientToScreen(LPPOINT lpPoint) const
Definition: atlwin.h:393
unsigned int BOOL
Definition: ntddk_ex.h:94
long y
Definition: polytest.cpp:48
long x
Definition: polytest.cpp:48
#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 417 of file atlwin.h.

418 {
419 HWND hWnd;
421 hWnd = ::CreateWindowEx(dwExStyle,
422 lpstrWndClass,
423 szWindowName,
424 dwStyle,
425 rect.m_lpRect->left,
426 rect.m_lpRect->top,
427 rect.m_lpRect->right - rect.m_lpRect->left,
428 rect.m_lpRect->bottom - rect.m_lpRect->top,
430 MenuOrID.m_hMenu,
431 _AtlBaseModule.GetModuleInstance(),
432 lpCreateParam);
433 if (hWnd != NULL)
434 m_hWnd = hWnd;
435 return hWnd;
436 }
& rect
Definition: startmenu.cpp:1413
#define CreateWindowEx
Definition: winuser.h:5755

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

◆ CreateCaret()

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

Definition at line 438 of file atlwin.h.

439 {
441 return ::CreateCaret(m_hWnd, pBitmap, 0, 0);
442 }

◆ CreateGrayCaret()

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

Definition at line 444 of file atlwin.h.

445 {
447 return ::CreateCaret(m_hWnd, (HBITMAP)1, nWidth, nHeight);
448 }
static HBITMAP
Definition: button.c:44

◆ CreateSolidCaret()

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

Definition at line 450 of file atlwin.h.

451 {
453 return ::CreateCaret(m_hWnd, (HBITMAP)0, nWidth, nHeight);
454 }

◆ DeferWindowPos()

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

Definition at line 456 of file atlwin.h.

457 {
459 return ::DeferWindowPos(hWinPosInfo, m_hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
460 }
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 473 of file atlwin.h.

474 {
475 HWND hWnd = m_hWnd;
476 m_hWnd = NULL;
477 return hWnd;
478 }

◆ DlgDirList()

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

Definition at line 480 of file atlwin.h.

481 {
483 return ::DlgDirList(m_hWnd, lpPathSpec, nIDListBox, nIDStaticPath, nFileType);
484 }

◆ DlgDirListComboBox()

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

Definition at line 486 of file atlwin.h.

487 {
489 return ::DlgDirListComboBox(m_hWnd, lpPathSpec, nIDComboBox, nIDStaticPath, nFileType);
490 }

◆ DlgDirSelect()

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

Definition at line 492 of file atlwin.h.

493 {
495 return ::DlgDirSelectEx(m_hWnd, lpString, nCount, nIDListBox);
496 }

◆ DlgDirSelectComboBox()

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

Definition at line 498 of file atlwin.h.

499 {
501 return ::DlgDirSelectComboBoxEx(m_hWnd, lpString, nCount, nIDComboBox);
502 }

◆ DragAcceptFiles()

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

Definition at line 504 of file atlwin.h.

505 {
507// FIXME following line requires shellapi.h
508// ::DragAcceptFiles(m_hWnd, bAccept);
509 }

◆ DrawMenuBar()

BOOL ATL::CWindow::DrawMenuBar ( )
inline

Definition at line 511 of file atlwin.h.

512 {
514 return ::DrawMenuBar(m_hWnd);
515 }

◆ EnableScrollBar()

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

Definition at line 517 of file atlwin.h.

518 {
520 return ::EnableScrollBar(m_hWnd, uSBFlags, uArrowFlags);
521 }

◆ EnableWindow()

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

Definition at line 523 of file atlwin.h.

524 {
526 return ::EnableWindow(m_hWnd, bEnable);
527 }
_In_ BOOL bEnable
Definition: winddi.h:3426

Referenced by CZipExtract::CExtractSettingsPage::ExtractEntry(), and CZipExtract::CExtractSettingsPage::OnWizardNext().

◆ EndPaint()

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

Definition at line 529 of file atlwin.h.

530 {
532 ::EndPaint(m_hWnd, lpPaint);
533 }
void EndPaint(LPPAINTSTRUCT lpPaint)
Definition: atlwin.h:529

Referenced by EndPaint().

◆ FlashWindow()

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

Definition at line 535 of file atlwin.h.

536 {
538 return ::FlashWindow(m_hWnd, bInvert);
539 }
static BOOL bInvert
Definition: win.c:51

◆ GetClientRect()

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

Definition at line 541 of file atlwin.h.

542 {
544 return ::GetClientRect(m_hWnd, lpRect);
545 }

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

◆ GetDC()

HDC ATL::CWindow::GetDC ( )
inline

◆ GetDCEx()

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

Definition at line 553 of file atlwin.h.

554 {
556 return ::GetDCEx(m_hWnd, hRgnClip, flags);
557 }
GLbitfield flags
Definition: glext.h:7161

◆ GetDescendantWindow()

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

Definition at line 577 of file atlwin.h.

578 {
580 IDHWNDPAIR idHWndPair;
581 idHWndPair.nID = nID;
582 idHWndPair.hWnd = NULL;
584 return idHWndPair.hWnd;
585 }
static BOOL CALLBACK GetDescendantWindowCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:565
struct ATL::CWindow::_IDHWNDPAIR IDHWNDPAIR
LONG_PTR LPARAM
Definition: windef.h:208
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 565 of file atlwin.h.

566 {
568 {
569 ((PIDHWNDPAIR)lParam)->hWnd = hWnd;
570 return FALSE;
571 }
573 return (((PIDHWNDPAIR)lParam)->hWnd == NULL);
574 }
struct ATL::CWindow::_IDHWNDPAIR * PIDHWNDPAIR
LPARAM lParam
Definition: combotst.c:139
#define GWL_ID
Definition: winuser.h:859

Referenced by GetDescendantWindow(), and GetDescendantWindowCallback().

◆ GetDlgControl()

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

Definition at line 587 of file atlwin.h.

588 {
590 return E_FAIL;//FIXME stub
591 }
#define E_FAIL
Definition: ddrawi.h:102

◆ GetDlgCtrlID()

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

Definition at line 593 of file atlwin.h.

594 {
596 return ::GetDlgCtrlID(m_hWnd);
597 }

◆ GetDlgHost()

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

Definition at line 599 of file atlwin.h.

600 {
602 return E_FAIL;//FIXME stub
603 }

◆ GetDlgItem()

◆ GetDlgItemInt()

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

Definition at line 611 of file atlwin.h.

615 {
617 return ::GetDlgItemInt(m_hWnd, nID, lpTrans, bSigned);
618 }

◆ GetDlgItemText() [1/2]

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

Definition at line 642 of file atlwin.h.

645 {
646 HWND item = GetDlgItem(nID);
647 if (!item)
648 return FALSE;
649 return CWindow(item).GetWindowText(bstrText);
650 }
CWindow(HWND hWnd=NULL)
Definition: atlwin.h:277
HWND GetDlgItem(_In_ int nID) const
Definition: atlwin.h:605
static ATOM item
Definition: dde.c:856

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

624 {
626 return ::GetDlgItemText(m_hWnd, nID, lpStr, nMaxCount);
627 }
_In_ int nMaxCount
Definition: winuser.h:4877

◆ GetExStyle()

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

Definition at line 652 of file atlwin.h.

653 {
655 return ::GetWindowLong(m_hWnd, GWL_EXSTYLE);
656 }
#define GWL_EXSTYLE
Definition: winuser.h:851

◆ GetFont()

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

Definition at line 658 of file atlwin.h.

659 {
661 return (HFONT)::SendMessage(m_hWnd, WM_GETFONT, 0, 0);
662 }
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
#define WM_GETFONT
Definition: winuser.h:1651
#define SendMessage
Definition: winuser.h:5843

◆ GetHotKey()

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

Definition at line 664 of file atlwin.h.

665 {
667 return (DWORD)::SendMessage(m_hWnd, WM_GETHOTKEY, 0, 0);
668 }
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WM_GETHOTKEY
Definition: winuser.h:1653

◆ GetIcon()

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

Definition at line 670 of file atlwin.h.

671 {
673 return (HICON)::SendMessage(m_hWnd, WM_GETICON, (WPARAM)bBigIcon, 0);
674 }
static HICON
Definition: imagelist.c:84
UINT_PTR WPARAM
Definition: windef.h:207

◆ GetLastActivePopup()

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

Definition at line 676 of file atlwin.h.

677 {
679 return ::GetLastActivePopup(m_hWnd);
680 }

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

◆ GetMenu()

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

Definition at line 682 of file atlwin.h.

683 {
685 return ::GetMenu(m_hWnd);
686 }

Referenced by CMainWindow::OnInitMenuPopup().

◆ GetNextDlgGroupItem()

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

Definition at line 688 of file atlwin.h.

689 {
691 return ::GetNextDlgGroupItem(m_hWnd, hWndCtl, bPrevious);
692 }

◆ GetNextDlgTabItem()

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

Definition at line 694 of file atlwin.h.

695 {
697 return ::GetNextDlgTabItem(m_hWnd, hWndCtl, bPrevious);
698 }

◆ GetParent()

◆ GetScrollInfo()

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

Definition at line 706 of file atlwin.h.

707 {
709 return ::GetScrollInfo(m_hWnd, nBar, lpScrollInfo);
710 }

◆ GetScrollPos()

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

Definition at line 712 of file atlwin.h.

713 {
715 return ::GetScrollPos(m_hWnd, nBar);
716 }

◆ GetScrollRange()

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

Definition at line 718 of file atlwin.h.

719 {
721 return ::GetScrollRange(m_hWnd, nBar, lpMinPos, lpMaxPos);
722 }

◆ GetStyle()

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

Definition at line 724 of file atlwin.h.

725 {
727 return ::GetWindowLong(m_hWnd, GWL_STYLE);
728 }

◆ GetSystemMenu()

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

Definition at line 730 of file atlwin.h.

731 {
733 return ::GetSystemMenu(m_hWnd, bRevert);
734 }

◆ GetTopLevelParent()

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

Definition at line 736 of file atlwin.h.

737 {
739
741 HWND hWndTmp;
742 while ((hWndTmp = ::GetParent(hWndParent)) != NULL)
743 hWndParent = hWndTmp;
744
745 return hWndParent;
746 }

◆ GetTopLevelWindow()

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

Definition at line 748 of file atlwin.h.

749 {
751 return NULL;//FIXME stub
752 }

◆ GetTopWindow()

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

Definition at line 754 of file atlwin.h.

755 {
757 return ::GetTopWindow(m_hWnd);
758 }

◆ GetUpdateRect()

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

Definition at line 760 of file atlwin.h.

761 {
763 return ::GetUpdateRect(m_hWnd, lpRect, bErase);
764 }

◆ GetUpdateRgn()

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

Definition at line 766 of file atlwin.h.

767 {
769 return :: GetUpdateRgn(m_hWnd, hRgn, bErase);
770 }
static HRGN hRgn
Definition: mapping.c:33

◆ GetWindow()

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

Definition at line 772 of file atlwin.h.

773 {
775 return ::GetWindow(m_hWnd, nCmd);
776 }

◆ GetWindowContextHelpId()

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

Definition at line 778 of file atlwin.h.

779 {
781 return ::GetWindowContextHelpId(m_hWnd);
782 }

◆ GetWindowDC()

HDC ATL::CWindow::GetWindowDC ( )
inline

Definition at line 784 of file atlwin.h.

785 {
787 return ::GetWindowDC(m_hWnd);
788 }

Referenced by CTrayWindow::DrawSizerWithTheme().

◆ GetWindowLong()

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

Definition at line 790 of file atlwin.h.

791 {
793 return ::GetWindowLong(m_hWnd, nIndex);
794 }

◆ GetWindowLongPtr()

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

Definition at line 796 of file atlwin.h.

797 {
799 return ::GetWindowLongPtr(m_hWnd, nIndex);
800 }

◆ GetWindowPlacement()

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

Definition at line 802 of file atlwin.h.

803 {
805 return ::GetWindowPlacement(m_hWnd, lpwndpl);
806 }

◆ GetWindowProcessID()

DWORD ATL::CWindow::GetWindowProcessID ( )
inline

Definition at line 808 of file atlwin.h.

809 {
811 DWORD processID;
813 return processID;
814 }
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)

◆ GetWindowRect()

◆ GetWindowRgn()

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

Definition at line 822 of file atlwin.h.

823 {
825 return ::GetWindowRgn(m_hWnd, hRgn);
826 }

◆ GetWindowText() [1/2]

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

Definition at line 846 of file atlwin.h.

848 {
851 if (!::SysReAllocStringLen(&bstrText, NULL, length))
852 return FALSE;
853 if (::GetWindowTextW(m_hWnd, bstrText, length + 1))
854 return TRUE;
855 ::SysFreeString(bstrText);
856 bstrText = NULL;
857 return FALSE;
858 }
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:271
int WINAPI SysReAllocStringLen(BSTR *old, const OLECHAR *str, unsigned int len)
Definition: oleaut.c:383
int32_t INT
Definition: typedefs.h:58
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
Definition: window.c:1412
int WINAPI GetWindowTextLengthW(_In_ HWND)

◆ GetWindowText() [2/2]

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

Definition at line 828 of file atlwin.h.

831 {
833 return ::GetWindowText(m_hWnd, lpszStringBuf, nMaxCount);
834 }

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

◆ GetWindowTextLength()

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

Definition at line 860 of file atlwin.h.

861 {
863 return ::GetWindowTextLength(m_hWnd);
864 }

Referenced by CAddressEditBox::GetComboBoxText().

◆ GetWindowThreadID()

DWORD ATL::CWindow::GetWindowThreadID ( )
inline

Definition at line 866 of file atlwin.h.

867 {
869 return ::GetWindowThreadProcessId(m_hWnd, NULL);
870 }

◆ GetWindowWord()

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

Definition at line 872 of file atlwin.h.

873 {
875 return (WORD)::GetWindowLong(m_hWnd, nIndex);
876 }
unsigned short WORD
Definition: ntddk_ex.h:93

◆ GetWndClassName()

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

Definition at line 287 of file atlwin.h.

288 {
289 return NULL;
290 }

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

◆ GotoDlgCtrl()

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

Definition at line 878 of file atlwin.h.

879 {
882 }
#define WM_NEXTDLGCTL
Definition: winuser.h:1643

◆ HideCaret()

BOOL ATL::CWindow::HideCaret ( )
inline

Definition at line 884 of file atlwin.h.

885 {
887 return ::HideCaret(m_hWnd);
888 }

◆ HiliteMenuItem()

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

Definition at line 890 of file atlwin.h.

891 {
893 return ::HiliteMenuItem(m_hWnd, hMenu, uHiliteItem, uHilite);
894 }

◆ Invalidate()

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

Definition at line 896 of file atlwin.h.

897 {
899 return ::InvalidateRect(m_hWnd, NULL, bErase);
900 }

◆ InvalidateRect()

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

Definition at line 902 of file atlwin.h.

903 {
905 return ::InvalidateRect(m_hWnd, lpRect, bErase);
906 }

Referenced by CTaskToolbar::EndUpdate().

◆ InvalidateRgn()

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

Definition at line 908 of file atlwin.h.

909 {
911 ::InvalidateRgn(m_hWnd, hRgn, bErase);
912 }
void InvalidateRgn(HRGN hRgn, BOOL bErase=TRUE)
Definition: atlwin.h:908

Referenced by InvalidateRgn().

◆ IsChild()

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

Definition at line 914 of file atlwin.h.

915 {
917 return ::IsChild(m_hWnd, hWnd);
918 }

Referenced by CSearchBar::TranslateAcceleratorIO().

◆ IsDialogMessage()

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

Definition at line 920 of file atlwin.h.

921 {
923 return ::IsDialogMessage(m_hWnd, lpMsg);
924 }

◆ IsDlgButtonChecked()

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

Definition at line 926 of file atlwin.h.

927 {
929 return ::IsDlgButtonChecked(m_hWnd, nIDButton);
930 }

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

◆ IsIconic()

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

Definition at line 932 of file atlwin.h.

933 {
935 return ::IsIconic(m_hWnd);
936 }

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

◆ IsParentDialog()

BOOL ATL::CWindow::IsParentDialog ( )
inline

Definition at line 938 of file atlwin.h.

939 {
941 TCHAR pszType[10]; // Use sizeof("#32770")+3 so that extra characters can be detected.
942 if (!RealGetWindowClass(::GetParent(m_hWnd), pszType, _countof(pszType)))
943 return FALSE;
944 return !_tcscmp(pszType, _T("#32770"));
945 }
#define _tcscmp
Definition: tchar.h:1424
#define _countof(array)
Definition: sndvol32.h:68
#define _T(x)
Definition: vfdio.h:22
#define RealGetWindowClass
Definition: winuser.h:5835
char TCHAR
Definition: xmlstorage.h:189

◆ IsWindow()

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

Definition at line 947 of file atlwin.h.

948 {
949 return ::IsWindow(m_hWnd);
950 }

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(), CTrayWindow::DrawShowDesktopButton(), EnableScrollBar(), EnableWindow(), EndPaint(), 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(), CSysPagerWnd::OnCommand(), CNotifyToolbar::OnCtxMenu(), CMainWindow::OnSize(), CTrayWindow::OnTaskbarSettingsChanged(), CTrayWindow::Open(), OpenClipboard(), PostMessage(), PrevDlgCtrl(), Print(), PrintClient(), CTrayShowDesktopButton::PtInButton(), 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 952 of file atlwin.h.

953 {
955 return ::IsWindowEnabled(m_hWnd);
956 }

Referenced by CTrayWindow::MinimizeWindowsProc(), and CTrayWindow::RestoreMinimizedNonTaskWnds().

◆ IsWindowUnicode()

BOOL ATL::CWindow::IsWindowUnicode ( )
inline

Definition at line 964 of file atlwin.h.

965 {
967 return ::IsWindowUnicode(m_hWnd);
968 }

◆ IsWindowVisible()

◆ IsZoomed()

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

Definition at line 970 of file atlwin.h.

971 {
973 return ::IsZoomed(m_hWnd);
974 }

◆ KillTimer()

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

Definition at line 976 of file atlwin.h.

977 {
979 return ::KillTimer(m_hWnd, nIDEvent);
980 }

◆ LockWindowUpdate()

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

Definition at line 982 of file atlwin.h.

983 {
985 if (bLock)
986 return ::LockWindowUpdate(m_hWnd);
987 return ::LockWindowUpdate(NULL);
988 }

◆ MapWindowPoints() [1/2]

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

Definition at line 990 of file atlwin.h.

991 {
993 return ::MapWindowPoints(m_hWnd, hWndTo, lpPoint, nCount);
994 }

◆ MapWindowPoints() [2/2]

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

Definition at line 996 of file atlwin.h.

997 {
999 return ::MapWindowPoints(m_hWnd, hWndTo, (LPPOINT)lpRect, sizeof(RECT) / sizeof(POINT));
1000 }

◆ MessageBox()

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

Definition at line 1002 of file atlwin.h.

1003 {
1005 return ::MessageBox(m_hWnd, lpszText, lpszCaption, nType);
1006 }

Referenced by ShowError(), and ShowOutOfMemory().

◆ ModifyStyle()

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

Definition at line 1008 of file atlwin.h.

1009 {
1012 if (nFlags != 0)
1013 return ::SetWindowPos(m_hWnd, NULL, 0, 0, 0, 0, nFlags | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
1014 return TRUE;
1015 }
#define SetWindowLong
Definition: winuser.h:5853
#define SWP_NOACTIVATE
Definition: winuser.h:1242
#define SWP_NOMOVE
Definition: winuser.h:1244
#define SWP_NOSIZE
Definition: winuser.h:1245
#define SWP_NOZORDER
Definition: winuser.h:1247

Referenced by CDownloaderProgress::SetMarquee().

◆ ModifyStyleEx()

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

Definition at line 1017 of file atlwin.h.

1018 {
1021 if (nFlags != 0)
1022 return ::SetWindowPos(m_hWnd, NULL, 0, 0, 0, 0, nFlags | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
1023 return TRUE;
1024 }

◆ MoveWindow()

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

Definition at line 1026 of file atlwin.h.

1027 {
1029 return ::MoveWindow(m_hWnd, x, y, nWidth, nHeight, bRepaint);
1030 }

◆ NextDlgCtrl()

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

Definition at line 1032 of file atlwin.h.

1033 {
1036 }

◆ OpenClipboard()

BOOL ATL::CWindow::OpenClipboard ( )
inline

Definition at line 1038 of file atlwin.h.

1039 {
1041 return ::OpenClipboard(m_hWnd);
1042 }

Referenced by CMainWindow::OnCommand().

◆ operator HWND()

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

Definition at line 282 of file atlwin.h.

283 {
284 return m_hWnd;
285 }

◆ PostMessage()

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

◆ PrevDlgCtrl()

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

Definition at line 1050 of file atlwin.h.

1051 {
1054 }

◆ Print()

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

Definition at line 1056 of file atlwin.h.

1057 {
1060 }
static HDC hDC
Definition: 3dtext.c:33
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define WM_PRINT
Definition: winuser.h:1880

◆ PrintClient()

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

Definition at line 1062 of file atlwin.h.

1063 {
1066 }
#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 1068 of file atlwin.h.

1069 {
1071 return ::RedrawWindow(m_hWnd, lpRectUpdate, hRgnUpdate, flags);
1072 }

◆ ReleaseDC()

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

Definition at line 1074 of file atlwin.h.

1075 {
1077 return ::ReleaseDC(m_hWnd, hDC);
1078 }

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

◆ ResizeClient()

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

Definition at line 1080 of file atlwin.h.

1081 {
1083 RECT clientRect, wndRect;
1084 ::GetClientRect(m_hWnd, &clientRect);
1085 ::GetWindowRect(m_hWnd, &wndRect);
1086 return ::MoveWindow(m_hWnd, wndRect.left, wndRect.top,
1087 nWidth + (wndRect.right - wndRect.left) - (clientRect.right - clientRect.left),
1088 nHeight + (wndRect.bottom - wndRect.top) - (clientRect.bottom - clientRect.top),
1089 bRedraw);
1090 }
BOOL GetClientRect(LPRECT lpRect) const
Definition: atlwin.h:541

◆ ScreenToClient()

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

Definition at line 1092 of file atlwin.h.

1093 {
1095 return ::ScreenToClient(m_hWnd, lpPoint);
1096 }

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

1099 {
1101 return ::ScrollWindow(m_hWnd, xAmount, yAmount, lpRect, lpClipRect);
1102 }

◆ ScrollWindowEx()

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

Definition at line 1104 of file atlwin.h.

1105 {
1107 return ::ScrollWindowEx(m_hWnd, dx, dy, lpRectScroll, lpRectClip, hRgnUpdate, lpRectUpdate, flags);
1108 }
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 1110 of file atlwin.h.

1111 {
1113 return ::SendDlgItemMessage(m_hWnd, nID, message, wParam, lParam);
1114 }

◆ SendMessage() [1/2]

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

Definition at line 1122 of file atlwin.h.

1123 {
1125 return ::SendMessage(hWnd, message, wParam, lParam);
1126 }

◆ SendMessage() [2/2]

◆ SendMessageToDescendants()

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

Definition at line 1143 of file atlwin.h.

1144 {
1146 MSG msg;
1147 msg.message = message;
1148 msg.wParam = wParam;
1149 msg.lParam = lParam;
1150 if (bDeep)
1152 else
1153 ::EnumChildWindows(m_hWnd, &SendMessageToDescendantsCallbackDeep, (LPARAM)&msg);
1154 }
#define msg(x)
Definition: auth_time.c:54
static BOOL CALLBACK SendMessageToDescendantsCallbackDeep(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1135
static BOOL CALLBACK SendMessageToDescendantsCallback(HWND hWnd, LPARAM lParam)
Definition: atlwin.h:1129
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 1129 of file atlwin.h.

1130 {
1132 return TRUE;
1133 }

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

1157 {
1159 return ::SendNotifyMessage(m_hWnd, message, wParam, lParam);
1160 }

◆ SetActiveWindow()

HWND ATL::CWindow::SetActiveWindow ( )
inline

Definition at line 1162 of file atlwin.h.

1163 {
1165 return ::SetActiveWindow(m_hWnd);
1166 }

Referenced by CSearchBar::UIActivateIO().

◆ SetCapture()

HWND ATL::CWindow::SetCapture ( )
inline

Definition at line 1168 of file atlwin.h.

1169 {
1171 return ::SetCapture(m_hWnd);
1172 }

◆ SetClipboardViewer()

HWND ATL::CWindow::SetClipboardViewer ( )
inline

Definition at line 1174 of file atlwin.h.

1175 {
1177 return ::SetClipboardViewer(m_hWnd);
1178 }

◆ SetDlgCtrlID()

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

Definition at line 1180 of file atlwin.h.

1181 {
1183 return ::SetWindowLong(m_hWnd, GWL_ID, nID);
1184 }

◆ SetDlgItemInt()

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

Definition at line 1186 of file atlwin.h.

1187 {
1189 return ::SetDlgItemInt(m_hWnd, nID, nValue, bSigned);
1190 }

◆ SetDlgItemText()

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

Definition at line 1192 of file atlwin.h.

1193 {
1195 return ::SetDlgItemText(m_hWnd, nID, lpszString);
1196 }

◆ SetFocus()

HWND ATL::CWindow::SetFocus ( )
inline

◆ SetFont()

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

Definition at line 1204 of file atlwin.h.

1205 {
1208 }
HFONT hFont
Definition: main.c:53
#define WM_SETFONT
Definition: winuser.h:1650

◆ SetHotKey()

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

Definition at line 1210 of file atlwin.h.

1211 {
1213 return ::SendMessage(m_hWnd, WM_SETHOTKEY, MAKEWPARAM(wVirtualKeyCode, wModifiers), 0);
1214 }
#define MAKEWPARAM(l, h)
Definition: winuser.h:4009
#define WM_SETHOTKEY
Definition: winuser.h:1652

◆ SetIcon()

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

Definition at line 1216 of file atlwin.h.

1217 {
1219 return (HICON)::SendMessage(m_hWnd, WM_SETICON, (WPARAM)bBigIcon, (LPARAM)hIcon);
1220 }
HICON hIcon
Definition: msconfig.c:44

Referenced by CZipExtract::s_PropSheetCallbackProc().

◆ SetMenu()

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

Definition at line 1222 of file atlwin.h.

1223 {
1225 return ::SetMenu(m_hWnd, hMenu);
1226 }

◆ SetParent()

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

Definition at line 1228 of file atlwin.h.

1229 {
1231 return ::SetParent(m_hWnd, hWndNewParent);
1232 }

Referenced by CSearchBar::SetSite().

◆ SetRedraw()

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

Definition at line 1234 of file atlwin.h.

1235 {
1237 ::SendMessage(m_hWnd, WM_SETREDRAW, (WPARAM)bRedraw, 0);
1238 }
#define WM_SETREDRAW
Definition: winuser.h:1616

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

◆ SetScrollInfo()

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

Definition at line 1240 of file atlwin.h.

1241 {
1243 return ::SetScrollInfo(m_hWnd, nBar, lpScrollInfo, bRedraw);
1244 }

◆ SetScrollPos()

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

Definition at line 1246 of file atlwin.h.

1247 {
1249 return ::SetScrollPos(m_hWnd, nBar, nPos, bRedraw);
1250 }

◆ SetScrollRange()

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

Definition at line 1252 of file atlwin.h.

1253 {
1255 return ::SetScrollRange(m_hWnd, nBar, nMinPos, nMaxPos, bRedraw);
1256 }

◆ SetTimer()

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

Definition at line 1258 of file atlwin.h.

1259 {
1261 return ::SetTimer(m_hWnd, nIDEvent, nElapse, reinterpret_cast<TIMERPROC>(lpfnTimer));
1262 }
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
Definition: winuser.h:2897

◆ SetWindowContextHelpId()

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

Definition at line 1264 of file atlwin.h.

1265 {
1267 return ::SetWindowContextHelpId(m_hWnd, dwContextHelpId);
1268 }

◆ SetWindowLong()

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

Definition at line 1270 of file atlwin.h.

1271 {
1273 return ::SetWindowLong(m_hWnd, nIndex, dwNewLong);
1274 }

◆ SetWindowLongPtr()

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

Definition at line 1276 of file atlwin.h.

1277 {
1279 return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong);
1280 }

◆ SetWindowPlacement()

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

Definition at line 1282 of file atlwin.h.

1283 {
1285 return ::SetWindowPlacement(m_hWnd, lpwndpl);
1286 }

◆ SetWindowPos()

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

Definition at line 1288 of file atlwin.h.

1289 {
1291 return ::SetWindowPos(m_hWnd, hWndInsertAfter, x, y, cx, cy, nFlags);
1292 }

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

◆ SetWindowRgn()

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

Definition at line 1294 of file atlwin.h.

1295 {
1297 return ::SetWindowRgn(m_hWnd, hRgn, bRedraw);
1298 }

◆ SetWindowText()

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

Definition at line 1300 of file atlwin.h.

1301 {
1303 return ::SetWindowText(m_hWnd, lpszString);
1304 }

Referenced by SetFileInfo().

◆ SetWindowWord()

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

Definition at line 1306 of file atlwin.h.

1307 {
1309 if (nIndex >= -4)
1310 return ::SetWindowLong(m_hWnd, nIndex - 2, MAKELONG(LOWORD(::GetWindowLong(m_hWnd, nIndex - 2)), wNewWord));
1311 else
1312 return ::SetWindowLong(m_hWnd, nIndex, MAKELONG(wNewWord, HIWORD(::GetWindowLong(m_hWnd, nIndex))));
1313 }
#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 1315 of file atlwin.h.

1316 {
1318 return ::ShowCaret(m_hWnd);
1319 }

◆ ShowOwnedPopups()

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

Definition at line 1321 of file atlwin.h.

1322 {
1324 return ::ShowOwnedPopups(m_hWnd, bShow);
1325 }

◆ ShowScrollBar()

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

Definition at line 1327 of file atlwin.h.

1328 {
1330 return ::ShowScrollBar(m_hWnd, nBar, bShow);
1331 }

◆ ShowWindow()

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

◆ ShowWindowAsync()

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

Definition at line 1339 of file atlwin.h.

1340 {
1342 return ::ShowWindowAsync(m_hWnd, nCmdShow);
1343 }

◆ UpdateWindow()

BOOL ATL::CWindow::UpdateWindow ( )
inline

Definition at line 1345 of file atlwin.h.

1346 {
1348 return ::UpdateWindow(m_hWnd);
1349 }

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

◆ ValidateRect()

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

Definition at line 1351 of file atlwin.h.

1352 {
1354 return ::ValidateRect(m_hWnd, lpRect);
1355 }

◆ ValidateRgn()

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

Definition at line 1357 of file atlwin.h.

1358 {
1360 return ::ValidateRgn(m_hWnd, hRgn);
1361 }

◆ WinHelp()

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

Definition at line 1363 of file atlwin.h.

1364 {
1366 return ::WinHelp(m_hWnd, lpszHelp, nCmd, dwData);
1367 }
static HANDLE ULONG_PTR dwData
Definition: file.c:35

Member Data Documentation

◆ m_hWnd

HWND ATL::CWindow::m_hWnd

Definition at line 273 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(), CTrayShowDesktopButton::DoCreate(), 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(), GetTopLevelParent(), GetTopLevelWindow(), GetTopWindow(), CTrayWindow::GetTrayWindow(), 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(), CShellBrowser::OnAddToFavorites(), CZipExtract::CExtractSettingsPage::OnBrowse(), CZipPassword::OnButton(), CTaskSwitchWnd::OnCommand(), CTrayWindow::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(), CShellBrowser::OnDisconnectNetworkDrive(), CTrayShowDesktopButton::OnDraw(), CMainWindow::OnDropFiles(), CSysPagerWnd::OnEraseBackground(), CTaskSwitchWnd::OnEraseBackground(), CTrayNotifyWnd::OnEraseBackground(), CTrayNotifyWnd::OnGetMinimumSize(), CConfirmReplace::OnInitDialog(), CZipPassword::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(), CTrayShowDesktopButton::OnSettingChanged(), CTaskSwitchWnd::OnSize(), CShellBrowser::OnSize(), CStartMenuSettingsPage::OnStartMenuCustomize(), CTrayWindow::OnSysChar(), CTrayWindow::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(), 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(), ATL::CWindowImplBaseT< TBase, TWinTraits >::SubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::SubclassWindow(), CTrayWindow::TrackCtxMenu(), CTrayWindow::TrackMenu(), CMainWindow::TrackPopupMenu(), CDefView::TranslateAccelerator(), CSearchBar::TranslateAcceleratorIO(), CShellBrowser::TranslateAcceleratorSB(), CTrayWindow::TrayPropertiesThread(), ATL::CWindowImplBaseT< TBase, TWinTraits >::UnsubclassWindow(), ATL::CContainedWindowT< TBase, TWinTraits >::UnsubclassWindow(), 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 274 of file atlwin.h.


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