ReactOS 0.4.17-dev-1190-g4c812f4
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 463 of file rosctrls.h.

Member Function Documentation

◆ Create()

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

Definition at line 472 of file rosctrls.h.

473 {
474 m_hWnd = CreateWindowExW(0,
476 NULL,
478 0, 0, 0, 0,
480 hMenu,
481 _AtlBaseModule.GetModuleInstance(),
482 NULL);
483
484 return m_hWnd;
485 }
static HWND hwndParent
Definition: cryptui.c:299
#define NULL
Definition: types.h:112
#define WS_CHILD
Definition: pedump.c:617
#define WS_VISIBLE
Definition: pedump.c:620
#define STATUSCLASSNAMEW
Definition: commctrl.h:1941
#define SBARS_SIZEGRIP
Definition: commctrl.h:1928
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)

Referenced by CMainWindow::CreateStatusBar(), and CConsoleWnd::OnCreate().

◆ SetText()

VOID CStatusBar::SetText ( LPCWSTR  lpszText)
inline

Definition at line 467 of file rosctrls.h.

468 {
470 }
LONG_PTR LPARAM
Definition: minwindef.h:175
#define SBT_NOBORDERS
Definition: commctrl.h:1976
#define SB_SETTEXT
Definition: commctrl.h:1954
#define SendMessage
Definition: winuser.h:6009

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


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