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();
struct tagDRAWITEMSTRUCT * PDRAWITEMSTRUCT
CSimpleArray< RunOnceExSection > m_SectionList
HDC WINAPI GetDC(_In_opt_ HWND)
void CalcTextRect(_In_ LPCWSTR lpText, _Inout_ RECT *pRect)
#define ListBox_AddString(hwndCtl, lpsz)
#define INVALID_HANDLE_VALUE
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
_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)
#define WM_CTLCOLORLISTBOX
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
unsigned int __stdcall RunOnceExExecThread(_In_ void *Param)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
ProgressDlg(_In_ RunOnceExInstance &RunOnceExInst)
struct tagMEASUREITEMSTRUCT * PMEASUREITEMSTRUCT
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)
#define ListBox_SetItemData(hwndCtl, index, data)
ATL::CStringW m_SectionTitle
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
_In_ WDFCOLLECTION _In_ ULONG Index
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
#define ListBox_GetText(hwndCtl, index, lpszBuffer)
#define ListBox_GetItemHeight(hwndCtl, index)
#define ListBox_GetTextLen(hwndCtl, index)
#define SelectFont(hdc, hfont)
BOOL ProcessWindowMessage(_In_ HWND hwnd, _In_ UINT message, _In_ WPARAM wParam, _In_ LPARAM lParam, _Out_ LRESULT &lResult, _In_ DWORD dwMsgMapID)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
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
BOOL WINAPI DeleteDC(_In_ HDC)
HBITMAP WINAPI LoadBitmapW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
void ResizeListBoxAndDialog(_In_ int NewHeight)
HFONT CreateBoldFont(_In_ HFONT hOrigFont)
#define SelectBitmap(hdc, hbm)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
BOOL Exec(_In_opt_ HWND hwnd)
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)
RunOnceExInstance & m_RunOnceExInst
static VOID NTAPI 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)
#define DeleteFont(hfont)
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)