Newb here :-D
Small problem....Quick Question

i have a EditBox with the value 5

how can i add 10 to value from the EditBox and return 15 as total to the EditBox ?

Posted on 2004-10-10 10:56:26 by GR33d
read the value, do the math operation and then write back the value

GetDlgItemInt, hWnd, ID_CONTROL, false, true
add eax, 15
SetDlgItemInt, hWnd, ID_CONTROL, eax, true
Posted on 2004-10-10 11:11:17 by greenant