ReactOS  0.4.14-dev-337-gf981a68
CStatusBar Class Reference

#include <rosctrls.h>

Inheritance diagram for CStatusBar:
Collaboration diagram for CStatusBar:

Public Member Functions

VOID SetText (LPCWSTR lpszText)
 
HWND Create (HWND hwndParent, HMENU hMenu)
 

Detailed Description

Definition at line 446 of file rosctrls.h.

Member Function Documentation

◆ Create()

HWND CStatusBar::Create ( HWND  hwndParent,
HMENU  hMenu 
)
inline

Definition at line 455 of file rosctrls.h.

456  {
457  m_hWnd = CreateWindowExW(0,
459  NULL,
461  0, 0, 0, 0,
462  hwndParent,
463  hMenu,
464  _AtlBaseModule.GetModuleInstance(),
465  NULL);
466 
467  return m_hWnd;
468  }
#define STATUSCLASSNAMEW
Definition: commctrl.h:1932
#define WS_CHILD
Definition: pedump.c:617
smooth NULL
Definition: ftsmooth.c:416
static HWND hwndParent
Definition: cryptui.c:300
#define SBARS_SIZEGRIP
Definition: commctrl.h:1919
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
#define WS_VISIBLE
Definition: pedump.c:620

Referenced by CMainWindow::CreateStatusBar().

◆ SetText()

VOID CStatusBar::SetText ( LPCWSTR  lpszText)
inline

Definition at line 450 of file rosctrls.h.

451  {
453  }
LONG_PTR LPARAM
Definition: windef.h:208
#define SB_SETTEXT
Definition: commctrl.h:1945
#define SendMessage
Definition: winuser.h:5744
#define SBT_NOBORDERS
Definition: commctrl.h:1967

Referenced by CMainWindow::UpdateStatusBarText().


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