Hi Again.
A Question that I cant get answered on MSDN. (well I can but I don't understand)
bool cText::Print(LPD3DXFONT ppFont, LPCSTR Text, long xLeft, long yLeft, long xRight, long yRight, TEXTCOLOR TextColor)
{
/**static RECT textbox; SetRect(&textbox, xLeft, yLeft, xRight, yRight);
ppFont->DrawTextA(NULL, Text, -1, &textbox,
DT_CENTER | DT_VCENTER, TextColor);
return true;
}
with the rectangle,'textbox' am I right in thinking you specify the co-ordinates of the top left, and bottom right corners of the rect?
if yes, I am Setting the rectangle with the function
Font.Print(helptext,"My Help Text \n Keys: \n -> ESC - Closes Window", 0,443,213,590, TEXT_WHITE);
How come this doesn't show in my Window (Width = 640, Height = 590;)?
p.s If there is an easier way to create rectangles, other ways of setting Text are welcome ;)