View Issue Details

IDProjectCategoryView StatusLast Update
0001109NoesisGUIC++ SDKpublic2020-05-07 12:53
ReporternikobarliAssigned Tojsantos 
Status assignedResolutionopen 
Product Version2.0.2f2 
Target Version3.0Fixed in Version 
Summary0001109: Custom cursor support
DescriptionIn WPF, we can load and use a custom cursor like this:

<Window x:Class="WpfApp.MainWindow"
        Title="MainWindow" Height="350" Width="525">
            <Cursor x:Key="CursorMagnify">C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\res\magnify.cur</Cursor>
    <Grid Cursor="{StaticResource CursorMagnify}">

Our application uses a lot custom cursors (more than 30). Thus, we need a way to support this in NoesisGUI.

In longer term, you may want to implement the Cursor class with similar capabilities as WPF does. But in shorter term, we only need to designate a custom cursor ID to the FrameworkIElement.

For example, we can write in XAML

<Grid Cursor="Custom_MyCursor"></Grid>

which is the same as below in code behind

Grid::SetCursor(Cursor_Custom /* new enum entry "/, "MyCursor" /* ID string */);

and which causes the cursor callback is called with parameters Cursor_Custom and "MyCursor".

Then inside the client integration code, I can map the tuple {Cursor_Custom, "MyCursor"} to any custom cursor I want.
TagsNo tags attached.




2019-03-06 08:51

reporter   ~0005501

Hi, is there any update on this feature ? Is it gonna make it to 2.2.0 maybe ?


2019-03-06 16:55

manager   ~0005502

Hi Niko, we discussed long time ago and decided to add a char* to our cursors to solve this. But we are almost ready to close 2.2 (RC is happening this week) so I am not sure if we can implement it for this version.

Could you please raise the priority of this ticket and tell me how critical it is for you right now?



2019-03-07 01:23

reporter   ~0005507

Hi Jesus,

I raised the priority to High. I think I can temporarily workaround this issue by providing per-view mapping from the current Cursor enum to the custom cursor inside the Integration layer.
Please consider adding the official support in the near future.

Issue History

Date Modified Username Field Change
2017-06-14 04:04 nikobarli New Issue
2017-09-27 00:42 jsantos Assigned To => jsantos
2017-09-27 00:42 jsantos Status new => assigned
2018-11-01 02:14 jsantos View Status public => private
2019-03-06 08:51 nikobarli Note Added: 0005501
2019-03-06 16:55 jsantos Status assigned => feedback
2019-03-06 16:55 jsantos Note Added: 0005502
2019-03-06 16:55 jsantos View Status private => public
2019-03-06 16:55 jsantos Platform => Any
2019-03-07 01:23 nikobarli Priority normal => high
2019-03-07 01:23 nikobarli Status feedback => assigned
2019-03-07 01:23 nikobarli Note Added: 0005507
2019-04-08 17:55 sfernandez Target Version => 2.2.2
2019-04-30 10:55 sfernandez Target Version 2.2.2 => 2.2.3
2019-06-18 16:57 sfernandez Target Version 2.2.3 => 2.2.4
2019-08-26 15:26 jsantos Target Version 2.2.4 => 2.2.5
2019-12-30 10:33 sfernandez Target Version 2.2.5 => 3.0.0
2020-05-07 12:53 jsantos Target Version 3.0.0 => 3.0