[Info]Text Box Class
Anyone know were i can get a text box class or how to make one? Thanks
IcySeal posted one. You just need to set up a CD3D Font and itll work fine.
TO MAKE ONE(no leechy cody), you Draw a Bordered box and Draw Text in it with a flashing box. To Do keyboard a loop for each char on the keyboard and convert to text and draw on the textbox. If ur typing to much Calculate the RECT and draw in the rect.
Calculate the size of the text with GetTextExtent and then adjust the size accordingly.
Got one error
MyFont->getTextL((TCHAR*)textbuf,&tempSZ);
Whats myFont?
mpghhaxo posted one to if u want i can upload but no credits to me(for EU easy to change tho)
Post the error as it appears in the Console window of the compiler.