Rev 21 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 81 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | 56 | ||
57 | // first off, if the hand cursor isn't loaded yet, do it (this part is done once) |
57 | // first off, if the hand cursor isn't loaded yet, do it (this part is done once) |
58 | if (hyperlink_cursor == NULL) |
58 | if (hyperlink_cursor == NULL) |
59 | { |
59 | { |
60 | // since IDC_HAND is not available on all operating systems, we will load the arrow cursor if IDC_HAND is not present. |
60 | // since IDC_HAND is not available on all operating systems, we will load the arrow cursor if IDC_HAND is not present. |
61 | hyperlink_cursor = LoadCursor (NULL, |
61 | hyperlink_cursor = LoadCursor (NULL, IDC_HAND); |
62 | if (hyperlink_cursor == NULL) |
62 | if (hyperlink_cursor == NULL) |
63 | hyperlink_cursor = LoadCursor (NULL, |
63 | hyperlink_cursor = LoadCursor (NULL, IDC_ARROW); // fallback cursor |
64 | } |
64 | } |
65 | 65 | ||
66 | // does this control belong to a window ? |
66 | // does this control belong to a window ? |
67 | if (GetParent (hWndStatic) != NULL) |
67 | if (GetParent (hWndStatic) != NULL) |
68 | { |
68 | { |