|
|
|
Fonts
|
|||
|---|---|---|---|
|
#18+
Visual C++ 6.0, WinXP’2003 Have been implemented in my folder “D:\5\EnterSimpleMdb” Создал новый шрифт с помощью нижеприведенного кода: CFont font2; // Declare a CFont object. // This constructor creates an instance of a CFont object. VERIFY(font2.CreateFont( 48, // 24, // 48, 24, //12, // nHeight 0, // nWidth 0, // nEscapement 0, // nOrientation FW_NORMAL, // nWeight FALSE, // bItalic FALSE, // bUnderline 0, // cStrikeOut ANSI_CHARSET, // nCharSet OUT_DEFAULT_PRECIS, // nOutPrecision CLIP_DEFAULT_PRECIS, // nClipPrecision DEFAULT_QUALITY, // nQuality DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily "Arial")); // lpszFacename // использую только-что созданный Font for display string into rectangle CFont* def_font2 = pDC->SelectObject(&font2); pDC->GetCurrentFont(); // Pointer to a CFont object, if successful; otherwise NULL. Как изменить самым малым кодом имя и размер шрифта ? СПАСИБО. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.06.2006, 11:28 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=33789606&tid=2030985]: |
0ms |
get settings: |
8ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
132ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
22ms |
get tp. blocked users: |
1ms |
| others: | 224ms |
| total: | 407ms |

| 0 / 0 |
