Link to home
Start Free TrialLog in
Avatar of Vickio
Vickio

asked on

Sending a number to a control

i want to send a number to a control for example:
int number = 50;
SetDlgItemText( hDlg, IDC_STATICTEXT1, number );
i know that wont work, so whats the right way to do it? would i convert it to char * first? if so please show me exactly how.
im using the windows api, borland c++ 5.02, and win95.
thanks.
chris
ASKER CERTIFIED SOLUTION
Avatar of sergem
sergem

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Vickio
Vickio

ASKER

thanks.