ReactOS 0.4.15-dev-8236-g99f0937
CACScrollBar Class Reference

#include <CAutoComplete.h>

Inheritance diagram for CACScrollBar:
Collaboration diagram for CACScrollBar:

Public Member Functions

 CACScrollBar ()
 
HWND Create (HWND hwndParent)
 

Static Public Member Functions

static LPCWSTR GetWndClassName ()
 

Public Attributes

CAutoCompletem_pDropDown
 

Detailed Description

Definition at line 77 of file CAutoComplete.h.

Constructor & Destructor Documentation

◆ CACScrollBar()

CACScrollBar::CACScrollBar ( )
inline

Definition at line 82 of file CAutoComplete.h.

82: m_pDropDown(NULL) { }
CAutoComplete * m_pDropDown
Definition: CAutoComplete.h:80
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Create()

HWND CACScrollBar::Create ( HWND  hwndParent)

Definition at line 526 of file CAutoComplete.cpp.

527{
528 ATLASSERT(m_hWnd == NULL);
529 DWORD dwStyle = WS_CHILD | /*WS_VISIBLE |*/ SBS_BOTTOMALIGN | SBS_VERT;
530 m_hWnd = ::CreateWindowExW(0, GetWndClassName(), NULL, dwStyle,
531 0, 0, 0, 0, hwndParent, NULL,
532 _AtlBaseModule.GetModuleInstance(), NULL);
533 // we don't subclass because no message handling is needed
534 return m_hWnd;
535}
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
static LPCWSTR GetWndClassName()
Definition: CAutoComplete.h:81
static HWND hwndParent
Definition: cryptui.c:300
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WS_CHILD
Definition: pedump.c:617
#define SBS_BOTTOMALIGN
Definition: winuser.h:325
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 SBS_VERT
Definition: winuser.h:334

Referenced by CAutoComplete::OnCreate().

◆ GetWndClassName()

static LPCWSTR CACScrollBar::GetWndClassName ( )
inlinestatic

Definition at line 81 of file CAutoComplete.h.

81{ return WC_SCROLLBARW; }
#define WC_SCROLLBARW
Definition: commctrl.h:4729

Referenced by Create().

Member Data Documentation

◆ m_pDropDown

CAutoComplete* CACScrollBar::m_pDropDown

Definition at line 80 of file CAutoComplete.h.

Referenced by CAutoComplete::OnCreate(), and CAutoComplete::OnNCDestroy().


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