I used this code to get the state of a checkbox but it only check for its state as the window is intialised...So I wonder how to make it get the state each time the function contain the SendMessage is accessed.
Code:if(SendMessage(hwnd,BM_GETCHECK,0,chk1)!=BST_CHECKED) { //process }
Any simple guidance..even keywords to guide my search are welcomed..Thx