C language function:CreateFontIndirect sample codes

Search sample code in the internet.It is the result.


TITLE : Getting all of the localized names of a font
hfont = CreateFontIndirect(cf.lpLogFont);.......
http://archives.miloush.net/michkap/archive/2006/02/13/530814.html


TITLE : C++ Builder Developer's Journal / Rotated fonts
One of the great things about the VCL is that it shields you from the API. The Font property is a perfect example. At the API level, you create fonts in Windows by filling out a LOGFONT structure and then calling the CreateFontIndirect() API function. The LOGFONT structure looks like this:.......
http://bcbjournal.org/get_doc.php@art=articles%2Fvol2%2F9801%2FRotated_fonts.htm
TITLE : C++ Builder Developer's Journal / Rotated fonts
Canvas->Font->Handle = CreateFontIndirect(&lf);.......
http://bcbjournal.org/get_doc.php@art=articles%2Fvol2%2F9801%2FRotated_fonts.htm
TITLE : C++ Builder Developer's Journal / Rotated fonts
The CreateFontIndirect() function returns a handle to the new font, which you can assign directly to the Font object's Handle property. Now that the new font is ready to go, you can call TextOut() or DrawText() to display the rotated text. The complete code from all the steps is as follows:.......
http://bcbjournal.org/get_doc.php@art=articles%2Fvol2%2F9801%2FRotated_fonts.htm
TITLE : C++ Builder Developer's Journal / Rotated fonts
Canvas->Font->Handle = CreateFontIndirect(&lf);.......
http://bcbjournal.org/get_doc.php@art=articles%2Fvol2%2F9801%2FRotated_fonts.htm
TITLE : C++ Builder Developer's Journal / Rotated fonts
CreateFontIndirect(&lf);.......
http://bcbjournal.org/get_doc.php@art=articles%2Fvol2%2F9801%2FRotated_fonts.htm
TITLE : Winter Visualization for Windows Media Player in C++ | Coding4Fun Articles | Channel 9
hfElapsed = CreateFontIndirect(&lfElapsed);.......
http://channel9.msdn.com/coding4fun/articles/Winter-Visualization-for-Windows-Media-Player-in-C
TITLE : Winter Visualization for Windows Media Player in C++ | Coding4Fun Articles | Channel 9
hfPlus = CreateFontIndirect(&lfPlus);.......
http://channel9.msdn.com/coding4fun/articles/Winter-Visualization-for-Windows-Media-Player-in-C
search Google

https://www.google.com/#q=CreateFontIndirect