Programming in win32 and im just kinda playing around. What i want to do is enter a number into a edit box, and i hit a button, and it calulates and the result gets put into the second edit box......mainly this is for a radius math problem program i am making.
inside there is where i put my code,....GETDLGITEMTEXT maybe work....and setDLGITEMTEXT...but i dont know how to calucate something...I WANT TO enter 12 into the first edit box.....i will calculate 2*PI*12.....and it goes into the second edit box after a button clickCode:case IDB_BUTTON:{ if(HIWORD(wParam) == BN_CLICKED){ } } break;
tankyou