术语 | CFont::CreatePointFontIndirect | ||||
释义 | CFont::CreatePointFontIndirect BOOL CreatePointFontIndirect(const LOGFONT* lpLogFont, CDC* pDC = NULL); 返回值:如果成功,则返回非零值,否则为0。 参数:
说明: 此函数与CreateFontIndirect相似,但LOGFONT的lfHeight成员由0.1点表示而不是用设备单位表示。在传递LOGFONT结构到Windows之前,pDC指向的CDC对象自动使函数的lfHeight中的高度转化为逻辑单位。 当完成由CreatePointFontIndirect函数创建的CFont对象之后,先选择设备上下文字体,然后删去CFont对象。 请参阅: CFont::CreatePointFont, CFont::CreateFontIndirect |
||||
随便看 |
|
MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。