Click here to Skip to main content
15,914,014 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralParsing a CString Pin
BlackDice26-May-04 4:26
BlackDice26-May-04 4:26 
GeneralRe: Parsing a CString Pin
monrobot1326-May-04 5:18
monrobot1326-May-04 5:18 
GeneralRe: Parsing a CString Pin
BlackDice26-May-04 7:18
BlackDice26-May-04 7:18 
GeneralRe: Parsing a CString Pin
David Crow26-May-04 5:19
David Crow26-May-04 5:19 
GeneralRe: Parsing a CString Pin
BlackDice26-May-04 7:18
BlackDice26-May-04 7:18 
QuestionCOleDropTarget with CTreeCtrl? Pin
Dominik Reichl26-May-04 3:53
Dominik Reichl26-May-04 3:53 
AnswerRe: COleDropTarget with CTreeCtrl? Pin
Michael Dunn26-May-04 5:07
sitebuilderMichael Dunn26-May-04 5:07 
GeneralRe: COleDropTarget with CTreeCtrl? Pin
Dominik Reichl26-May-04 6:19
Dominik Reichl26-May-04 6:19 
Generalautomated plane ticket search Pin
name_or_alias26-May-04 3:31
name_or_alias26-May-04 3:31 
QuestionMultiple post-link build steps ? Pin
Jerry Evans26-May-04 2:26
Jerry Evans26-May-04 2:26 
Generalstring between two process Pin
kirucodeproject26-May-04 1:41
kirucodeproject26-May-04 1:41 
GeneralRe: string between two process Pin
David Crow26-May-04 2:24
David Crow26-May-04 2:24 
GeneralRe: string between two process Pin
kirucodeproject26-May-04 2:56
kirucodeproject26-May-04 2:56 
GeneralRecord locking within SQL Server Pin
Master^Tristar26-May-04 0:50
Master^Tristar26-May-04 0:50 
GeneralRe: Record locking within SQL Server Pin
Master^Tristar8-Jun-04 6:39
Master^Tristar8-Jun-04 6:39 
GeneralSimple Requirement Pin
Billar26-May-04 0:38
Billar26-May-04 0:38 
GeneralRe: Simple Requirement Pin
Prakash Nadar26-May-04 1:05
Prakash Nadar26-May-04 1:05 
Generallarge number of windows in a mutli document interface MFC application Pin
mike.dibley26-May-04 0:25
mike.dibley26-May-04 0:25 
GeneralRe: large number of windows in a mutli document interface MFC application Pin
Roger Allen26-May-04 2:22
Roger Allen26-May-04 2:22 
GeneralRe: large number of windows in a mutli document interface MFC application Pin
mike.dibley27-May-04 2:58
mike.dibley27-May-04 2:58 
GeneralRe: large number of windows in a mutli document interface MFC application Pin
Maximilien26-May-04 2:22
Maximilien26-May-04 2:22 
GeneralRe: large number of windows in a mutli document interface MFC application Pin
mike.dibley27-May-04 3:03
mike.dibley27-May-04 3:03 
GeneralComon Dialog with thumbnail view Pin
bilgner25-May-04 23:45
bilgner25-May-04 23:45 
GeneralRe: Comon Dialog with thumbnail view Pin
bilgner26-May-04 5:35
bilgner26-May-04 5:35 
QuestionCan I set button's font to "Webdings" type? Pin
Hua Hsin25-May-04 23:37
Hua Hsin25-May-04 23:37 
I have a peice of code here:

CFont* pFont = NULL;<br />
	LOGFONT lfNav;<br />
<br />
	pFont = m_cNextPg.GetFont();<br />
	pFont->GetLogFont(&lfNav);<br />
	lfNav.lfHeight = 30;<br />
	_tcscpy(lfNav.lfFaceName, _T("Webdings")); // Comic Sans MS <br />
	m_cBtn.SetFont(CFont::FromHandle(CreateFontIndirect(&lfNav)),TRUE);


You can try it out on this piece of code by paste this code in OnInitDialog(), and be sure you have a button..

My question is: Can I change the font type to "webdings"... How to do that?

THank YOu @!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.