This code works but i want to use SetDlgItemInt().Im trying to use it as shown below
but it just won't work. hwndEdit is the handle to the edit window and 8 is the ID of the button.All help appreciated im very desperate.Thanks
Code:if(LOWORD(wParam) == 8) { if(HIWORD(wParam) == BN_CLICKED) { SetWindowText(hwndEdit,TEXT("8")); } }Code:if(LOWORD(wParam) == 8) { if(HIWORD(wParam) == BN_CLICKED) { SetDlgItemInt(hwndEdit,8,8,FALSE); } }