nikobarli
Topic Author
Posts: 178
Joined: 26 Apr 2017, 06:23

Custom cursor

13 Jun 2017, 03:15

Hi,

In WPF, we can load and use a custom cursor like this:
<Window x:Class="WpfApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        <ResourceDictionary>
            <Cursor x:Key="CursorMagnify">C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\res\magnify.cur</Cursor>
        </ResourceDictionary>
    </Window.Resources>
    <Grid Cursor="{StaticResource CursorMagnify}">
        <TextBlock>test</TextBlock>
    </Grid>
</Window>
Is there any way to do the same thing using NoesisGUI ?
# Our application uses a lot of custom cursors (more than 30).
 
User avatar
sfernandez
Site Admin
Posts: 1918
Joined: 22 Dec 2011, 19:20

Re: Custom cursor

13 Jun 2017, 11:59

This is not supported in NoesisGUI yet.
Please file a ticket in our bugtracker so we can discuss the better way to achieve what you need.

Thanks.
 
nikobarli
Topic Author
Posts: 178
Joined: 26 Apr 2017, 06:23

Re: Custom cursor

14 Jun 2017, 04:06

I filed an issue here: https://bugs.noesisengine.com/view.php?id=1109

I also wrote a comment to describe my requirements (so that you don't need to implement full blown feature at once).

Thanks.

Who is online

Users browsing this forum: Bing [Bot] and 1 guest