cursor change AGAIN AGAIN
-
Sorry if i have bothered you so much, but i'm in deep thought on how to change the cursor when the mouse pointer is on a button or on a notified picture... here's a part of my code ... case WM_SETCURSOR: { HWND hwndStaticw = (HWND) lParam; if (hwndStaticw = GetDlgItem(hwnd, IDC_WL)) { SetCursor(LoadCursor(hInstance, MAKEINTRESOURCE(IDC_CURSOR1))); break; } } return TRUE; where IDC_WL is the notified picture, What am i doing wrong... i thing a lot! Please Help... I'm trying to be calm....
-
Sorry if i have bothered you so much, but i'm in deep thought on how to change the cursor when the mouse pointer is on a button or on a notified picture... here's a part of my code ... case WM_SETCURSOR: { HWND hwndStaticw = (HWND) lParam; if (hwndStaticw = GetDlgItem(hwnd, IDC_WL)) { SetCursor(LoadCursor(hInstance, MAKEINTRESOURCE(IDC_CURSOR1))); break; } } return TRUE; where IDC_WL is the notified picture, What am i doing wrong... i thing a lot! Please Help... I'm trying to be calm....
Where is this code implemented? Seems like are you assuming that
lParam
holds a handle to the control below the cursor and, if my mind serves me right, this is not how this message works.. :confused: eperales