Click here to Skip to main content
15,911,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Retrieving data from an ODBC data source Pin
SWDevil7-Feb-06 5:25
SWDevil7-Feb-06 5:25 
GeneralRe: Retrieving data from an ODBC data source Pin
David Crow7-Feb-06 5:34
David Crow7-Feb-06 5:34 
QuestionVisual Studio 2005 Standard - MFC? Pin
Dominik Reichl5-Feb-06 2:08
Dominik Reichl5-Feb-06 2:08 
AnswerRe: Visual Studio 2005 Standard - MFC? Pin
Jack Puppy5-Feb-06 3:21
Jack Puppy5-Feb-06 3:21 
QuestionDetecting flash animation and pop-ups Pin
llp00na5-Feb-06 2:01
llp00na5-Feb-06 2:01 
QuestionRotation text Pin
duvaft4-Feb-06 23:08
duvaft4-Feb-06 23:08 
AnswerRe: Rotation text Pin
Eugene Pustovoyt5-Feb-06 0:21
Eugene Pustovoyt5-Feb-06 0:21 
AnswerRe: Rotation text Pin
EXTEIDE5-Feb-06 1:23
EXTEIDE5-Feb-06 1:23 
following is the CreateFontIndirect example in msdn.

HFONT FAR PASCAL MyCreateFont( void )
{
   CHOOSEFONT cf;
   LOGFONT lf;
   HFONT hfont;

   // Initialize members of the CHOOSEFONT structure.

   cf.lStructSize = sizeof(CHOOSEFONT);
   cf.hwndOwner = (HWND)NULL;
   cf.hDC = (HDC)NULL;
   cf.lpLogFont = &lf;
   cf.iPointSize = 0;
   cf.Flags = CF_SCREENFONTS;
   cf.rgbColors = RGB(0,0,0);
   cf.lCustData = 0L;
   cf.lpfnHook = (LPCFHOOKPROC)NULL;
   cf.lpTemplateName = (LPSTR)NULL;
   cf.hInstance = (HINSTANCE) NULL;
   cf.lpszStyle = (LPSTR)NULL;
   cf.nFontType = SCREEN_FONTTYPE;
   cf.nSizeMin = 0;
   cf.nSizeMax = 0;

   cf.lfOrientation = 180; // specify angle that you want.

   // Display the CHOOSEFONT common-dialog box.

   ChooseFont(&cf);

   // Create a logical font based on the user's
   // selection and return a handle identifying
   // that font.

   hfont = CreateFontIndirect(cf.lpLogFont);
   return (hfont);
}

EnjoyRose | [Rose]


Anderson Sheen (exteide@gmail.com)
The Extension IDE: http://www.exteide.com
GeneralRe: Rotation text Pin
Eugene Pustovoyt5-Feb-06 2:14
Eugene Pustovoyt5-Feb-06 2:14 
GeneralRe: Rotation text Pin
EXTEIDE5-Feb-06 3:41
EXTEIDE5-Feb-06 3:41 
AnswerRe: Rotation text Pin
Stephen Hewitt5-Feb-06 20:13
Stephen Hewitt5-Feb-06 20:13 
QuestionHow to go about porting to windows? Pin
Chintoo7234-Feb-06 22:42
Chintoo7234-Feb-06 22:42 
QuestionHow can I get a PropertyPage title without or before creating? Pin
Eugene Pustovoyt4-Feb-06 20:36
Eugene Pustovoyt4-Feb-06 20:36 
AnswerRe: How can I get a PropertyPage title without or before creating? Pin
PJ Arends5-Feb-06 9:55
professionalPJ Arends5-Feb-06 9:55 
GeneralRe: How can I get a PropertyPage title without or before creating? Pin
Eugene Pustovoyt5-Feb-06 19:19
Eugene Pustovoyt5-Feb-06 19:19 
QuestionFree Skin System Pin
Allad4-Feb-06 16:43
Allad4-Feb-06 16:43 
AnswerRe: Free Skin System Pin
EXTEIDE5-Feb-06 1:11
EXTEIDE5-Feb-06 1:11 
Questionmemory leak with dll Pin
Rhiakath4-Feb-06 14:43
Rhiakath4-Feb-06 14:43 
AnswerRe: memory leak with dll Pin
Stephen Hewitt4-Feb-06 18:29
Stephen Hewitt4-Feb-06 18:29 
AnswerRe: memory leak with dll Pin
Rama Krishna Vavilala5-Feb-06 6:47
Rama Krishna Vavilala5-Feb-06 6:47 
Questionprinter problem Pin
includeh104-Feb-06 14:25
includeh104-Feb-06 14:25 
AnswerRe: printer problem Pin
Gary R. Wheeler5-Feb-06 2:04
Gary R. Wheeler5-Feb-06 2:04 
QuestionHelp with setting values to char arrays (strings); Pin
Coolarj104-Feb-06 10:07
Coolarj104-Feb-06 10:07 
AnswerRe: Help with setting values to char arrays (strings); Pin
Gary R. Wheeler4-Feb-06 10:54
Gary R. Wheeler4-Feb-06 10:54 
AnswerRe: Help with setting values to char arrays (strings); Pin
meinhard_risch4-Feb-06 13:14
meinhard_risch4-Feb-06 13:14 

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.