|
In Delphi 2007, in a mouse move event, I try to change the mouse cursor with:
procedure TFr_Board_Display.PaintBox_Proxy_BoardMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); begin if left_mouse_button_down then begin if some_condition then...
Started by Rich J on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
End;
If you want the mousecursor to react at the mouse move, use the following:
procedure of code set the mouse....
If you set the mouse cursor in the OnMouseDown and reset it in the OnMouseUp, anything works fine cursor.
|
|
In Flex, by default, when you mouse over a Text Input the mouse cursor is changed to the standard I cross bar. How can I change this cursor so the regular mouse pointer cursor is shown rather than the I cross bar?
update: Well, it seems this process is...
Started by DyreSchlock on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The system.
If you want the text to be editable to set the cursor back here }
You could use a HBOX with a Label instead of a TextInput.
Will not change the cursor when the mouse is over the Label.
|
|
Currently, mouse wheel scrolls the control that has keyboard focus. That's not good when window has several scrollable controls, because I have to click control first and then scroll. And the same again when trying to scoll another control. Especially...
Started by skevar7 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Haven't tried it though but the comments on it seem good. .
Just some software I came across.
Try this.
I think this will do what you want.
Check out KatMouse.
|
Ask your Facebook Friends
|
I use this jQuery code to set the mouse pointer to its busy state (hourglass) during an Ajax call...
$('body').css('cursor', 'wait');
and this corresponding code to set it back to normal...
$('body').css('cursor', 'auto');
This works fine... on some browsers...
Started by Nosredna on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Again, I haven't.
Try using the correct css value for the cursor property:
$('body').css('cursor','wait');
http event on the body, which might cause the cursor to update to the latest CSS value.
|
|
How do I get the current mouse cursor type? In Windows.
I mean - if it's a hourglass, an arrow, etc? I need it even if the mouse is ouside of my application or even if my program is windlowless.
In C#, Delphi or pure winapi, nevermind...
Thank you very...
Started by jazbit on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
General Win32 (user32) gives: In Delphi
In most visual objects you can use the Cursor property, otherwise use the Screen.Cursor propery the information on global ....
For the current mouse cursor.
Use (in Delphi)
Screen.MouseCursor.
|
|
I use a number of scrolling controls: TTreeViews, TListViews, DevExpress grids and treelists, etc. When the mouse wheel is spun, the control with focus receives the input no matter what control the mouse cursor is over.
How do you direct the mouse wheel...
Started by avenmore on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
[1] http://social.msdn.microsoft.com.
To find out which component the mouse: Get the Control Under the Mouse in a Delphi application [2] .
It uses hooks to accomplish the wanted effect.
A problem.
|
|
Is it possible to hide the mouse cursor in a web browser?
I've done this in Flash for a touch screen application, where a mouse cursor is distracting and unneeded. This time it's for a display screen that is non-interactive, so a mouse cursor is not needed...
Started by Peter Bridger on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Try this example; $(function() { $('#TestDiv').....
Just use css rule
* {cursor: none;}
Try using the CSS:
#elementID{ cursor: none; }
Try this: http://www.webtoolkit.info/javascript-custom-cursor.html
And use a transparent cursor.
|
|
On my notebook I do not see any cursor animation (mouse pointers are visible but not animating), although all settings are correct. Any ideas as to why?
Started by Toro on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
If I change Cursor-Theme for....
If you have done this and installed a Windows 7 driver but cursor.
Are you using the default, animated cursors? There are older cursor themes that are not animated driver, and not a Vista driver.
|
|
I have a timely operation that runs on a background thread. While running, I currently put the cursor in a wait state:
Mouse.OverrideCursor = Cursors.Wait
I just implemented a feature that allows the user to click a "Cancel" button if they're tired of...
Started by vg1890 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Of course you'd ideally want the normal hourglass for the rest of the UI, and that cursor just for the cancel.
Cursors.AppStarting
I suspect the "mouse cursor + hourglass" is Cursors.AppStarting .
|
|
In a Windows Forms, .NET 2.0 application, I'm using a ContextMenuStrip control attached to the ContextMenuStrip property of a form. When I right-click the form, the ContextMenuStrip opens at the mouse cursor position.
However, when I press the "menu key...
Started by Memento on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I think that's normal behavior.
Keyboard users won't be impressed that all they menus are popping up wherever they last left their mouse.
I would avoid overriding standard behavior.
The mouse location.
|