Black isn't the inverse colour. See here for a description of using the VS image editor.
How can I make a custom cursor's color change depending on the background color, just like the system default cursor behaves?
censv
40
Reputation points
For example, the system default text selection cursor (Ibeam). When the background color is white, it is black. When the background color is black, it becomes white again. And when selecting text, its color keeps changing with the background color.
But with my custom red cursor(using WinAPI SetSystemCursor function), it just displays red no matter what the background color is. When the background color is red, the cursor blends in with the background and can't be seen anymore!
Windows development | Windows API - Win32
2,787 questions