2013年5月22日

没有颜色选项 的 字体对话框

摘要: 原文:http://blog.csdn.net/joeblackzqq/article/details/7164198,文章条理清晰,尤其代码图片使用恰到好处。主要思路:1、重载CFontDialog类。2、添加OnInitDialog()函数,其中颜色控件的ID号,使用Spy++捕捉。BOOLCMyFontDialong::OnInitDialog(){CFontDialog::OnInitDialog();CWnd*pStatic=GetDlgItem(0x473);//0x473: 静态文本框,"颜色:"CWnd*pComboBox=GetDlgItem(0x443) 阅读全文

posted @ 2013-05-22 19:20 Waaaaaall-E 阅读(157) 评论(0) 推荐(0)

mini-xml中文支持

摘要: 为了使函数mxmlLoadFile、mxmlFindElement支持中文,需修改mxml源码两处:文件mxml-file.c中,在函数/* * 'mxml_file_getc()' - Get a character from a file. */static int/* O - C... 阅读全文

posted @ 2013-05-22 16:44 Waaaaaall-E 阅读(593) 评论(0) 推荐(0)

导航