forked from hiyohiyo/CrystalDiskInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFontComboBox.h
More file actions
31 lines (23 loc) · 787 Bytes
/
Copy pathFontComboBox.h
File metadata and controls
31 lines (23 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : hiyohiyo@crystalmark.info
// Web : https://crystalmark.info/
// License : The MIT License
/*---------------------------------------------------------------------------*/
#pragma once
// CFontComboBox
class CFontComboBox : public CComboBoxCx
{
DECLARE_DYNAMIC(CFontComboBox)
public:
CFontComboBox();
virtual ~CFontComboBox();
protected:
DECLARE_MESSAGE_MAP()
INT m_FontHeight;
public:
void SetFontHeight(int height, double zoomRatio);
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual int CompareItem(LPCOMPAREITEMSTRUCT lpCompareItemStruct);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
};