?
Solved

Mouse Cursors changing and getting stuck

Posted on 2004-08-23
7
Medium Priority
?
263 Views
Last Modified: 2010-04-05
I am writing in D7 and a problem that I have been encountering (and attributing to the IDE) is now occuring in the wild.

After some time using the app, a mouse cursor will pass over a window handle or something and then get STUCK as a horiz resize for instance.  This happens almost exclusively with resize cursors and the only solution is to goto the mouse control panel and reset.  how wierd is this?  

I am a pragmatic man.  I would accept almost any solution that works including resetting their cursors to system defaults (the defaults in the CP) whenever moving over a window or anything we can think of.  

I am using suipack from sunisoft in case anyone thinks that might be an issue

Thanks! This is rather urgent
0
Comment
Question by:hibbidiji
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 11878452
do you capture the mouse somewhere?

try following
  screen.cursor := crDefault;

just guessing

meikl ;-)
0
 
LVL 1

Author Comment

by:hibbidiji
ID: 11878487
no dice.   it looks like the cursor changes only for the app itself.  when moving the cursor off the forms it  goes back to normal then wrong again when moved over
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 11878549
well then try following in case of mixedup cursor

SetSystemCursor(GetCursor,OCR_NORMAL);

hope thats it

meikl ;-)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Accepted Solution

by:
kretzschmar earned 2000 total points
ID: 11878573
sorry, this wont work i guess, another try

SetSystemCursor(LoadCursor(0,IDC_ARROW),OCR_NORMAL);

meikl ;-)
0
 
LVL 1

Author Comment

by:hibbidiji
ID: 11878844
Looks like that last one did the trick.....

I would like to know... can you think of a good time to fire that code?   I have totally rigged it with an on mouse move over one of my components, but I know thats not a realistically useful solution
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 11878876
usual it would be better to search the cause of this problem

the suggestion above is only a workaround.

well, the best way to do this is  hard to say,
easiest would be to use a timer which fires all two/three seconds

meikl ;-)
0
 
LVL 1

Author Comment

by:hibbidiji
ID: 11897833
I believe I've tracked the problem down to the jvmovablebevel control from the jedi pack.  Unfortunately I'm not skilled enough to fix the actual problem.  I have posted a message in the jvcl newsgroup and I hopefully I will get a solution there.
Thanks for your help as usal.

Andrew
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question