Hi
I've searched Google and Charles Petzold but still can't
find out how to print different size text.
example:-
. . . . . . . . . .
case WM_PAINT:
hdc = BeginPaint (hwnd, &ps) ;
TextOutA(hdc, 10, 100, TEXT("This is small text"), 18); // Write a line of text to the client area.
// Do something - (Change font size).
TextOutA(hdc, 10, 150, TEXT("This is medium text"), 19); // Write a line of text to the client area.
// Do something - (Change font size).
TextOutA(hdc, 10, 200, TEXT("This is large text"), 18); // Write a line of text to the client area.
EndPaint (hwnd, &ps) ;
return 0 ;
. . . . . . . . . .
I'm a newbie so am obviously missing something.
Any help would be much appreciated.
Donny Dave