P
Peteroid
This seems like it should be an easy task, but I just can't find the info on
it. MSDN2 shows an example where the cursor is changed to the system default
Cursors::Hand, but not how to make a custom one from a bitmap.
I have in memory a 16x16 bitmap. I want to make that the mouse cursor image
over a Panel I have.
Now, I know this part:
panel->Cursor = gcnew_cursor ;
And I know the Cursor class allows the creation using different
constructors. Problem is none of them use a bitmap.
I assume there is a way to do this. Also, as long as I'm trying to make a
custom cursor, an I restricted to 16x16 size? And if I can use a bitmap,
will it recognize the transparent color I set for the bitmap?
Thanks for responses!
[==P==]
it. MSDN2 shows an example where the cursor is changed to the system default
Cursors::Hand, but not how to make a custom one from a bitmap.
I have in memory a 16x16 bitmap. I want to make that the mouse cursor image
over a Panel I have.
Now, I know this part:
panel->Cursor = gcnew_cursor ;
And I know the Cursor class allows the creation using different
constructors. Problem is none of them use a bitmap.
I assume there is a way to do this. Also, as long as I'm trying to make a
custom cursor, an I restricted to 16x16 size? And if I can use a bitmap,
will it recognize the transparent color I set for the bitmap?
Thanks for responses!
[==P==]