Hi,
Maybe I'm missing something, but there seem to be some problems with cursor tool when using fastcursor = false and followmouse = false
1- Cursor is not displayed, but if we hover over the "invisible" cursor, the mouse pointer changes for a VSplit (or HSplit..). Now if I try to move the invisible cursor, it appears but leaves a ghost cursor.
2- I have copied the example Welcome !\Tools\Cursor\Moving programatically in a test project, and I have set FastCursor = false and got the same behavior, so moving the cursor programatically does not work either.
3- If application loses focus and another application comes over, when I go back to my test app, the cursors are not displayed.
Note that if I set FastCursor = false, everything works fine.
I've uploaded a demo project in FastCursorExample.zip on your server to illustrate what I'm talking about.
Is there something else I have to set in order to use FastCursor?
Thanks in advance
Cursor tool issues
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Re: Cursor tool issues
Hello,
13) [TF02013205]
Programmatic positioning of CursorTool
failing when FastCursor=true. Fixed.
I think you will find that this has been fixed in the latest maintenance release:Qwerty wrote: Is there something else I have to set in order to use FastCursor?
13) [TF02013205]
Programmatic positioning of CursorTool
failing when FastCursor=true. Fixed.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
-
- Newbie
- Posts: 30
- Joined: Mon Feb 18, 2008 12:00 am
Hi, thanks for the reply.
I have downloaded and installed the latest version, and it is a little bit better, but nearly all the issues I noted are still present.
- use FastCursor = true and the cursor is visible on the screen, zoom around the cursor. Once the zoom is applied, the cursor is not visible, but hovering over the cursor will show a VSplit cursor.
- the first time I toggle from FastCursor = false to true, it is working, but toggle it back to false and then to true again, hovering over the cursor does nothing, it doesn't show the VSplit cursor.
- When using fastcursor = true, if we pan the graph, the cursor does not follow the x / y value as it is done when using fastcursor = false
In my opinion, the cursortool in this release is worse than the one in version 3.2
I have downloaded and installed the latest version, and it is a little bit better, but nearly all the issues I noted are still present.
- use FastCursor = true and the cursor is visible on the screen, zoom around the cursor. Once the zoom is applied, the cursor is not visible, but hovering over the cursor will show a VSplit cursor.
- the first time I toggle from FastCursor = false to true, it is working, but toggle it back to false and then to true again, hovering over the cursor does nothing, it doesn't show the VSplit cursor.
- When using fastcursor = true, if we pan the graph, the cursor does not follow the x / y value as it is done when using fastcursor = false
In my opinion, the cursortool in this release is worse than the one in version 3.2
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello,
Please bear in mind that FastCursor was not originally conceived to have all the functionality of the normal cursor. In GDI+ there is the limitation of having no XOR pen, meaning that the FastCursor implementation has to use the ControlPaint class for this functionality, which is far from perfect. The FastCursor is only really meant to be used with FollowMouse=true.
Great, I'm pleased to hear it!Qwerty wrote: I have downloaded and installed the latest version, and it is a little bit better
It would be really nice if you post a simple project with code examples of the issues you are experiencing.Qwerty wrote: - use FastCursor = true and the cursor is visible on the screen, zoom around the cursor. Once the zoom is applied, the cursor is not visible, but hovering over the cursor will show a VSplit cursor.
- the first time I toggle from FastCursor = false to true, it is working, but toggle it back to false and then to true again, hovering over the cursor does nothing, it doesn't show the VSplit cursor.
- When using fastcursor = true, if we pan the graph, the cursor does not follow the x / y value as it is done when using fastcursor = false
Please bear in mind that FastCursor was not originally conceived to have all the functionality of the normal cursor. In GDI+ there is the limitation of having no XOR pen, meaning that the FastCursor implementation has to use the ControlPaint class for this functionality, which is far from perfect. The FastCursor is only really meant to be used with FollowMouse=true.
That's an interesting opinion. Have you got any code I can run against both versions which shows up the limitations of the more modern CursorTool implementation?Qwerty wrote: In my opinion, the cursortool in this release is worse than the one in version 3.2
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
-
- Newbie
- Posts: 30
- Joined: Mon Feb 18, 2008 12:00 am
Hi Christopher, thanks for the quick reply!
I'll explain what I want to achieve, maybe there is another way to reach my goal than using cursors.
I'll refer to "cursor" as the "thing I want to have"
I want to have a cursor that:
1- Can be moved programatically and by mouse
2- Can be associated with a fastline series (can give me X value of the trace)
3- I want to be able to control it's height and add some details under the cursor (such as a number)
What I have done up to now (with fastcursor = false) is working great, but the only thing is CPU performance, so if there is a way I can lower CPU usage, it might be acceptable...
Thank you very much!
Sure, I posted FastCursor.zip via upload page.It would be really nice if you post a simple project with code examples of the issues you are experiencing.
Beside using fastcursor = true, is there a way to have a cursor that does not redraw the whole graph? I am looking for minimizing CPU usage when using cursor.Please bear in mind that FastCursor was not originally conceived to have all the functionality of the normal cursor. In GDI+ there is the limitation of having no XOR pen, meaning that the FastCursor implementation has to use the ControlPaint class for this functionality, which is far from perfect. The FastCursor is only really meant to be used with FollowMouse=true.
I'll explain what I want to achieve, maybe there is another way to reach my goal than using cursors.
I'll refer to "cursor" as the "thing I want to have"
I want to have a cursor that:
1- Can be moved programatically and by mouse
2- Can be associated with a fastline series (can give me X value of the trace)
3- I want to be able to control it's height and add some details under the cursor (such as a number)
What I have done up to now (with fastcursor = false) is working great, but the only thing is CPU performance, so if there is a way I can lower CPU usage, it might be acceptable...
Thank you very much!
-
- Newbie
- Posts: 30
- Joined: Mon Feb 18, 2008 12:00 am
Hello,
sorry for delay, please take a look at the following post which is related to your post.
Related Post
sorry for delay, please take a look at the following post which is related to your post.
Related Post
Pep Jorge
http://support.steema.com
http://support.steema.com