How to show custom cursor over the status bar?

Hello.. I wonder how to make my custom cursor visible when I pass over the status bar?
I know how to handle the SetCursor() over the window or over a static control
but the Status bar looks more different, and when I move the mouse over it just appear like the one I have in the win system default.

How can I handle the SetCursor to a status bar?
Please help..
Last edited on
My status bar is created on the WM_CREATE at the run time:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
case WM_CREATE:
        {
                // Create status bar
                HWND hStatus;
                int statwidths[] = {150, 450, -1};

                hStatus = CreateWindowW(STATUSCLASSNAMEW, NULL, WS_CHILD | WS_VISIBLE | SBARS_SIZEGRIP,
                                    0, 0, 0, 0, hWnd, (HMENU)IDC_STATUS, GetModuleHandle(NULL), NULL);

                SendMessageW(hStatus, SB_SETPARTS, sizeof(statwidths)/sizeof(int), (LPARAM)statwidths);
                SendMessageW(hStatus, SB_SETTEXT, 0, (LPARAM)" Author:      Me");
                SendMessageW(hStatus, SB_SETTEXT, 1, (LPARAM)"                       - Ver. 1.00 -");
                SendMessageW(hStatus, SB_SETTEXT, 2, (LPARAM)"  Other Info ");
        }
Last edited on
Topic archived. No new replies allowed.