Jan 13, 2010 at 1:40pm UTC
1)Can anyone tell me other than textout do we have anyother function to display the number in client area;
2) what is the use of itoa()
3)What is the use of GetStockobject,Select object
Please explain me this with win32.
Advance thanks..
Jan 13, 2010 at 3:16pm UTC
1)Can anyone tell me other than textout do we have anyother function to display the number in client area;
DrawText
2) what is the use of itoa()
Write/convert an integer in binary format to an asci string buffer so it can be output to your client area with Textout/DrawText.
3)What is the use of GetStockobject,Select object
Look them up in your Win32 book, i.e., Petzold, Newcommer & Rector, etc, or on MSDN. Or, just look at my example program in this very recent post...
http://www.cplusplus.com/forum/windows/17963/
Last edited on Jan 13, 2010 at 3:21pm UTC
Jan 13, 2010 at 6:09pm UTC
You can also place a control there, such as a text field, and use SetDlgItemInt()