ReactOS 0.4.16-dev-297-gc569aee
dialog.cpp File Reference
#include "iernonce.h"
#include <process.h>
Include dependency graph for dialog.cpp:

Go to the source code of this file.

Macros

#define ITEM_VPADDING   3
 
#define ITEM_LEFTPADDING   22
 

Functions

HFONT CreateBoldFont (_In_ HFONT hOrigFont)
 
unsigned int __stdcall RunOnceExExecThread (_In_ void *Param)
 

Macro Definition Documentation

◆ ITEM_LEFTPADDING

#define ITEM_LEFTPADDING   22

Definition at line 12 of file dialog.cpp.

◆ ITEM_VPADDING

#define ITEM_VPADDING   3

Definition at line 11 of file dialog.cpp.

Function Documentation

◆ CreateBoldFont()

HFONT CreateBoldFont ( _In_ HFONT  hOrigFont)

Definition at line 14 of file dialog.cpp.

15{
16 LOGFONTW fontAttributes = { 0 };
17 GetObjectW(hOrigFont, sizeof(fontAttributes), &fontAttributes);
18 fontAttributes.lfWeight = FW_BOLD;
19
20 return CreateFontIndirectW(&fontAttributes);
21}
LONG lfWeight
Definition: dimm.idl:63
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
#define FW_BOLD
Definition: wingdi.h:378
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)

Referenced by ProgressDlg::ProcessWindowMessage().

◆ RunOnceExExecThread()

unsigned int __stdcall RunOnceExExecThread ( _In_ void Param)

Definition at line 82 of file dialog.cpp.

83{
84 ProgressDlg *pProgressDlg = (ProgressDlg *)Param;
85
86 pProgressDlg->m_RunOnceExInst.Exec(pProgressDlg->m_hWnd);
87 return 0;
88}
RunOnceExInstance & m_RunOnceExInst
Definition: dialog.h:33
BOOL Exec(_In_opt_ HWND hwnd)
Definition: registry.cpp:293

Referenced by ProgressDlg::ProcessWindowMessage().