Solved

Mouse Cursors changing and getting stuck

Posted on 2004-08-23
7
247 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
  • 4
  • 3
7 Comments
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
do you capture the mouse somewhere?

try following
  screen.cursor := crDefault;

just guessing

meikl ;-)
0
 
LVL 1

Author Comment

by:hibbidiji
Comment Utility
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
Comment Utility
well then try following in case of mixedup cursor

SetSystemCursor(GetCursor,OCR_NORMAL);

hope thats it

meikl ;-)
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 27

Accepted Solution

by:
kretzschmar earned 500 total points
Comment Utility
sorry, this wont work i guess, another try

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

meikl ;-)
0
 
LVL 1

Author Comment

by:hibbidiji
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now