ReactOS  0.4.15-dev-3165-gdf6fff7
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 453 of file rosctrls.h.

Member Function Documentation

◆ Create()

HWND CStatusBar::Create ( HWND  hwndParent,
HMENU  hMenu 

Definition at line 462 of file rosctrls.h.

463  {
464  m_hWnd = CreateWindowExW(0,
466  NULL,
468  0, 0, 0, 0,
469  hwndParent,
470  hMenu,
471  _AtlBaseModule.GetModuleInstance(),
472  NULL);
474  return m_hWnd;
475  }
Definition: commctrl.h:1936
#define WS_CHILD
Definition: pedump.c:617
static HWND hwndParent
Definition: cryptui.c:300
Definition: commctrl.h:1923
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 NULL
Definition: types.h:112
#define WS_VISIBLE
Definition: pedump.c:620

Referenced by CMainWindow::CreateStatusBar().

◆ SetText()

VOID CStatusBar::SetText ( LPCWSTR  lpszText)

Definition at line 457 of file rosctrls.h.

458  {
460  }
Definition: windef.h:208
#define SB_SETTEXT
Definition: commctrl.h:1949
#define SendMessage
Definition: winuser.h:5819
Definition: commctrl.h:1971

Referenced by CMainWindow::UpdateStatusBarText().

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