I am implementing the system menu (Restore, Move, Size...) on a borderless window and I want the mouse cursor to move to the center of the Window when size or move is selected. Ideally in VB but C# is fine as well.
...
Hi,
I need a tool that displays detailed information about the Win32 window which is currently under the mouse cursor. The info I need at minimum:
Class name
Caption name
Window style
Window extended style
Window procedure address
I know that Spy++ does a similar job. But Spy++ wouldn't help because I need to spy for menus. And esse...
What is the advantage of using FAST_FORWARD for defining a cursor? Is it better for performance? why?
...
Hi all,
I have a client-server application and i am using swing in the client side. My swing client has one main window (jframe) and lots of panels, toolbars and menubar in it.
I want to remove all client action/mouse events (or simply grab and do nothing) while client is waiting response from server by means of glasssPane.
Here is the ...
I am taking a database class and at the beginning of the lab section of the class we usually have to drop all the tables in the database created previously. I wanted to be able to run a script that does this dynamically, but cannot seem to get it to work. Here is the code I have so far.
declare tname string(50);
cursor ctable is select ...
I have five forms in the page. I have my validation also in place using jquery validation plugin. There is this odd little case where I want to cover - wherein the server returns no results (for any of the forms) and I need to display the same jquery validation. I was able to do that with :
$("#form1").validate().element( ".myid" ); ...
My Android app has a ContactsList activity in which I simply display a list of contacts that are on the phone.
Only recently I noticed that my activity only displays contacts synced with my main Google account. I have two Google accounts on my test phone and ideally I want my activity to display the contacts for both accounts (or multi...
Hi,
Do you know why Chrome sets cursor's shape into the "text" one, when over an open selectbox ?
If I set the CSS to:
select {
cursor: pointer;
}
It sets the cursor when the mouse is over the selectbox, but when you click to open the list, it comes back to the "text" shape again.
Do you know how to change it to a pointer or somet...
Hi,
I have a JPanel inside a dialog. A MouseListener listens to mouse movements, and when the mouse is on a specific location, I call setCursor() on the panel to change the cursor.
This all works well, untill I open another dialog from within this dialog and close it again. (For example: a warning message (JOptionPane), or a new custom...
I'm currently using the ShowCursor API call to hide a cursor for an application after a set period of inactivity. This works fine, except that the cursor is hidden over both the menus and status bar (which I don't want). I'm also using a Form_MouseMove to switch the cursor back on, but this doesn't work over the menus or status bar.
I...
Right now, I'm running into issues trying to implement a FilterQueryProvider in my custom SimpleCursorAdapter, since I'm unsure of what to do in the FilterQueryProvider's runQuery function.
In other words, since the query that comprises my ListView basically gets the rowID, name, and a third column from my databases's table, I want to b...
// clickable blocks
$(".product").click(
function () {
window.location = $(this).find('a').attr("href").css("cursor", "pointer");
return false;
});
The container is made clickable but the cursor remains the same. Why isn't the css selector working?
...
When I execute a jQuery function like .fadeIn, .fadeOut, .slideUp, .slideDown, .toggle, etc. in IE the mouse always flickers and the hourglass quickly flickers in and out of view next to the cursor. I've tried different methods of hiding the mouse entirely while the animation is going on to no avail, plus I don't want that in most cases...
I'm writing a little GUI utility in Qt4 which uses a QGraphicsScene. One of the items tracks the mouse in the horizontal plane as you move it around, and holding down a modifier key allows you to change the item's rotation. When rotating items I'd like the mouse cursor to change to a curvy arrow (or something) and lock visually in plac...
I'm implementing panning of a large image in a PictureBox control, and I have no problem setting the appropriate directional pan cursors. However, I can't seem to find the image used for the origin of the pan (a circle with arrows inside of it).
Where can I find it?
...
I'm building an in-browser IDE using Javascript. The code/widgets are stored in the document. I want control over the editing process so I am intercepting keystrokes and displaying a simulated cursor where the edit point is in the DOM. (At first I tried using contenteditable = true but that isn't giving me enough control.)
I've made s...
Hi all,
I try to explain my problem.
I have a <div contenteditable="true" id="my_editeur>, where I have defined a keypress “event” which allow me to add a ‘p’ when the user clicks on “enter”.
It functions well, but I would like define the cursor on this new ‘p’ element, because currently my cursor stays on the first 'p' element.
I ...
i have a lot of html tags without href for making onclick javascript calls. but these links do not have a pointer style of cursor. they only have text style cursor.
how to set cursor style to pointer for links without hrefs?
i know i can add href="#", but i have this in a lot of places in the html document and would like to know how t...
I am testing on providing insert HTML option in WYSIWYG editor.
I tried inserting div into the editor.
After inserting IE seems to get the cursor out of the div this is what I want but FF the cursor is still in the div. How to make the cursor get out of the div?
...
In Microsoft Windows, there is a (highly useful) feature that automatically moves the cursor to the default button of a modal dialog box (activated in Win+R, "control mouse").
Now I have created a custom dialog box in Delphi (basically a TForm), see below.
But, quite naturally, the cursor does not automatically move to the default bu...