Track mouse position in Bookmark window.

When the cursor moves to a bookmark window, it underlines the bookmark title and shape of the cursor also changes(say finger shape).
Is there any callback function/some other way to track the change in cursor position when it is in Bookmark window,(means when it is moved to that window and moves over a bookmark) please tell me.
thank you,
palaksha

No, there are no provided APIs to give you that level of information.
Leonard

Similar Messages

  • Zooming image from mouse position(like in  windows vista photo gallery)

    hello all;
    here's my situation, hope someone can help..
    i wanna Zoom an image, which zoom from my mouse position
    like in windows photo gallery in windows vista
    so i do this..
    g2.translate(iMoux,iMouy);       
            g2.scale(zoom, zoom);       
            g2.translate(-iMoux,-iMouy);       
            g.drawImage(icon.getImage(), iSposx, iSposx, d.width/2-iValue, d.height-iBawah, null);
            g.drawImage(icon2.getImage(), d.width/2, iSposy, d.width/2-iValue, d.height-iBawah, null);the problem come when i move my mouse to the different location (like from top right to bottom left)
    the zoom image displayed in the screen like jump from latest location to new location
    anybody can help me...a clue how to do that?
    thx appreciate your help guys
    mao
    Edited by: KingMao on 31 Mei 08 14:27

    Hi Frank.
    Thanks for the response.
    Agreed, the pertinent question is why can't my colleague edit the JPG exported by Aperture. It's probably also worth pointing out, the same problem occurs with JPGs exported from iPhoto.
    The Windows software usually plays nicely with JPGs by all acounts, just not the ones I send - which I do via eMail or my public space on Mobile Me incidently.
    So, another key question is: all settings being equal (color profile, quality, etc.) are the JPGs as produced by iPhoto and Aperture indistinguishable from those produced by other apps on other platforms - i.e. does the use of JPG enforce a common standard?
    If that is the case, I suspect ours might be a permissions issue.
    According to the Microsoft support page on editing in Windows Live Photo Gallery, the inability to edit a picture is commonly caused by unsupported file type, or read-only attribute set on the file.
    Unfortunately, he and I are not in the same place, and he's not particularly au-fait with this type of problem solving. Hence, before involving him, I'd like to know:
    1. it's possible (i.e. someone else does it), and,
    2. what's involved (at my end and/or his).
    Thanks again,
    PB

  • Hwo to "track the mouse position"

    I m a java newbie, and need to write a small program to track the mouse position.
    basically, it opens a small window, and tell you the current mouse x, y coordinate. when mouse moves, hte x, y changes...
    by the way, how can i compile it to .exe file, after i finished coding.
    i try this way, but so many errors.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class mouseWin {
    public static void main(String[] args)
              protected int last_x=0, last_y=0;
              mouseMoved(MouseEvent e);
    JFrame frame = new JFrame("Mike's Mouse");
    JLabel X = new JLabel("x: " + last_x + "y: " + last_y);
    frame.getContentPane().add(X);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setVisible(true);
         public mouseMoved(mouseEvent e)
              last_x = e.getx();
              last_y = e.gety();

    please help.
    i rewrite the code, but still cannot get it work
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.EventListener;
    public class mouseWin implements MouseMotionListener
    public static void main(String[] args)
                   int last_x;
                   int last_y;
                   last_x = 0;
                   last_y = 0;
                   JFrame frame = new JFrame("Mike's Mouse");
                   JLabel X = new JLabel("x: " + last_x + "y: " + last_y);
              frame.getContentPane().add(X);
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   frame.pack();
                   frame.setVisible(true);
         public void mouseMoved(MouseEvent e)
              last_x = e.getx();
              last_y = e.gety();
              JLabel X = new JLabel("x: " + last_x + "y: " + last_y);
    }

  • Mouse tracking incorrect positions?

    Currently working on a 2D shooting game, that looks like the old Liero.
    I'v stumbeled up on a problem, the mouse positions i get seems to be wrong, or im missunderstanding something about it.
    Inside my MouseMoveListener:
       public void mouseMoved(MouseEvent e) {
          player.reportCurrentMousePosition(new Point((int)e.getPoint().getX(),(int)e.getPoint().getY()));
       }Inside the player object:
       public void reportCurrentMousePosition(Point poss) {
          this.currentMousePos = poss;
       }And the drawing in player:
    g.drawLine(locationX, locationY, (int)currentMousePos.getX(), (int)currentMousePos.getY());The line that im drawing, misses the cursor.. Anyone have any idea why?
    As i am also fiering bullets using the same position, it also seems to be out of position.
    Bullet path code:
       public void move() {
          double angle = Math.atan2(getDestinationY(), getDestinationX());
          double ySpeed = Math.sin(angle) * getSpeed();
          double xSpeed = Math.cos(angle) * getSpeed();
          this.setLocationX((int) (this.getLocationX() + xSpeed));
          this.setLocationY((int) (this.getLocationY() + ySpeed));
       }Where getDestinationX() and getDestinationY() is the mouse pointer position.
    Anyone have any clue whats wrong?

    Fixed the problem with the line.. I had to add the mousemovelistener to the panel instead of the JFrame..
    Stupid misstake..
    But still have the problem with the bullets.. Even when i add the mouselistener to the JPanel.
    The problem is that when i shoot bullets, it can hit the spot where the mouse is, but if i move the mouse a little, it still shoots at the old position..
    I have checked, and it is a different position that gets recorded.. But it seems like the bullets only shoot in some angle..
    So if i dragg the mouse even further away from the first working position, then it works again..
    [Picture example|http://www.aralll.net/javaHelp.png]
    Check the picture, and you'll see the red line, is where the mouse is, and it should be blue dots (bullets) in the middle there aswell..
    But as you can see, it only takes in 2 lines there, up, and a little to the side.. Never in the middle..

  • I have a long list of bookmarks. They are not sorted. They do not appear anywhere in the "organize bookmarks" window. Where are they? I want to delete a bunch of them but can't find a way.

    This is Firefox 3.6.8 and Mac OS 10.5.8.
    Right clicking on a bookmark does nothing. I don't know if that is a Firefox version issue or a mouse issue, but the mouse can right click on the Mac OS desktop and get the usual menus.
    It is possible for me to delete bookmarks which still point to an active web page because there I can use the star to edit the bookmark. That is way too cumbersome a process for the long list I have. Some are old and no longer point to an active page. The star comes up empty in those cases anyway and I can do nothing about the bookmark.
    Bottom line is that I just need a way to see the whole list and choose the ones to delete.
    I thought they should all show up in the unsorted bookmarks folder but it is empty. That may be the crux of the problem.

    Update - I discovered that the entire list of bookmarks can be accessed in the Organize Bookmarks window by clicking on the icon for Bookmarks Menu.
    This seem like odd interface behaviour to me.
    All the other software I use follows the pattern that an icon with a triangle to the left, which you click on to expand the menu tree downwards, shows the entire contents of the category when you click on the triangle. In other words, you don't get a different response by clicking on the icon from what you get by clicking on the triangle.
    It also seems odd to me that when an unsorted bookmarks folder is automatically provided that unsorted bookmarks would not be placed there by default.
    Anyway, by getting the list of bookmarks displayed this way I was able to simply right-click on items in the list and delete them, as I thought I should be able to do. Problem solved. Organize Bookmarks interface found to be somewhat unintuitive.

  • System not sensing mouse position

    Starting today, my computer (iMac G5 PPC) no longer senses the position of my mouse pointer. For instance:
    - The dock doesn't magnify when the mouse is in it
    - None of the corners activate things like screensaver, expose, desktop
    - When I select a menu in the menu bar, moving the mouse over another menu item doesn't open that menu.
    In other words, OSX simply has no clue where my mouse pointer is located as I move it for all those neat automatic things. Yet, I can still use the mouse to click on items to make them work, then OSX knows where the mouse is.
    I've rebooted several times to no effect, but did notice something. As apps start up, the instant a window opens, OSX will sense the mouse position for that brief moment. For example, putting the mouse over the dock doesn't magnify, but when an app window appears, the dock will magnify that very instance. Moving the mouse out of the dock area doesn't unmagnify the dock, it's stuck in that state until either another window opens, causing OSX to sense the new position, or I click any mouse button which all gets OSX's attention and senses the mouse position.
    The pointer never changes when I'm over things like Links.
    Strange stuff. The mouse moves fine, it's just not being detected as it moves.
    Now, yesterday I installed a new ScanSnap scanner with the ScanSnap Manager software and Acrobat Standard ver. 7. But the mouse didn't have this behavior yesterday, or even this morning. This strange problem just appeared out of the blue mid-day today.
    I've since used Disk Utility and Onyx, and re-installed the 10.4.9 update. I switched to another user account, no difference, so it's definitely system wide.
    This doesn't stop me from using my iMac, but I just don't know how to fix this mouse issue besides a OSX re-install.

    Ok everybody, I finally got proper behavior, it's just too bad I'm not sure of the procedure.
    When I go to bed I usually run the mouse pointer to the upper left corner to activate the screensaver. Of course it didn't work. But I also knew that clicking a button causes the mouse to be sensed, so I was pushing some of the buttons while in the corner to see if I could get the screensaver going.
    Well, after doing this, everything is back to normal operation again. So, I fixed it totally by accident. Makes me wonder if there's some features that are turned on and off somehow by doing whatever it was I did up in that corner.
    Just so you know, I use a Logitech Cordless Optical Trackman. I swapped to the original Apple corded mouse but that made no difference.
    I never had a chance to try the suggestions since I just read them before posting this.
    Anyway, I hope I don't do again whatever it was that caused the behavior, but I am going to store this info in DEVONthink just in case something like this happens again.
    Anyway, it would still be interesting if someone could shed some light on this fix I accidently found. Perhaps some hidden capabilities/features? Or just dumb luck?

  • How do I turn off the hover-to-select in the organize bookmarks window?

    I want to turn off the "hover to select" mechanism in the "organize bookmarks" window (or dramatically increase the time until the selection happens). When I am organizing bookmarks, it keeps going to the wrong folder when I am trying to drag bookmarks from one folder to another. It is extremely aggravating to have a timer-based selection because I just happen to take a little too long to move the mouse to the folder I actually want to drop the bookmarks into. This happens to me almost every time I go to organize bookmarks.
    I apologize if this has been answered before, but I did a search for this issue and was not able to find a solution, but maybe I did not choose the right keywords to find it.

    hello, you could try this - enter '''about:config''' into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''toolkit.startup.max_resumed_crashes'''. double-click it and change its value to something very high like '''999999''' (maybe setting it to <s>0 or</s> -1 will also work, however i haven't tried that myself).

  • Mouse position on screen

    is there any way to get the mouses position on the screen (not a window)?
    Stephen

    Component c = (Component)e.getSource();
    Point p = e.getPoint();
    SwingUtilities.convertPointToScreen(p, c);
    System.out.println(p);

  • Mouse position capturing

    I was wondering if there is a way to capture the mouse position w/o the use of a frame or jframe? I already know how to use the MouseListener on the JFrame/Frame, but that is no help to me since I'm not using a frame at all. Any suggestions????

    What is your goal. This will work -- (the window is 1 pixel!) -- because the robot starts a "drag" and
    swing has mouse capture during drag, but as soon as the use clicks, it's over...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class X {
        public static void main(String[] args) throws AWTException {
            JWindow w = new JWindow();
            Container cp = w.getContentPane();
            cp.addMouseMotionListener(new MouseMotionListener() {
                public void mouseDragged(MouseEvent e) {
                       System.out.println(e.getPoint());
                public void mouseMoved(MouseEvent e) {
            w.setBounds(new Rectangle(0,0,1,1));
            w.setVisible(true);
            Robot rob = new Robot();
            rob.mouseMove(0,0);
            rob.mousePress(InputEvent.BUTTON1_MASK);
            rob.mouseMove(100,100);
    [/code[

  • Detect Mouse Position?

    I can't (within actionscript 3) determine where the mouse is
    relative to the flash player window.
    I can get stage.mouseX and stage.mouseY but those coordinates
    are in relation to the size of the entire ORIGINAL stage at compile
    time.
    I need to know where the mouse is in relation to the window
    playing the swf, which is significantly smaller than the original.
    That is the play screen has been resized.
    If I zoom way in and scroll to the right edge of the stage
    and mouseover a spot on the right edge, then trace the mouse
    position (in a mouseover event proc) it shows me a number that is
    the width of the ORIGINAL stage. It seems to be completely
    oblivious to the play window.
    Is there any way at all to determine where the mouse is
    relative to the play window?
    For example,
    if the original stage is 1350 and the play window is 540 and
    I'm zoomed WAY in and scrolled all the way to the right and
    I put the mouse directly in the middle of the window,
    I need something that tells me (in actionscript 3) that the
    mouse's x coordinate is at 270, NOT 12XX (somewhere near the end of
    the orginal size of the stage).
    Is this possible in Flash C3??

    Hi there!
    I don´t know if it´s right but have you tried
    localX
    localY
    from the occuring MouseEvent?
    Hope that helps :)
    CU
    Ingo

  • Checking Mouse position every second?

    Hello,
    I have a program that needs to check the mouse position on the program's window every loop, but if I use MouseMotionListener's mouseMoved(), it is not what I want because it checks ONLY when I move my mouse, it doesn't check if I don't move my mouse. For example, I have a while loop will check if the mouse pointer now in the area of (25, 50), the program will do something. Thus what should I use? I tried moveEntered(), it doesn't work as well any hints?
    Andy

    okay, for example, like Warcraft 3, starcraft type RTS game, when you move your mouse pointer to the edge of the screen, the screen will scroll over the map. But remember when you move to the edge of the screen, it will move automatically so you don't need to move your mouse until you want to stop moving the screen, you move away your pointer from the edge right? With mouseMoved(), it doesn't work that way cuz whenever it checks mouseMovement only, if there is no mouse movement, it doesn't know whether if the pointer is on the edge or not. How do I check that, since I don't wanna use a Runnable class to do that, I rather use a loop to check it. Which method that I can get the mouse pointer position by not implementing MouseListener.
    Andy

  • Control position vs mouse position

    I want to create a tooltiptext for example. I have the mouse postion, the buttonposition and the window-position. So if I'm moving the mouse-cursor over the button, a light needs to go on. To find the position of the button in function of the X-axis is no problem, but from the top I can't find. My conclusion --> The "top button position" is not right.
    Attachments:
    delme.vi ‏34 KB

    You didn't include handy\mouse.vi, so we can't see how you're reading the mouse position. Functions that read the mouse position often report it relative to the current window. You then need to add the window position to it.
    FYI: Tooltips are included in LabView 6.x. Instead of just being able to set the description of a control, on the same screen you can set the tooltip text. Just one minor reason of many reasons to upgrade.

  • Mouse rollover on bookmark shows wrong name & location text

    FF 22.0, Win 7. Don't know when this started but when i hover the mouse over a bookmark (in my bookmark display) it displays the incorrect name and location text. It is displaying the info for another bookmark. It does display the correct info for the bookmarks on the Bookmarks Toolbar.

    This issue can be caused by a problem with HiDPI support in current Firefox versions.
    Try to set the layout.css.devPixelsPerPx pref on the <b>about:config</b> page to 1.0 (current default value is -1.0) to restore the behavior of previous Firefox versions.
    If necessary adjust layout.css.devPixelsPerPx starting with 1.0 in 0.1 or 0.05 steps (1.0 or 0.9) to make icons show correctly.<br />
    Use an extension to adjust the text size in the user interface and the page zoom in the browser window.
    Use this extension to adjust the font size for the user interface.
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/
    You can look at the Default FullZoom Level or NoScript extension if web pages need to be adjusted after changing the layout.css.devPixelsPerPx pref.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    *https://support.mozilla.org/kb/forum-response-Zoom-feature-on-Firefox-22

  • Size and position of Safari windows

    I don't think anyone's noticed the problem discussed at the end of a thread, outlined here:
    K H N Lim, "Enlarge Window Size" #3, 01:44pm Jul 28, 2005 CDT
    It's a problem a lot of people (okay, four of us) are having. Quick summary:
    "I launch Safari, resize the window and position it at the upper lefthand corner. Quit Safari and relaunch. Initially the window stays put, but after a while, the position shifts. And keeps shifting more and more toward the right of the screen with each subsequent launch."
    I've had the same problem and it makes it hard to switch from one app to another, with Safari shifting all over the screen and refusing to remember how it was positioned from launch to launch. Any ideas what's up?

    I used to be bugged by this too. Then I saw a message from someone who suggested the following applescript (with changes to coords to match your screen size and position you want). Mine is set for 1600 x 1024 resolution on my 22" cinema display. The coords are for top left corner and bottom right corner of the Safari window.
    Make a new bookmark, i.e. press COMMAND-D
    Specify that it should go in the bookmarks bar.
    Go to the bookmarks screen in Safari.
    Find the bookmark.
    Select the name (left side) and edit it to something like Window Position.
    Select the URL (right side) and paste in (without the quotes)
    "javascript:self.moveTo(190,0);self.resizeTo(1150,995)"
    Close the bookmarks window/screen.
    Click on "Window Position" in the bookmarks bar and the window will resize to specified size and position.

  • Java GUI cursor position in the window, mixed text editable and uneditable

    Hello,
    I primarily program in VBScript for Client Acces; but, I wanted to start creating user interfaces with Java.
    VBScript is not compiled on the private drive and anyone can learn how to do a program from well documented code; however, a compiled .class Java program does not have to be sent with the .java source code to work. The compiled program is unreadable by others and uneditable by others. Although I can do what I want with ActiveX programming, I want to use Java instead because it will prevent others from knowing how I program my solutions.
    The NetBeans IDE allows for controls to be dragged and dropped onto a screen; however, I want to know how to have uneditable and editable fields on the same page while allowing the cursor to be anywhere on the page and report its cursor position just as it is reported in Client Access.
    Does Java support the .Net Framework; or, does it have its own objects and methods to pull the cursor position in a window? I need the row and column, not the x and y coordinates.
    Java How To Program, Sixth Edition, has some deprecated code examples and I found working solutions from the Java Almanac. However, I did not see an example of this sort.
    What I will do once I know how to track the cursor position in the window is generate a Java based training module. Every computer at my workplace has Java runtimes installed, none of them have the .Net Framework installed. Java has a lot of tools that allow me to replace all my ActiveX programming with Java programming.
    Have a great Day!
    Jesse Grune.

    textArea.getCaret().getDot();
    or the shorter
    textArea.getCaretPosition();

Maybe you are looking for

  • IPhoto Like Folder Preview in Finder

    Is there a way to make folders in the Finder window with a preview of what's in the folder? Like you can with iPhoto.. you move your cursor over the folder and it cycles through the images inside... I'm a graphic designer and I need to find an easier

  • What is the name in the status bar when we activate a webdynpro??

    hi all, When we activate the webdynpro,in the status bar its displayin some name like 1BCWDY/*********==CP. I got it is the include program. The name getting displayed in status bar and the name in the table WDY_WB_SOURCEMAP differs. If i give the co

  • How to implement  business rules by using drolls in OSB

    Hi I am new to Drools,can any body tell how to implement drools concept in OSB11,provide any useful links or blogs. Thanks in Advance Mani

  • Kxs logs in debug mode

    I have my kxs logs in debug mode. I am trying to understand what how much time my request takes to get served by kjs and on which engine. The output is as below: [22/Apr/2004 23:20:05:1] info: NSAPICLI-012: plugin reqstart, tickct: 1082686805s 156055

  • Text Quality Changes?

    It seems text used to be smoother on screen and when I saved my web images. Now, particularly smaller sized serif fonts don't look as nice as I remember them before. I keep my text settings at Sharp. I've noticed it over time but never brought it up