11#define ITEM_VPADDING 3
12#define ITEM_LEFTPADDING 22
17 GetObjectW(hOrigFont,
sizeof(fontAttributes), &fontAttributes);
27 m_RunOnceExInst(RunOnceExInst)
35 return (DoModal() == 1);
47 pRect->bottom = pRect->top;
55 pRect->bottom -= pRect->top;
58 pRect->right -= pRect->left;
69 int HeightDiff = NewHeight - (ListBoxRect.
bottom - ListBoxRect.
top);
72 ListBoxRect.
right - ListBoxRect.
left, NewHeight,
77 DlgRect.
bottom - DlgRect.
top + HeightDiff,
151 RECT TextRect = { 0 };
156 pMeasureItem->
itemID) + 1));
160 ItemText.ReleaseBuffer();
206 ItemText.ReleaseBuffer();
bool IsEmpty() const noexcept
ProgressDlg(_In_ RunOnceExInstance &RunOnceExInst)
BOOL ProcessWindowMessage(_In_ HWND hwnd, _In_ UINT message, _In_ WPARAM wParam, _In_ LPARAM lParam, _Out_ LRESULT &lResult, _In_ DWORD dwMsgMapID)
void CalcTextRect(_In_ LPCWSTR lpText, _Inout_ RECT *pRect)
RunOnceExInstance & m_RunOnceExInst
void ResizeListBoxAndDialog(_In_ int NewHeight)
BOOL Exec(_In_opt_ HWND hwnd)
CSimpleArray< RunOnceExSection > m_SectionList
ATL::CStringW m_SectionTitle
unsigned int __stdcall RunOnceExExecThread(_In_ void *Param)
HFONT CreateBoldFont(_In_ HFONT hOrigFont)
#define INVALID_HANDLE_VALUE
static VOID BitBlt(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_reads_bytes_(Delta *Height) PUCHAR Buffer, _In_ ULONG BitsPerPixel, _In_ ULONG Delta)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
_CRTIMP uintptr_t __cdecl _beginthreadex(_In_opt_ void *_Security, _In_ unsigned _StackSize, _In_ unsigned(__stdcall *_StartAddress)(void *), _In_opt_ void *_ArgList, _In_ unsigned _InitFlag, _Out_opt_ unsigned *_ThrdAddr)
_In_ WDFCOLLECTION _In_ ULONG Index
#define ListBox_GetTextLen(hwndCtl, index)
#define DeleteFont(hfont)
#define ListBox_GetItemHeight(hwndCtl, index)
#define SelectFont(hdc, hfont)
#define ListBox_GetText(hwndCtl, index, lpszBuffer)
#define SelectBitmap(hdc, hbm)
#define ListBox_SetItemData(hwndCtl, index, data)
#define ListBox_AddString(hwndCtl, lpsz)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
BOOL WINAPI DeleteDC(_In_ HDC)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HDC WINAPI GetDC(_In_opt_ HWND)
struct tagMEASUREITEMSTRUCT * PMEASUREITEMSTRUCT
struct tagDRAWITEMSTRUCT * PDRAWITEMSTRUCT
#define WM_CTLCOLORLISTBOX
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
HBITMAP WINAPI LoadBitmapW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)