1

Closed

OnChangeCursor doesn't provide any info

description

It looks like it's been commented out in the code...
 
    void onChangeCursor (const HCURSOR& cursor)
    {
        Args::ChangeCursorEventArgs^ args = gcnew Args::ChangeCursorEventArgs(
            //gcnew String(tooltip.c_str())
            );
        OnChangeCursor(this, args);
    }
 
And it looks like the line is from onChangeTooltip. Any thoughts on what it should be?
Closed Jun 24, 2010 at 3:21 PM by anthrax11

comments

anthrax11 wrote Dec 26, 2009 at 10:06 PM

Thanks for reporting this. I wasn't sure what to do with the unmanaged cursor handle given by Awesomium, so I just left the Args empty. Now I fixed it with the help of Remi Gillig's code, just had to convert the cursor to a managed Cursor like this: gcnew Cursor((IntPtr)cursor). The SlimDX sample has also been updated accordingly.

wrote Dec 26, 2009 at 10:07 PM

wrote Jun 24, 2010 at 3:21 PM

wrote Feb 14, 2013 at 1:38 AM

wrote May 16, 2013 at 7:11 AM