ReactOS 0.4.15-dev-5893-g1bb4167
ATL::CWindow Class Reference

#include <atlwin.h>

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

Classes

struct  _IDHWNDPAIR
 

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

HWND m_hWnd
 

Static Public Attributes

static RECT rcDefault
 

Private Types

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

Static Private Member Functions

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

Detailed Description

Definition at line 264 of file atlwin.h.

Member Typedef Documentation

◆ IDHWNDPAIR

◆ PIDHWNDPAIR

Constructor & Destructor Documentation

◆ CWindow()

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

Definition at line 271 of file atlwin.h.

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

Member Function Documentation

◆ ArrangeIconicWindows()

UINT ATL::CWindow::ArrangeIconicWindows ( )
inline

Definition at line 286 of file atlwin.h.

287 {
289 return ::ArrangeIconicWindows(m_hWnd);
290 }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
BOOL IsWindow() const
Definition: atlwin.h:941

◆ Attach()

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

Definition at line 292 of file atlwin.h.

293 {
294 m_hWnd = hWndNew;
295 }

◆ BeginPaint()

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

Definition at line 297 of file atlwin.h.

298 {
300 return ::BeginPaint(m_hWnd, lpPaint);
301 }

◆ BringWindowToTop()

BOOL ATL::CWindow::BringWindowToTop ( )
inline

Definition at line 303 of file atlwin.h.

304 {
306 return ::BringWindowToTop(m_hWnd);
307 }

◆ CenterWindow()

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

Definition at line 309 of file atlwin.h.

310 {
312 if (hWndCenter == NULL)
313 hWndCenter = ::GetParent(m_hWnd);
314 if (hWndCenter == NULL)
315 return FALSE;
316 RECT wndCenterRect, wndRect;
317 if (!::GetWindowRect(hWndCenter, &wndCenterRect) || !::GetWindowRect(m_hWnd, &wndRect))
318 return FALSE;
319 int wndCenterWidth = wndCenterRect.right - wndCenterRect.left;
320 int wndCenterHeight = wndCenterRect.bottom - wndCenterRect.top;
321 int wndWidth = wndRect.right - wndRect.left;
322 int wndHeight = wndRect.bottom - wndRect.top;
323 int xPos = wndCenterRect.left + ((wndCenterWidth - wndWidth + 1) >> 1);
324 int yPos = wndCenterRect.top + ((wndCenterHeight - wndHeight + 1) >> 1);
325
326 if (!(::GetWindowLong(hWndCenter, GWL_STYLE) & WS_CHILD))
327 {
329 mi.cbSize = sizeof(mi);
330 HMONITOR hMonitor = MonitorFromWindow(hWndCenter, MONITOR_DEFAULTTOPRIMARY);
331 GetMonitorInfo(hMonitor, &mi);
332
333 if (xPos + wndWidth > mi.rcWork.right)
334 {
335 xPos = mi.rcWork.right - wndWidth;
336 }
337 else if (xPos < mi.rcWork.left)
338 {
339 xPos = mi.rcWork.left;
340 }
341
342 if (yPos + wndHeight > mi.rcWork.bottom)
343 {
344 yPos = mi.rcWork.bottom - wndHeight;
345 }
346 if (yPos < mi.rcWork.top)
347 {
348 yPos = mi.rcWork.top;
349 }
350 }
351 return ::MoveWindow(m_hWnd,
352 xPos,
353 yPos,
354 wndWidth, wndHeight, TRUE);
355 }
BOOL GetWindowRect(LPRECT lpRect) const
Definition: atlwin.h:810
CWindow GetParent() const
Definition: atlwin.h:694
#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:3774
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:5781
#define GetWindowLong
Definition: winuser.h:5786
#define GWL_STYLE
Definition: winuser.h:846

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

◆ ChangeClipboardChain()

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

Definition at line 357 of file atlwin.h.

358 {
360 return ::ChangeClipboardChain(m_hWnd, hWndNewNext);
361 }

◆ CheckDlgButton()

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

Definition at line 363 of file atlwin.h.

364 {
366 return ::CheckDlgButton(m_hWnd, nIDButton, nCheck);
367 }

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

◆ CheckRadioButton()

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

Definition at line 369 of file atlwin.h.

370 {
372 return ::CheckRadioButton(m_hWnd, nIDFirstButton, nIDLastButton, nIDCheckButton);
373 }

◆ ChildWindowFromPoint()

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

Definition at line 375 of file atlwin.h.

376 {
378 return ::ChildWindowFromPoint(m_hWnd, point);
379 }
POINTL point
Definition: edittest.c:50

◆ ChildWindowFromPointEx()

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

Definition at line 381 of file atlwin.h.

382 {
384 return ::ChildWindowFromPointEx(m_hWnd, point, uFlags);
385 }
UINT uFlags
Definition: api.c:59

◆ ClientToScreen() [1/2]

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

Definition at line 387 of file atlwin.h.

388 {
390 return ::ClientToScreen(m_hWnd, lpPoint);
391 }

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

◆ ClientToScreen() [2/2]

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

Definition at line 393 of file atlwin.h.

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

412 {
413 HWND hWnd;
415 hWnd = ::CreateWindowEx(dwExStyle,
416 lpstrWndClass,
417 szWindowName,
418 dwStyle,
419 rect.m_lpRect->left,
420 rect.m_lpRect->top,
421 rect.m_lpRect->right - rect.m_lpRect->left,
422 rect.m_lpRect->bottom - rect.m_lpRect->top,
424 MenuOrID.m_hMenu,
425 _AtlBaseModule.GetModuleInstance(),
426 lpCreateParam);
427 if (hWnd != NULL)
428 m_hWnd = hWnd;
429 return hWnd;
430 }
& rect
Definition: startmenu.cpp:1413
#define CreateWindowEx
Definition: winuser.h:5745

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

◆ CreateCaret()

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

Definition at line 432 of file atlwin.h.

433 {
435 return ::CreateCaret(m_hWnd, pBitmap, 0, 0);
436 }

◆ CreateGrayCaret()

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

Definition at line 438 of file atlwin.h.

439 {
441 return ::CreateCaret(m_hWnd, (HBITMAP)1, nWidth, nHeight);
442 }
static HBITMAP
Definition: button.c:44

◆ CreateSolidCaret()

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

Definition at line 444 of file atlwin.h.

445 {
447 return ::CreateCaret(m_hWnd, (HBITMAP)0, nWidth, nHeight);
448 }

◆ DeferWindowPos()

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

Definition at line 450 of file atlwin.h.

451 {
453 return ::DeferWindowPos(hWinPosInfo, m_hWnd, hWndInsertAfter, x, y, cx, cy, uFlags);
454 }
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 467 of file atlwin.h.

468 {
469 HWND hWnd = m_hWnd;
470 m_hWnd = NULL;
471 return hWnd;
472 }

◆ DlgDirList()

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

Definition at line 474 of file atlwin.h.

475 {
477 return ::DlgDirList(m_hWnd, lpPathSpec, nIDListBox, nIDStaticPath, nFileType);
478 }

◆ DlgDirListComboBox()

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

Definition at line 480 of file atlwin.h.

481 {
483 return ::DlgDirListComboBox(m_hWnd, lpPathSpec, nIDComboBox, nIDStaticPath, nFileType);
484 }

◆ DlgDirSelect()

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

Definition at line 486 of file atlwin.h.

487 {
489 return ::DlgDirSelectEx(m_hWnd, lpString, nCount, nIDListBox);
490 }

◆ DlgDirSelectComboBox()

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

Definition at line 492 of file atlwin.h.

493 {
495 return ::DlgDirSelectComboBoxEx(m_hWnd, lpString, nCount, nIDComboBox);
496 }

◆ DragAcceptFiles()

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

Definition at line 498 of file atlwin.h.

499 {
501// FIXME following line requires shellapi.h
502// ::DragAcceptFiles(m_hWnd, bAccept);
503 }

◆ DrawMenuBar()

BOOL ATL::CWindow::DrawMenuBar ( )
inline

Definition at line 505 of file atlwin.h.

506 {
508 return ::DrawMenuBar(m_hWnd);
509 }

◆ EnableScrollBar()

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

Definition at line 511 of file atlwin.h.

512 {
514 return ::EnableScrollBar(m_hWnd, uSBFlags, uArrowFlags);
515 }

◆ EnableWindow()

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

Definition at line 517 of file atlwin.h.

518 {
520 return ::EnableWindow(m_hWnd, bEnable);
521 }
_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 523 of file atlwin.h.

524 {
526 ::EndPaint(m_hWnd, lpPaint);
527 }
void EndPaint(LPPAINTSTRUCT lpPaint)
Definition: atlwin.h:523

Referenced by EndPaint().

◆ FlashWindow()

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

Definition at line 529 of file atlwin.h.

530 {
532 return ::FlashWindow(m_hWnd, bInvert);
533 }
static BOOL bInvert
Definition: win.c:51

◆ GetClientRect()

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

Definition at line 535 of file atlwin.h.

536 {
538 return ::GetClientRect(m_hWnd, lpRect);
539 }

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

548 {
550 return ::GetDCEx(m_hWnd, hRgnClip, flags);
551 }
GLbitfield flags
Definition: glext.h:7161

◆ GetDescendantWindow()

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

Definition at line 571 of file atlwin.h.

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

560 {
562 {
563 ((PIDHWNDPAIR)lParam)->hWnd = hWnd;
564 return FALSE;
565 }
567 return (((PIDHWNDPAIR)lParam)->hWnd == NULL);
568 }
struct ATL::CWindow::_IDHWNDPAIR * PIDHWNDPAIR
LPARAM lParam
Definition: combotst.c:139
#define GWL_ID
Definition: winuser.h:853

Referenced by GetDescendantWindow(), and GetDescendantWindowCallback().

◆ GetDlgControl()

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

Definition at line 581 of file atlwin.h.

582 {
584 return E_FAIL;//FIXME stub
585 }
#define E_FAIL
Definition: ddrawi.h:102

◆ GetDlgCtrlID()

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

Definition at line 587 of file atlwin.h.

588 {
590 return ::GetDlgCtrlID(m_hWnd);
591 }

◆ GetDlgHost()

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

Definition at line 593 of file atlwin.h.

594 {
596 return E_FAIL;//FIXME stub
597 }

◆ GetDlgItem()

◆ GetDlgItemInt()

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

Definition at line 605 of file atlwin.h.

609 {
611 return ::GetDlgItemInt(m_hWnd, nID, lpTrans, bSigned);
612 }

◆ GetDlgItemText() [1/2]

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

Definition at line 636 of file atlwin.h.

639 {
640 HWND item = GetDlgItem(nID);
641 if (!item)
642 return FALSE;
643 return CWindow(item).GetWindowText(bstrText);
644 }
CWindow(HWND hWnd=NULL)
Definition: atlwin.h:271
HWND GetDlgItem(_In_ int nID) const
Definition: atlwin.h:599
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 614 of file atlwin.h.

618 {
620 return ::GetDlgItemText(m_hWnd, nID, lpStr, nMaxCount);
621 }
_In_ int nMaxCount
Definition: winuser.h:4867

◆ GetExStyle()

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

Definition at line 646 of file atlwin.h.

647 {
649 return ::GetWindowLong(m_hWnd, GWL_EXSTYLE);
650 }
#define GWL_EXSTYLE
Definition: winuser.h:845

◆ GetFont()

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

Definition at line 652 of file atlwin.h.

653 {
655 return (HFONT)::SendMessage(m_hWnd, WM_GETFONT, 0, 0);
656 }
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
#define WM_GETFONT
Definition: winuser.h:1641
#define SendMessage
Definition: winuser.h:5833

◆ GetHotKey()

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

Definition at line 658 of file atlwin.h.

659 {
661 return (DWORD)::SendMessage(m_hWnd, WM_GETHOTKEY, 0, 0);
662 }
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WM_GETHOTKEY
Definition: winuser.h:1643

◆ GetIcon()

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

Definition at line 664 of file atlwin.h.

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

◆ GetLastActivePopup()

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

Definition at line 670 of file atlwin.h.

671 {
673 return ::GetLastActivePopup(m_hWnd);
674 }

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

◆ GetMenu()

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

Definition at line 676 of file atlwin.h.

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

◆ GetNextDlgGroupItem()

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

Definition at line 682 of file atlwin.h.

683 {
685 return ::GetNextDlgGroupItem(m_hWnd, hWndCtl, bPrevious);
686 }

◆ GetNextDlgTabItem()

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

Definition at line 688 of file atlwin.h.

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

◆ GetParent()

◆ GetScrollInfo()

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

Definition at line 700 of file atlwin.h.

701 {
703 return ::GetScrollInfo(m_hWnd, nBar, lpScrollInfo);
704 }

◆ GetScrollPos()

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

Definition at line 706 of file atlwin.h.

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

◆ GetScrollRange()

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

Definition at line 712 of file atlwin.h.

713 {
715 return ::GetScrollRange(m_hWnd, nBar, lpMinPos, lpMaxPos);
716 }

◆ GetStyle()

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

Definition at line 718 of file atlwin.h.

719 {
721 return ::GetWindowLong(m_hWnd, GWL_STYLE);
722 }

◆ GetSystemMenu()

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

Definition at line 724 of file atlwin.h.

725 {
727 return ::GetSystemMenu(m_hWnd, bRevert);
728 }

◆ GetTopLevelParent()

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

Definition at line 730 of file atlwin.h.

731 {
733
735 HWND hWndTmp;
736 while ((hWndTmp = ::GetParent(hWndParent)) != NULL)
737 hWndParent = hWndTmp;
738
739 return hWndParent;
740 }

◆ GetTopLevelWindow()

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

Definition at line 742 of file atlwin.h.

743 {
745 return NULL;//FIXME stub
746 }

◆ GetTopWindow()

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

Definition at line 748 of file atlwin.h.

749 {
751 return ::GetTopWindow(m_hWnd);
752 }

◆ GetUpdateRect()

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

Definition at line 754 of file atlwin.h.

755 {
757 return ::GetUpdateRect(m_hWnd, lpRect, bErase);
758 }

◆ GetUpdateRgn()

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

Definition at line 760 of file atlwin.h.

761 {
763 return :: GetUpdateRgn(m_hWnd, hRgn, bErase);
764 }
static HRGN hRgn
Definition: mapping.c:33

◆ GetWindow()

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

Definition at line 766 of file atlwin.h.

767 {
769 return ::GetWindow(m_hWnd, nCmd);
770 }

◆ GetWindowContextHelpId()

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

Definition at line 772 of file atlwin.h.

773 {
775 return ::GetWindowContextHelpId(m_hWnd);
776 }

◆ GetWindowDC()

HDC ATL::CWindow::GetWindowDC ( )
inline

Definition at line 778 of file atlwin.h.

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

Referenced by CTrayWindow::DrawSizerWithTheme().

◆ GetWindowLong()

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

Definition at line 784 of file atlwin.h.

785 {
787 return ::GetWindowLong(m_hWnd, nIndex);
788 }

◆ GetWindowLongPtr()

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

Definition at line 790 of file atlwin.h.

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

◆ GetWindowPlacement()

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

Definition at line 796 of file atlwin.h.

797 {
799 return ::GetWindowPlacement(m_hWnd, lpwndpl);
800 }

◆ GetWindowProcessID()

DWORD ATL::CWindow::GetWindowProcessID ( )
inline

Definition at line 802 of file atlwin.h.

803 {
805 DWORD processID;
807 return processID;
808 }
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)

◆ GetWindowRect()

◆ GetWindowRgn()

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

Definition at line 816 of file atlwin.h.

817 {
819 return ::GetWindowRgn(m_hWnd, hRgn);
820 }

◆ GetWindowText() [1/2]

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

Definition at line 840 of file atlwin.h.

842 {
845 if (!::SysReAllocStringLen(&bstrText, NULL, length))
846 return FALSE;
847 if (::GetWindowTextW(m_hWnd, bstrText, length + 1))
848 return TRUE;
849 ::SysFreeString(bstrText);
850 bstrText = NULL;
851 return FALSE;
852 }
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 822 of file atlwin.h.

825 {
827 return ::GetWindowText(m_hWnd, lpszStringBuf, nMaxCount);
828 }

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

◆ GetWindowTextLength()

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

Definition at line 854 of file atlwin.h.

855 {
857 return ::GetWindowTextLength(m_hWnd);
858 }

Referenced by CAddressEditBox::GetComboBoxText().

◆ GetWindowThreadID()

DWORD ATL::CWindow::GetWindowThreadID ( )
inline

Definition at line 860 of file atlwin.h.

861 {
863 return ::GetWindowThreadProcessId(m_hWnd, NULL);
864 }

◆ GetWindowWord()

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

Definition at line 866 of file atlwin.h.

867 {
869 return (WORD)::GetWindowLong(m_hWnd, nIndex);
870 }
unsigned short WORD
Definition: ntddk_ex.h:93

◆ GetWndClassName()

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

Definition at line 281 of file atlwin.h.

282 {
283 return NULL;
284 }

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

◆ GotoDlgCtrl()

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

Definition at line 872 of file atlwin.h.

873 {
876 }
#define WM_NEXTDLGCTL
Definition: winuser.h:1633

◆ HideCaret()

BOOL ATL::CWindow::HideCaret ( )
inline

Definition at line 878 of file atlwin.h.

879 {
881 return ::HideCaret(m_hWnd);
882 }

◆ HiliteMenuItem()

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

Definition at line 884 of file atlwin.h.

885 {
887 return ::HiliteMenuItem(m_hWnd, hMenu, uHiliteItem, uHilite);
888 }

◆ Invalidate()

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

Definition at line 890 of file atlwin.h.

891 {
893 return ::InvalidateRect(m_hWnd, NULL, bErase);
894 }

◆ InvalidateRect()

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

Definition at line 896 of file atlwin.h.

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

Referenced by CTaskToolbar::EndUpdate().

◆ InvalidateRgn()

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

Definition at line 902 of file atlwin.h.

903 {
905 ::InvalidateRgn(m_hWnd, hRgn, bErase);
906 }
void InvalidateRgn(HRGN hRgn, BOOL bErase=TRUE)
Definition: atlwin.h:902

Referenced by InvalidateRgn().

◆ IsChild()

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

Definition at line 908 of file atlwin.h.

909 {
911 return ::IsChild(m_hWnd, hWnd);
912 }

Referenced by CSearchBar::TranslateAcceleratorIO().

◆ IsDialogMessage()

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

Definition at line 914 of file atlwin.h.

915 {
917 return ::IsDialogMessage(m_hWnd, lpMsg);
918 }

◆ IsDlgButtonChecked()

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

Definition at line 920 of file atlwin.h.

921 {
923 return ::IsDlgButtonChecked(m_hWnd, nIDButton);
924 }

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

◆ IsIconic()

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

Definition at line 926 of file atlwin.h.

927 {
929 return ::IsIconic(m_hWnd);
930 }

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

◆ IsParentDialog()

BOOL ATL::CWindow::IsParentDialog ( )
inline

Definition at line 932 of file atlwin.h.

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

◆ IsWindow()

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

Definition at line 941 of file atlwin.h.

942 {
943 return ::IsWindow(m_hWnd);
944 }

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(), CTaskSwitchWnd::EnumWindowsProc(), FlashWindow(), GetClientRect(), GetDC(), GetDCEx(), GetDescendantWindow(), GetDlgControl(), GetDlgCtrlID(), GetDlgHost(), GetDlgItem(), GetDlgItemInt(), GetDlgItemText(), GetExStyle(), GetFont(), GetHotKey(), GetIcon(), GetLastActivePopup(), GetMenu(), GetNextDlgGroupItem(), GetNextDlgTabItem(), GetParent(), GetScrollInfo(), GetScrollPos(), GetScrollRange(), GetStyle(), GetSystemMenu(), GetTopLevelParent(), GetTopLevelWindow(), GetTopWindow(), GetUpdateRect(), GetUpdateRgn(), GetWindow(), GetWindowContextHelpId(), GetWindowDC(), GetWindowLong(), GetWindowLongPtr(), GetWindowPlacement(), GetWindowProcessID(), GetWindowRect(), GetWindowRgn(), GetWindowText(), GetWindowTextLength(), GetWindowThreadID(), GetWindowWord(), GotoDlgCtrl(), CTaskSwitchWnd::HandleItemPaint(), CTaskSwitchWnd::HandleTaskItemClick(), HideCaret(), HiliteMenuItem(), Invalidate(), InvalidateRect(), InvalidateRgn(), IsChild(), IsDialogMessage(), IsDlgButtonChecked(), IsIconic(), IsParentDialog(), IsWindowEnabled(), IsWindowUnicode(), IsWindowVisible(), IsZoomed(), KillTimer(), LockWindowUpdate(), MapWindowPoints(), MessageBox(), CTrayWindow::MinimizeAll(), ModifyStyle(), ModifyStyleEx(), MoveWindow(), NextDlgCtrl(), CSysPagerWnd::OnCommand(), CNotifyToolbar::OnCtxMenu(), CMainWindow::OnSize(), 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 946 of file atlwin.h.

947 {
949 return ::IsWindowEnabled(m_hWnd);
950 }

Referenced by CTrayWindow::MinimizeWindowsProc().

◆ IsWindowUnicode()

BOOL ATL::CWindow::IsWindowUnicode ( )
inline

Definition at line 958 of file atlwin.h.

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

◆ IsWindowVisible()

◆ IsZoomed()

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

Definition at line 964 of file atlwin.h.

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

◆ KillTimer()

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

Definition at line 970 of file atlwin.h.

971 {
973 return ::KillTimer(m_hWnd, nIDEvent);
974 }

◆ LockWindowUpdate()

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

Definition at line 976 of file atlwin.h.

977 {
979 if (bLock)
980 return ::LockWindowUpdate(m_hWnd);
981 return ::LockWindowUpdate(NULL);
982 }

◆ MapWindowPoints() [1/2]

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

Definition at line 984 of file atlwin.h.

985 {
987 return ::MapWindowPoints(m_hWnd, hWndTo, lpPoint, nCount);
988 }

◆ MapWindowPoints() [2/2]

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

Definition at line 990 of file atlwin.h.

991 {
993 return ::MapWindowPoints(m_hWnd, hWndTo, (LPPOINT)lpRect, sizeof(RECT) / sizeof(POINT));
994 }

◆ MessageBox()

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

Definition at line 996 of file atlwin.h.

997 {
999 return ::MessageBox(m_hWnd, lpszText, lpszCaption, nType);
1000 }

Referenced by ShowFileLoadError().

◆ ModifyStyle()

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

Definition at line 1002 of file atlwin.h.

1003 {
1006 if (nFlags != 0)
1007 return ::SetWindowPos(m_hWnd, NULL, 0, 0, 0, 0, nFlags | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
1008 return TRUE;
1009 }
#define SetWindowLong
Definition: winuser.h:5843
#define SWP_NOACTIVATE
Definition: winuser.h:1232
#define SWP_NOMOVE
Definition: winuser.h:1234
#define SWP_NOSIZE
Definition: winuser.h:1235
#define SWP_NOZORDER
Definition: winuser.h:1237

Referenced by CDownloaderProgress::SetMarquee().

◆ ModifyStyleEx()

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

Definition at line 1011 of file atlwin.h.

1012 {
1015 if (nFlags != 0)
1016 return ::SetWindowPos(m_hWnd, NULL, 0, 0, 0, 0, nFlags | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
1017 return TRUE;
1018 }

◆ MoveWindow()

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

Definition at line 1020 of file atlwin.h.

1021 {
1023 return ::MoveWindow(m_hWnd, x, y, nWidth, nHeight, bRepaint);
1024 }

◆ NextDlgCtrl()

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

Definition at line 1026 of file atlwin.h.

1027 {
1030 }

◆ OpenClipboard()

BOOL ATL::CWindow::OpenClipboard ( )
inline

Definition at line 1032 of file atlwin.h.

1033 {
1035 return ::OpenClipboard(m_hWnd);
1036 }

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

◆ operator HWND()

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

Definition at line 276 of file atlwin.h.

277 {
278 return m_hWnd;
279 }

◆ PostMessage()

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

Definition at line 1038 of file atlwin.h.

1039 {
1041 return ::PostMessage(m_hWnd, message, wParam, lParam);
1042 }
WPARAM wParam
Definition: combotst.c:138
Definition: tftpd.h:60

Referenced by CStartButton::OnLButtonDown(), CTrayShowDesktopButton::OnTimer(), and CTrayShowDesktopButton::StartHovering().

◆ PrevDlgCtrl()

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

Definition at line 1044 of file atlwin.h.

1045 {
1048 }

◆ Print()

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

Definition at line 1050 of file atlwin.h.

1051 {
1054 }
static HDC hDC
Definition: 3dtext.c:33
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define WM_PRINT
Definition: winuser.h:1870

◆ PrintClient()

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

Definition at line 1056 of file atlwin.h.

1057 {
1060 }
#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 1062 of file atlwin.h.

1063 {
1065 return ::RedrawWindow(m_hWnd, lpRectUpdate, hRgnUpdate, flags);
1066 }

◆ ReleaseDC()

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

Definition at line 1068 of file atlwin.h.

1069 {
1071 return ::ReleaseDC(m_hWnd, hDC);
1072 }

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

◆ ResizeClient()

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

Definition at line 1074 of file atlwin.h.

1075 {
1077 RECT clientRect, wndRect;
1078 ::GetClientRect(m_hWnd, &clientRect);
1079 ::GetWindowRect(m_hWnd, &wndRect);
1080 return ::MoveWindow(m_hWnd, wndRect.left, wndRect.top,
1081 nWidth + (wndRect.right - wndRect.left) - (clientRect.right - clientRect.left),
1082 nHeight + (wndRect.bottom - wndRect.top) - (clientRect.bottom - clientRect.top),
1083 bRedraw);
1084 }
BOOL GetClientRect(LPRECT lpRect) const
Definition: atlwin.h:535

◆ ScreenToClient()

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

Definition at line 1086 of file atlwin.h.

1087 {
1089 return ::ScreenToClient(m_hWnd, lpPoint);
1090 }

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

1093 {
1095 return ::ScrollWindow(m_hWnd, xAmount, yAmount, lpRect, lpClipRect);
1096 }

◆ ScrollWindowEx()

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

Definition at line 1098 of file atlwin.h.

1099 {
1101 return ::ScrollWindowEx(m_hWnd, dx, dy, lpRectScroll, lpRectClip, hRgnUpdate, lpRectUpdate, flags);
1102 }
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 1104 of file atlwin.h.

1105 {
1107 return ::SendDlgItemMessage(m_hWnd, nID, message, wParam, lParam);
1108 }

◆ SendMessage() [1/2]

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

Definition at line 1116 of file atlwin.h.

1117 {
1119 return ::SendMessage(hWnd, message, wParam, lParam);
1120 }

◆ SendMessage() [2/2]

◆ SendMessageToDescendants()

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

Definition at line 1137 of file atlwin.h.

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

1124 {
1126 return TRUE;
1127 }

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

1151 {
1153 return ::SendNotifyMessage(m_hWnd, message, wParam, lParam);
1154 }

◆ SetActiveWindow()

HWND ATL::CWindow::SetActiveWindow ( )
inline

Definition at line 1156 of file atlwin.h.

1157 {
1159 return ::SetActiveWindow(m_hWnd);
1160 }

Referenced by CSearchBar::UIActivateIO().

◆ SetCapture()

HWND ATL::CWindow::SetCapture ( )
inline

Definition at line 1162 of file atlwin.h.

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

◆ SetClipboardViewer()

HWND ATL::CWindow::SetClipboardViewer ( )
inline

Definition at line 1168 of file atlwin.h.

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

◆ SetDlgCtrlID()

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

Definition at line 1174 of file atlwin.h.

1175 {
1177 return ::SetWindowLong(m_hWnd, GWL_ID, nID);
1178 }

◆ SetDlgItemInt()

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

Definition at line 1180 of file atlwin.h.

1181 {
1183 return ::SetDlgItemInt(m_hWnd, nID, nValue, bSigned);
1184 }

◆ SetDlgItemText()

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

Definition at line 1186 of file atlwin.h.

1187 {
1189 return ::SetDlgItemText(m_hWnd, nID, lpszString);
1190 }

◆ SetFocus()

HWND ATL::CWindow::SetFocus ( )
inline

◆ SetFont()

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

Definition at line 1198 of file atlwin.h.

1199 {
1202 }
HFONT hFont
Definition: main.c:53
#define WM_SETFONT
Definition: winuser.h:1640

◆ SetHotKey()

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

Definition at line 1204 of file atlwin.h.

1205 {
1207 return ::SendMessage(m_hWnd, WM_SETHOTKEY, MAKEWPARAM(wVirtualKeyCode, wModifiers), 0);
1208 }
#define MAKEWPARAM(l, h)
Definition: winuser.h:3999
#define WM_SETHOTKEY
Definition: winuser.h:1642

◆ SetIcon()

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

Definition at line 1210 of file atlwin.h.

1211 {
1213 return (HICON)::SendMessage(m_hWnd, WM_SETICON, (WPARAM)bBigIcon, (LPARAM)hIcon);
1214 }
HICON hIcon
Definition: msconfig.c:44

Referenced by CZipExtract::s_PropSheetCallbackProc().

◆ SetMenu()

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

Definition at line 1216 of file atlwin.h.

1217 {
1219 return ::SetMenu(m_hWnd, hMenu);
1220 }

◆ SetParent()

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

Definition at line 1222 of file atlwin.h.

1223 {
1225 return ::SetParent(m_hWnd, hWndNewParent);
1226 }

Referenced by CSearchBar::SetSite().

◆ SetRedraw()

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

Definition at line 1228 of file atlwin.h.

1229 {
1231 ::SendMessage(m_hWnd, WM_SETREDRAW, (WPARAM)bRedraw, 0);
1232 }
#define WM_SETREDRAW
Definition: winuser.h:1606

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

◆ SetScrollInfo()

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

Definition at line 1234 of file atlwin.h.

1235 {
1237 return ::SetScrollInfo(m_hWnd, nBar, lpScrollInfo, bRedraw);
1238 }

◆ SetScrollPos()

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

Definition at line 1240 of file atlwin.h.

1241 {
1243 return ::SetScrollPos(m_hWnd, nBar, nPos, bRedraw);
1244 }

◆ SetScrollRange()

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

Definition at line 1246 of file atlwin.h.

1247 {
1249 return ::SetScrollRange(m_hWnd, nBar, nMinPos, nMaxPos, bRedraw);
1250 }

◆ SetTimer()

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

Definition at line 1252 of file atlwin.h.

1253 {
1255 return ::SetTimer(m_hWnd, nIDEvent, nElapse, reinterpret_cast<TIMERPROC>(lpfnTimer));
1256 }
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
Definition: winuser.h:2887

◆ SetWindowContextHelpId()

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

Definition at line 1258 of file atlwin.h.

1259 {
1261 return ::SetWindowContextHelpId(m_hWnd, dwContextHelpId);
1262 }

◆ SetWindowLong()

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

Definition at line 1264 of file atlwin.h.

1265 {
1267 return ::SetWindowLong(m_hWnd, nIndex, dwNewLong);
1268 }

◆ SetWindowLongPtr()

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

Definition at line 1270 of file atlwin.h.

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

◆ SetWindowPlacement()

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

Definition at line 1276 of file atlwin.h.

1277 {
1279 return ::SetWindowPlacement(m_hWnd, lpwndpl);
1280 }

◆ SetWindowPos()

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

Definition at line 1282 of file atlwin.h.

1283 {
1285 return ::SetWindowPos(m_hWnd, hWndInsertAfter, x, y, cx, cy, nFlags);
1286 }

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

1289 {
1291 return ::SetWindowRgn(m_hWnd, hRgn, bRedraw);
1292 }

◆ SetWindowText()

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

Definition at line 1294 of file atlwin.h.

1295 {
1297 return ::SetWindowText(m_hWnd, lpszString);
1298 }

Referenced by SetBitmapAndInfo().

◆ SetWindowWord()

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

Definition at line 1300 of file atlwin.h.

1301 {
1303 if (nIndex >= -4)
1304 return ::SetWindowLong(m_hWnd, nIndex - 2, MAKELONG(LOWORD(::GetWindowLong(m_hWnd, nIndex - 2)), wNewWord));
1305 else
1306 return ::SetWindowLong(m_hWnd, nIndex, MAKELONG(wNewWord, HIWORD(::GetWindowLong(m_hWnd, nIndex))));
1307 }
#define 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 1309 of file atlwin.h.

1310 {
1312 return ::ShowCaret(m_hWnd);
1313 }

◆ ShowOwnedPopups()

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

Definition at line 1315 of file atlwin.h.

1316 {
1318 return ::ShowOwnedPopups(m_hWnd, bShow);
1319 }

◆ ShowScrollBar()

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

Definition at line 1321 of file atlwin.h.

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

◆ ShowWindow()

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

◆ ShowWindowAsync()

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

Definition at line 1333 of file atlwin.h.

1334 {
1336 return ::ShowWindowAsync(m_hWnd, nCmdShow);
1337 }

◆ UpdateWindow()

BOOL ATL::CWindow::UpdateWindow ( )
inline

Definition at line 1339 of file atlwin.h.

1340 {
1342 return ::UpdateWindow(m_hWnd);
1343 }

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

◆ ValidateRect()

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

Definition at line 1345 of file atlwin.h.

1346 {
1348 return ::ValidateRect(m_hWnd, lpRect);
1349 }

◆ ValidateRgn()

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

Definition at line 1351 of file atlwin.h.

1352 {
1354 return ::ValidateRgn(m_hWnd, hRgn);
1355 }

◆ WinHelp()

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

Definition at line 1357 of file atlwin.h.

1358 {
1360 return ::WinHelp(m_hWnd, lpszHelp, nCmd, dwData);
1361 }
static HANDLE ULONG_PTR dwData
Definition: file.c:35

Member Data Documentation

◆ m_hWnd

HWND ATL::CWindow::m_hWnd

Definition at line 267 of file atlwin.h.

Referenced by 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(), CZipExtract::CExtractSettingsPage::OnBrowse(), CZipPassword::OnButton(), CMainWindow::OnCommand(), CTaskSwitchWnd::OnCommand(), CTrayWindow::OnCommand(), CTaskSwitchWnd::OnContextMenu(), CTrayWindow::OnContextMenu(), CDefView::OnContextMenu(), CMainWindow::OnCreate(), CSysPagerWnd::OnCreate(), CTaskSwitchWnd::OnCreate(), CTrayClockWnd::OnCreate(), CTrayNotifyWnd::OnCreate(), CTrayWindow::OnCreate(), CDefView::OnCreate(), CTaskBarSettingsPage::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(), 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(), 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 268 of file atlwin.h.


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