ReactOS  0.4.13-dev-656-g74bcf30
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 433 of file rosctrls.h.

Member Function Documentation

◆ Create()

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

Definition at line 442 of file rosctrls.h.

443  {
444  m_hWnd = CreateWindowExW(0,
446  NULL,
448  0, 0, 0, 0,
449  hwndParent,
450  hMenu,
451  _AtlBaseModule.GetModuleInstance(),
452  NULL);
453 
454  return m_hWnd;
455  }
#define STATUSCLASSNAMEW
Definition: commctrl.h:1908
#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:1895
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 437 of file rosctrls.h.

438  {
440  }
LONG_PTR LPARAM
Definition: windef.h:208
#define SB_SETTEXT
Definition: commctrl.h:1921
#define SendMessage
Definition: winuser.h:5741
#define SBT_NOBORDERS
Definition: commctrl.h:1943

Referenced by SetStatusBarText(), and CMainWindow::UpdateStatusBarText().


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