Bing Maps on IE 11 browser, The mouse click event is only working when we have compatibility mode on.

I have tried out the code in this article in ASP.Net web forms with c#  and javascript.
I am using Ajax to call the C# from Javascript and load the data from database.
I have used following article to show the pushpins and there infoboxes.
http://blogs.msdn.com/b/rbrundritt/archive/2013/11/08/multiple-pushpins-and-infoboxes-in-bing-maps-v7.aspx?CommentPosted=true#commentmessage
My code works great on IE 11 , when I have compatibility mode on,
but when compatibility mode is off, the mouse click event is not being received by the Javascript function.
Is this expected behavior of bing maps, Are there any workarounds for this problem?
Thanks
Nate

Hi Ricky, I have tried using Chrome and I see the same issue. The mouse events are not being captured. 
Here is my code
<%@ Page Title="" Language="C#" MasterPageFile="~/Maps.Master" AutoEventWireup="true" CodeBehind="BingMaps.aspx.cs" Inherits="MyMaps.secure.BingMaps" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderBody" runat="server" >
<asp:ScriptManager ID="ScriptManager" runat="server"
EnablePageMethods="true" />
<div id="MapHolder" style="; width:1000px; height:800px; " />
<asp:Literal ID="Literal1" runat="server">
</asp:Literal>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptSection" runat="server">
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0">
</script>
<script type="text/javascript" >
var map = null, infobox, dataLayer;
$(document).ready(function () {
GetMap();
function GetMap() {
// Initialize the map
map = new Microsoft.Maps.Map(document.getElementById("MapHolder"),
{ credentials: "lincensekey", zoom: 2 });
dataLayer = new Microsoft.Maps.EntityCollection();
map.entities.push(dataLayer);
var infoboxLayer = new Microsoft.Maps.EntityCollection();
map.entities.push(infoboxLayer);
infobox = new Microsoft.Maps.Infobox(new Microsoft.Maps.Location(0, 0), { visible: false, offset: new Microsoft.Maps.Point(0, 20) });
infoboxLayer.push(infobox);
PageMethods.GetLocations(RequestCompletedCallback, RequestFailedCallback);
function AddData(MapPoints) {
for (var i = 0, len = MapPoints.length; i < len; ++i)
var pushpin = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location(parseFloat(MapPoints[i].lat),parseFloat(MapPoints[i].lon))
icon: MapPoints[i].group,
height: 50, width: 60, text: MapPoints[i].city
pushpin.Title = MapPoints[i].name;
pushpin.description = MapPoints[i].desc;
Microsoft.Maps.Events.addHandler(pushpin, 'click', displayInfobox);
dataLayer.push(pushpin);
function displayInfobox(e) {
if (e.targetType == 'pushpin') {
infobox.setLocation(e.target.getLocation());
infobox.setOptions({ visible: true, title: e.target.Title, description: e.target.description });
function RequestCompletedCallback(result) {
result = eval(result);
AddData(result);
function RequestFailedCallback(error) {
var stackTrace = error.get_stackTrace();
var message = error.get_message();
var statusCode = error.get_statusCode();
var exceptionType = error.get_exceptionType();
var timedout = error.get_timedOut();
alert("Stack Trace: " + stackTrace + "<br/>" +
"Service Error: " + message + "<br/>" +
"Status Code: " + statusCode + "<br/>" +
"Exception Type: " + exceptionType + "<br/>" +
"Timedout: " + timedout);

Similar Messages

  • My macbook wont start the screen turn blue and stay like that for hrs. It only work when i use safe mode, i try to use disk utilities to fix it but the disk utilities keep saying error and a bunch of other stuff. I dont the cds the comp came with, help.

    my macbook wont start the screen turn blue and stay like that for hrs. It only work when i use safe mode, i try to use disk utilities to fix it but the disk utilities keep saying error and a bunch of other stuff. I dont the cds the comp came with, help. i've tried the command s command p command v but nothing i've tried to the safe mode then a quick restart but nothing
    disk utility give me this:
    Process:         Disk Utility [371]
    Path:            /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
    Identifier:      com.apple.DiskUtility
    Version:         11.5.2 (298.4)
    Build Info:      DiskUtility-2980400~60
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [86]
    Date/Time:       2013-11-05 03:29:41.247 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          9522 sec
    Crashes Since Last Report:           29
    Per-App Interval Since Last Report:  981 sec
    Per-App Crashes Since Last Report:   25
    Anonymous UUID:                      F6B8E263-76C8-4C7D-AA58-48134BF4BA78
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                         0x0000000100c62fbc _read_images + 312
    1   libobjc.A.dylib                         0x0000000100c79721 map_images_nolock + 1266
    2   libobjc.A.dylib                         0x0000000100c62761 map_images + 115
    3   dyld                                    0x00007fff5fc039c5 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 853
    4   dyld                                    0x00007fff5fc0c849 ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 201
    5   dyld                                    0x00007fff5fc04d54 dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 118
    6   dyld                                    0x00007fff5fc08f7c dlopen + 490
    7   libSystem.B.dylib                       0x0000000100a14e40 dlopen + 61
    8   com.apple.CoreFoundation                0x0000000100d78ef7 _CFBundleDlfcnLoadBundle + 231
    9   com.apple.CoreFoundation                0x0000000100d77e97 _CFBundleLoadExecutableAndReturnError + 1191
    10  com.apple.Foundation                    0x0000000101008355 _NSBundleLoadCode + 638
    11  com.apple.Foundation                    0x0000000101007c78 -[NSBundle loadAndReturnError:] + 742
    12  com.apple.Foundation                    0x000000010101960c -[NSBundle principalClass] + 38
    13  com.apple.framework.DUSupport           0x0000000100082080 -[DUModuleManager(_private) findDUModules:] + 405
    14  com.apple.framework.DUSupport           0x0000000100081ed9 -[DUModuleManager orderedModuleListOfModules] + 40
    15  com.apple.DiskUtility                   0x0000000100006082 0x100000000 + 24706
    16  com.apple.DiskUtility                   0x0000000100005f59 0x100000000 + 24409
    17  com.apple.AppKit                        0x0000000101444625 -[NSWindowController _windowDidLoad] + 538
    18  com.apple.AppKit                        0x00000001013e1f77 -[NSWindowController window] + 112
    19  com.apple.AppKit                        0x00000001015f61d9 -[NSWindowController showWindow:] + 47
    20  com.apple.AppKit                        0x00000001015c7c5c -[NSDocument showWindows] + 98
    21  com.apple.AppKit                        0x00000001015c64bb -[NSDocumentController openUntitledDocumentAndDisplay:error:] + 340
    22  com.apple.AppKit                        0x00000001014f7b44 -[NSDocumentController(NSInternal) _openUntitled] + 111
    23  com.apple.AppKit                        0x00000001014f79ab -[NSApplication _doOpenUntitled] + 257
    24  com.apple.AppKit                        0x00000001014f733b -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 185
    25  com.apple.AppKit                        0x00000001014f6fd9 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77
    26  com.apple.Foundation                    0x0000000100ffd0d6 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
    27  com.apple.Foundation                    0x0000000100ffcf06 _NSAppleEventManagerGenericHandler + 114
    28  com.apple.AE                            0x0000000104d7332b aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
    29  com.apple.AE                            0x0000000104d73224 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
    30  com.apple.AE                            0x0000000104d7312b aeProcessAppleEvent + 210
    31  com.apple.HIToolbox                     0x00000001028a0619 AEProcessAppleEvent + 48
    32  com.apple.AppKit                        0x00000001013fc095 _DPSNextEvent + 1191
    33  com.apple.AppKit                        0x00000001013fb801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    34  com.apple.AppKit                        0x00000001013c168f -[NSApplication run] + 395
    35  com.apple.AppKit                        0x00000001013ba3b0 NSApplicationMain + 364
    36  com.apple.DiskUtility                   0x0000000100002009 0x100000000 + 8201
    37  com.apple.DiskUtility                   0x0000000100001db8 0x100000000 + 7608
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib                       0x0000000100a27c0a kevent + 10
    1   libSystem.B.dylib                       0x0000000100a29add _dispatch_mgr_invoke + 154
    2   libSystem.B.dylib                       0x0000000100a297b4 _dispatch_queue_invoke + 185
    3   libSystem.B.dylib                       0x0000000100a292de _dispatch_worker_thread2 + 252
    4   libSystem.B.dylib                       0x0000000100a28c08 _pthread_wqthread + 353
    5   libSystem.B.dylib                       0x0000000100a28aa5 start_wqthread + 13
    AND MORE TOO MUCH TO COPY N PASTE HELP PLEASE!!!!!

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • In Yosemite Mail, the control click option no longer works when clicking on attachments, that previously allowed you to save, quicklook, and select app to open with. Any solutions?

    In Yosemite Mail, the control click option no longer works when clicking on attachments, that previously allowed you to save, quicklook, and select app to open with etc. Any solutions?

    Hi
    It shows just 4 always as an option in the "open with" lsit. Also I haven't downloaded any apps for a while so why would it start now?
    Do you know how I can estabilsh how many apps are counting toward this 10 and what they are?

  • Why does my volume control on my iPod touch only work when i have Earbuds or Headphones or a speaker connected to the headphone jack, and not also when there is nothing in the jack?

    I can't adjust the volume of the iPod Touch when it has nothing plugged into the headphones jack, but i can adjust it when i have earbuds or headphones or a speaker ;plugged into the iPod Touch

    Try cleaning out/blowing out the headphone jack. Insert/remove the the headphone plug a dozen times or so.
    Try the following to rule out a software problem.:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store since you likely have a hardware problem. Could be a bad headphone jack.
    Apple Retail Store - Genius Bar

  • What is the recommended way to handle mouse click events for custom nodes that subclass Panes?

    Hi,
    I have created a custom node that is a StackPane containing a Label on top of a Polygon.
    import javafx.scene.control.Label;
    import javafx.scene.layout.StackPane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Polygon;
    public class CustomHexagon extends StackPane {
        private Polygon hexagon;
        private Label overlayText;
        public CustomHexagon( String text, double... points ) {
            this.hexagon = new Polygon( points );
            this.overlayText = new Label( text );
            overlayText.setStyle( "-fx-font-weight: bold;" );
            hexagon.setStroke( Color.GREEN );
            hexagon.setStrokeWidth( 5.0 );
            hexagon.setFill( Color.WHITE );
            this.getChildren().addAll( hexagon, overlayText );
    // Lays out the node where it should be according to the points provided for the Polygon.
            this.setLayoutX( points[0] - getLayoutBounds().getMinX() );
            this.setLayoutY( points[1] - getLayoutBounds().getMinY() );
    // Show the border of the StackPane.
            this.setStyle( "-fx-border-color: black; -fx-border-width: 1; -fx-border-style: dashed;");
        public String getOverlayText() {
            return overlayText.getText();
    I want to display a tesselation of these custom hexagons. Because a CustomHexagon is a StackPane, not a Polygon, MouseClick events can be picked up when the mouse is clicked outside of the stroke of the hexagon but still within the StackPane (which takes up a rectangle larger than the hexagon). The following program demonstrates this.
    public class Main extends Application {
        @Override
        public void start(Stage primaryStage) {     
            Group root = new Group();
            CustomHexagon[] hexagons = {
                new CustomHexagon( "00", 10.0, 10.0, 30.0, 10.0, 40.0, 27.3205080756, 30.0, 44.6410161512, 10.0, 44.6410161512, 0.0, 27.3205080756 ),
                new CustomHexagon( "01", 70.0, 10.0, 90.0, 10.0, 100.0, 27.3205080756, 90.0, 44.6410161512, 70.0, 44.6410161512, 60.0, 27.3205080756 ),
                new CustomHexagon( "02", 130.0, 10.0, 150.0, 10.0, 160.0, 27.3205080756, 150.0, 44.6410161512, 130.0, 44.6410161512, 120.0, 27.3205080756 ),
                new CustomHexagon( "03", 190.0, 10.0, 210.0, 10.0, 220.0, 27.3205080756, 210.0, 44.6410161512, 190.0, 44.6410161512, 180.0, 27.3205080756 ),
                new CustomHexagon( "04", 250.0, 10.0, 270.0, 10.0, 280.0, 27.3205080756, 270.0, 44.6410161512, 250.0, 44.6410161512, 240.0, 27.3205080756 ),
                new CustomHexagon( "10", 40.0, 27.3205080756, 60.0, 27.3205080756, 70.0, 44.6410161512, 60.0, 61.961524226799995, 40.0, 61.961524226799995, 30.0, 44.6410161512 ),
                new CustomHexagon( "11", 100.0, 27.3205080756, 120.0, 27.3205080756, 130.0, 44.6410161512, 120.0, 61.961524226799995, 100.0, 61.961524226799995, 90.0, 44.6410161512 ),
                new CustomHexagon( "12", 160.0, 27.3205080756, 180.0, 27.3205080756, 190.0, 44.6410161512, 180.0, 61.961524226799995, 160.0, 61.961524226799995, 150.0, 44.6410161512 ),
                new CustomHexagon( "13", 220.0, 27.3205080756, 240.0, 27.3205080756, 250.0, 44.6410161512, 240.0, 61.961524226799995, 220.0, 61.961524226799995, 210.0, 44.6410161512 ),
                new CustomHexagon( "14", 280.0, 27.3205080756, 300.0, 27.3205080756, 310.0, 44.6410161512, 300.0, 61.961524226799995, 280.0, 61.961524226799995, 270.0, 44.6410161512 ),
                new CustomHexagon( "20", 10.0, 44.6410161512, 30.0, 44.6410161512, 40.0, 61.961524226799995, 30.0, 79.2820323024, 10.0, 79.2820323024, 0.0, 61.961524226799995 ),
                new CustomHexagon( "21", 70.0, 44.6410161512, 90.0, 44.6410161512, 100.0, 61.961524226799995, 90.0, 79.2820323024, 70.0, 79.2820323024, 60.0, 61.961524226799995 ),
                new CustomHexagon( "22", 130.0, 44.6410161512, 150.0, 44.6410161512, 160.0, 61.961524226799995, 150.0, 79.2820323024, 130.0, 79.2820323024, 120.0, 61.961524226799995 ),
                new CustomHexagon( "23", 190.0, 44.6410161512, 210.0, 44.6410161512, 220.0, 61.961524226799995, 210.0, 79.2820323024, 190.0, 79.2820323024, 180.0, 61.961524226799995 ),
                new CustomHexagon( "24", 250.0, 44.6410161512, 270.0, 44.6410161512, 280.0, 61.961524226799995, 270.0, 79.2820323024, 250.0, 79.2820323024, 240.0, 61.961524226799995 ),
                new CustomHexagon( "30", 40.0, 61.961524226799995, 60.0, 61.961524226799995, 70.0, 79.2820323024, 60.0, 96.602540378, 40.0, 96.602540378, 30.0, 79.2820323024 ),
                new CustomHexagon( "31", 100.0, 61.961524226799995, 120.0, 61.961524226799995, 130.0, 79.2820323024, 120.0, 96.602540378, 100.0, 96.602540378, 90.0, 79.2820323024 ),
                new CustomHexagon( "32", 160.0, 61.961524226799995, 180.0, 61.961524226799995, 190.0, 79.2820323024, 180.0, 96.602540378, 160.0, 96.602540378, 150.0, 79.2820323024 ),
                new CustomHexagon( "33", 220.0, 61.961524226799995, 240.0, 61.961524226799995, 250.0, 79.2820323024, 240.0, 96.602540378, 220.0, 96.602540378, 210.0, 79.2820323024 ),
                new CustomHexagon( "34", 280.0, 61.961524226799995, 300.0, 61.961524226799995, 310.0, 79.2820323024, 300.0, 96.602540378, 280.0, 96.602540378, 270.0, 79.2820323024 ),
                new CustomHexagon( "40", 10.0, 79.2820323024, 30.0, 79.2820323024, 40.0, 96.602540378, 30.0, 113.9230484536, 10.0, 113.9230484536, 0.0, 96.602540378 ),
                new CustomHexagon( "41", 70.0, 79.2820323024, 90.0, 79.2820323024, 100.0, 96.602540378, 90.0, 113.9230484536, 70.0, 113.9230484536, 60.0, 96.602540378 ),
                new CustomHexagon( "42", 130.0, 79.2820323024, 150.0, 79.2820323024, 160.0, 96.602540378, 150.0, 113.9230484536, 130.0, 113.9230484536, 120.0, 96.602540378 ),
                new CustomHexagon( "43", 190.0, 79.2820323024, 210.0, 79.2820323024, 220.0, 96.602540378, 210.0, 113.9230484536, 190.0, 113.9230484536, 180.0, 96.602540378 ),
                new CustomHexagon( "44", 250.0, 79.2820323024, 270.0, 79.2820323024, 280.0, 96.602540378, 270.0, 113.9230484536, 250.0, 113.9230484536, 240.0, 96.602540378 )
            EventHandler<MouseEvent> mouseClickedHandler = new EventHandler<MouseEvent>() {
                @Override
                public void handle(MouseEvent t) {
                    CustomHexagon h = (CustomHexagon) t.getSource();
                    System.out.println( h.getOverlayText() );
            for ( CustomHexagon hexagon : hexagons ) {
                hexagon.setOnMouseClicked( mouseClickedHandler );
            root.getChildren().addAll( hexagons );
            Scene scene = new Scene(root, 400, 400);
            primaryStage.setTitle("Example");
            primaryStage.setScene(scene);
            primaryStage.show();
        public static void main(String[] args) {
            launch(args);
    After running this program, when one clicks within the intersection of two StackPanes (borders shown by dashed lines), the target of the mouse click event will be the StackPane on top as determined by the order in which they were added to their parent.
    This is a problem because there is only a small "T" shaped area within each hexagon that when clicked will target that hexagon with an event, rather than adjacent nodes.
    I would appreciate any reccomendations to solve this problem.
    Thanks,
    James Giller

    Hello, this is an evergreen. Just call setPickOnBounds(false) on the CustomHexagon.
    An issue tracking this problem is open here: https://javafx-jira.kenai.com/browse/RT-17024

  • Get the tab page that the mouse clicked on using PLSQL

    Another canvas related question ...
    Is it possible to detect the tab page that the mouse clicked on
    from within a WHEN-MOUSE-DOUBLECLICKED trigger,
    SYSTEM.MOUSE_CANVAS returns the name of the tab canvas.
    However, I need the name of the tab page within the tab canvas
    thanks
    Scott

    resolved - thanks
    resolution notes follow:
    ========================
    I forgot to mention that I dont know the type of canvas at runtime,
    so the code needs to work for tab and non-tab canvases
    Unfortunately, calling TOPMOST_TAB_PAGE for a non-tab canvas results in an
    error that can only be suppressed using an ON-ERROR trigger
    (SYSTEM.MESSAGE_LEVEL wont supress it, nor will EXCEPTION)
    anyway, I resolved this via another related post that I raised today.
    "Determining canvas type using PLSQL"
    thanks anyway.

  • Opening New Browser window for click event on an image

    hi all,
    I want someone to help me out solving the problem of opening
    a new browser window on the mouse click event of an image or a
    button etc.... The new window would contain the datagrid details
    from the main window, but in an expanded form. If at all there is a
    solution, I even want to know whether there is anyway for sizing
    the poped up window,because I dont want the new poped up window to
    cover the entire screen.
    For getting better idea of my problem, the best example I
    could give is the popup window that appears when we click on the
    preview button while posting the message to the forum.
    Someone please do help me out in this regard.
    Thanks,
    amar.

    I'd definitely try to use a Flex popup... but the
    flash.net.navigateToURL method is a simple way to open a popup
    window in a new browser. You can pass any data needed by the new
    page using the URLRequest and/or URLVariables. The URL you navigate
    to could, of course, be another Flex application if necessary. I
    use this only when I need to open a popup window on another site,
    or an HTML formatter report or something similar.
    Concerning yourself with the size of the popup window may be
    a bad design choice also. I, for example, have my browser
    configured to open all popups in a new tab regardless of sizing
    constraints imposed by the designer. If it is absolutely necessary
    for you to have control over the size of your popup window, you
    should follow the advice given by others and use a Flex
    popup.

  • How can I (neatly) control mouse click events in a multi-dimensional array?

    Hello everyone!
         I have a question regarding the use of mouse clicks events in a multi-dimensional array (or a "2D" array as we refer to them in Java and C++).
    Background
         I have an array of objects each with a corresponding mouse click event. Each object is stored at a location ranging from [0][0] to [5][8] (hence a 9 x 6 grid) and has the specific column and row number associated with it as well (i.e. tile [2][4] has a row number of 2 and a column number of 4, even though it is on the third row, fifth column). Upon each mouse click, the tile that is selected is stored in a temporary array. The array is cleared if a tile is clicked that does not share a column or row value equal to, minus or plus 1 with the currently targeted tile (i.e. clicking tile [1][1] will clear the array if there aren't any tiles stored that have the row/column number
    [0][0], [0][1], [0][2],
    [1][0], [1][1], [1][2],
    [2][0], [2][1], [2][2]
    or any contiguous column/row with another tile stored in the array, meaning that the newly clicked tile only needs to be sharing a border with one of the tiles in the temp array but not necessarily with the last tile stored).
    Question
         What is a clean, tidy way of programming this in AS3? Here are a couple portions of my code (although the mouse click event isn't finished/working correctly):
      public function tileClick(e:MouseEvent):void
       var tile:Object = e.currentTarget;
       tileSelect.push(uint(tile.currentFrameLabel));
       selectArr.push(tile);
       if (tile.select.visible == false)
        tile.select.visible = true;
       else
        tile.select.visible = false;
       for (var i:uint = 0; i < selectArr.length; i++)
        if ((tile.rowN == selectArr[i].rowN - 1) ||
         (tile.rowN == selectArr[i].rowN) ||
         (tile.rowN == selectArr[i].rowN + 1))
         if ((tile.colN == selectArr[i].colN - 1) ||
         (tile.colN == selectArr[i].colN) ||
         (tile.colN == selectArr[i].colN + 1))
          trace("jackpot!" + i);
        else
         for (var ii:uint = 0; ii < 1; ii++)
          for (var iii:uint = 0; iii < selectArr.length; iii++)
           selectArr[iii].select.visible = false;
          selectArr = [];
          trace("Err!");

    Andrei1,
         So are you saying that if I, rather than assigning a uint to the column and row number for each tile, just assigned a string to each one in the form "#_#" then I could actually just assign the "adjacent" array directly to it instead of using a generic object to hold those values? In this case, my click event would simply check the indexes, one at a time, of all tiles currently stored in my "selectArr" array against the column/row string in the currently selected tile. Am I correct so far? If I am then let's say that "selectArr" is currently holding five tile coordinates (the user has clicked on five adjacent tiles thus far) and a sixth one is being evaluated now:
    Current "selectArr" values:
           1_0
           1_1, 2_1, 3_1
                  2_2
    New tile clicked:
           1_0
           1_1, 2_1, 3_1
                  2_2
                  2_3
    Coordinate search:
           1_-1
    0_0, 1_0, 2_0, 3_0
    0_1, 1_1, 2_1, 3_1, 4_1
           1_2, 2_2, 3_2
                  2_3
         Essentially what is happening here is that the new tile is checking all four coordinates/indexes belonging to each of the five tiles stored in the "selectArr" array as it tries to find a match for one of its own (which it does for the tile at coordinate 2_2). Thus the new tile at coordinate 2_3 would be marked as valid and added to the "selectArr" array as we wait for the next tile to be clicked and validated. Is this correct?

  • How can I capture mouse click events on BSP or Web Dynpro ABAP Screen

    hi Guys,
    Currently we have a user inactivity problem,
    the requirement is: if user is clicking on BSP/Web Dynpro ABAP screen, he/she is considered active. so we need an mechanism to capture the mouse click event.
    Using Firebug, we found that this js is in the iframe which contains BSP/web dynpro scrren: /sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    we want to find this js file & put in some javascript code to track user's mouse click, but i cannot find it on server.
    while in ie if we type http://host:port/sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    this file can be downloaded, means this file is there.
    Any one can help on this issue? find the js file or another way to capture the mouse click event.
    Thanks a lot with points!

    Hi  Feng Guo,
                        We can not capture mouse click events on Web Dynpro ABAP Screen . I am not sure about BSP. But as for as I know the portal keep active the iViews until unless mouse clicks happens.
    But for your problem I think you can get solution by setting iView Expiration to some more time period.
    Regards,
    Siva

  • HierarchyViewer mouse click event on expansion icon

    Hi,
    I'm using HierarchyViewer in an application. Could you please suggest if I can catch the mouse click event on the expansion icon ["+" sign appearing right below the node]?
    Thank you,
    Nima

    Dear Akash,
    Are you sure about Disclose Listener of the HierarchyViewer??
    I'm using Jdeveloper 11g (11.1.1.5) and HV component doesn't have such listener!

  • Mouse Click Event

    Hi, can any one tell me how to capture the mouse click event in the report ? For example suppose the user is double clicking in a perticular coulmn in a report output, I want to show him/her a message.
    Thanks
    Feroz

    Feroze,
    I think it is not possible to capture mouse click at report runtime. But you can use buttons in report. It will work.

  • A script that captures the coordinates of the mouse clicks and saves them into a file

    Hello,
    I'm trying to create a cartoon taking a movie (I've chosen blade runner) as base. I've got the real movie and I've exported all the pictures using VirtualDUB. Now I have a lot of images to modify. I would like to modify the actors faces with the faces generated by Facegen modeller. I'm thinking how to make the whole process automatic because I have a lot of images to manage. I've chosen to use Automate BPA,because it seems the best for this matter. I'm a newbie,so this is my first attempt using Adobe Photoshop and Automate BPA. I wrote a little script. It takes a face generated with Facegen modeller and tries to put it above the original actors faces. But it doesn't work very good and I'm not really satisfied,because the process is not fully automated. To save some time I need to write a script that captures the coordinates of the mouse when I click over the faces and that saves them into a file,so that Automate BPA can read these coordinates from that file and can put the face generated with Facegen Modeller above the original face. I think that Automate BPA is not good for this matter. I think that two coordinates are enough,X and Y. They can be the coordinates of the nose,because it is always in the middle of every face. It is relevant to knows how big should be the layer of the new face,too. This is the Automate BPA code that I wrote :
    <AMVARIABLE NAME="nome_foto" TYPE="TEXT"></AMVARIABLE>
    <AMVARIABLE NAME="estensione_foto" TYPE="TEXT"></AMVARIABLE>
    <AMSET VARIABLENAME="nome_foto">br</AMSET>
    <AMSET VARIABLENAME="estensione_foto">.jpeg</AMSET>
    <AMVARIABLE NAME="numero_foto" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_x" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_y" TYPE="NUMBER"></AMVARIABLE>
    <AMWINDOWMINIMIZE WINDOWTITLE="Aggiungere_layer - AutoMate BPA Agent
    Task Builder" />
    <AMWINDOWMINIMIZE WINDOWTITLE="AutoMate BPA Server Management Console
    - localhost (Administrator)" AM_ONERROR="CONTINUE" />
    <AMENDPROCESS PROCESS="E:\Programmi_\Adobe Photoshop
    CS5\Photoshop.exe" AM_ONERROR="CONTINUE" />
    <AMRUN FILE="%&quot;E:\Programmi_\Adobe Photoshop CS5\Photoshop.exe&quot;%" />
    <AMPAUSE ACTION="waitfor" SCALAR="15" />
    <AMSENDKEY>{CTRL}o</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMINPUTBOX RESULTVARIABLE="numero_foto">Inserire numero FOTO di
    partenza -1</AMINPUTBOX>
    <AMINCREMENTVARIABLE RESULTVARIABLE="numero_foto" />
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMMOUSEMOVEOBJECT WINDOWTITLE="Apri" OBJECTNAME="%nome_foto &amp;
    numero_foto &amp; estensione_foto%" OBJECTCLASS="SysListView32"
    OBJECTTYPE="ListItem" CHECKOBJECTNAME="YES" CHECKOBJECTCLASS="YES"
    CHECKOBJECTTYPE="YES" />
    <AMMOUSECLICK CLICK="double" />
    <AMPAUSE ACTION="waitfor" SCALAR="10" />
    <AMSENDKEY>{CTRL}+</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="20" />
    <AMSENDKEY>l</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMSENDKEY>v</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="131" MOVEY="99" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="99" MOVEY="162" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="release" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMINPUTBOX RESULTVARIABLE="coord_x">Inserire coordinata X</AMINPUTBOX>
    <AMINPUTBOX RESULTVARIABLE="coord_y">Inserire coordinata Y</AMINPUTBOX>
    <AMMOUSEMOVE MOVEX="200" MOVEY="200" RELATIVETO="screen" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMMOUSEMOVE MOVEX="%coord_x%" MOVEY="%coord_y%" RELATIVETO="position" />
    <AMMOUSECLICK />
    and this is a short video to explain better what I want to do :
    http://www.flickr.com/photos/26687972@N03/5331705934/
    In the last scene of the video you will see the script asking to input the X and the Y coordinates of the nose. This request is time consuming. For this reason I want to write a script that captures automatically the coordinates of the mouse clicks. The only thing to do should be click over the nose and the script should make the rest. As "c.pfaffenbichler" suggested here : http://forums.adobe.com/thread/775219, I could explore 3 ways :
    1) use the Color Sampler Tool’s input with a conventional Photoshop Script.
    2) use After Effects would provide a better solution.
    3) Photoshop’s Animation Panel might also offer some easier way as it might be possible to load two movies (or one movie and one image) and animate the one with the rendered head in relation to the other.
    Since I'm a totally newbie in graphic and animation,could you help me to explore these ways ? Thanks for your cooperation.

    These are the coordinates of the contours of the face that you see on the picture. Can you explain to me how they are calculated ? The coordinates of the first colums are intuitive,but I'm not able to understand how are calculated the coordinates of the second one.
    Thanks.
    1 COL     2 COL (how are calculated these values ?)
    307.5000 182.0000 m
    312.5000 192.0000 l
    321.5000 194.0000 l
    330.5000 193.0000 l
    335.0000 187.0000 l
    337.0000 180.5000 l
    340.0000 174.0000 l
    338.5000 165.5000 l
    336.0000 159.0000 l
    331.5000 153.0000 l
    324.5000 150.0000 l
    317.0000 154.0000 l
    312.5000 161.0000 l
    309.0000 173.0000 l
    307.5000 182.0000 l
    Message was edited by: LaoMar

  • Hello  Simple problem - don,t know how to solve it.  With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was de

    Hello
    Simple problem - don,t know how to solve it.
    With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was defective and went to get a new Magic Mouse after lots of frustration. Today, I have an edit to do it it does the SAME thing !!
    I was like ????#$%?&*(???
    Opened all the lights and taught I've trow the new mouse to the garbage and was using the defective mouse again... no !! - ??
    Actually, the bran new mouse is doing the same thing. What I understand after investigating on the motion and watching carefully my fingers !! -  is that when I click I have to keep my finger at the EXACT same place on the mouse... drag and release and it's fine. If I click by pushing on the mouse and my finder is moving of a 1/32th of a millimeter, it will release and my selection will be to redo. You can understand my frustration ! - 75$ later... same problem, but I know that if I click with about 5 pounds of pressure and trying to pass my finger through the plastic of the mouse, it you stay steady and make it !
    The problem is that scrolling is enable while clicking and it bugs.
    How to disable it ??
    Simple question - can't find the answer !

    Helllooo !?
    sorry but the Magic Mouse is just useless with the new Adobe Premiere CC and since I'm not the only one but can't find answer this is really disappointing. This mouse is just fantastic and now I have to swap from a USB mouse to the Magic Mouse every times I do some editing. My USB mouse if hurting my hand somehow and I want to got back to the Magic Mouse asap. Please - for sure there is a simple solution !
    Thanks !!

  • Is there a way to remove the mouse click splash that appears on See It!

    Can I remove the red splash that appears on the mouse click when playing back a recording in See It mode?
    The client thinks that it is not visually appealing.
    Thank you
    Edited by: dgmurphy on Sep 20, 2012 1:32 PM

    You can request new features in this forum: <br />
    http://webmailnotifier.mozdev.org/drupal/forum/
    But I don't think it would be possible, exactly like you described. An extension can't do anything until Firefox is opened and running. Plus the developer would have to create a different version for every Operating System he decided to support with a feature like that - Windoze, MacOSX, and Linux - to be able to use the "System Tray".

  • The mouse scroll wheel doesn't work with Xorg

    I recently installed Solaris 10 on my x86 box. One issue is that the mouse scroll wheel doesn't work with Xorg. Hmmm... Okay, it sometimes did work, and most of the time went on strike, and recovered at random. This pattern continued.
    My mouse is an ordinary PS/2 one with two buttons and a scroll wheel. I want to promise that there's absolutely nothing wrong with it per se. Here is some info:
    $ uname -a
    SunOS arbiter 5.10 Generic_127112-07 i86pc i386 i86pc
    $ grep -i mouse /var/log/Xorg.0.log
    (**) |-->Input Device "Mouse0"
    (II) LoadModule: "mouse"
    (II) Loading /usr/X11/lib/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    (==) NVIDIA(0): Silken mouse disabled
    (II) Mouse0: Setting Device option to "/dev/mouse"
    (**) Mouse0: Protocol: VUID
    (**) Mouse0: Core Pointer
    (**) Option "Device" "/dev/mouse"
    (**) Mouse0: ZAxisMapping: buttons 4 and 5
    (**) Mouse0: Buttons: 9
    (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
    # The section about mouse in /etc/X11/xorg.conf follows:
    Section "InputDevice"
            Identifier  "Mouse0"
            Driver      "mouse"
            Option      "Protocol" "auto"
            Option      "Device" "/dev/mouse"
            Option      "Buttons" "5"
            Option      "ZAxisMapping" "4 5"
            Option      "Emulate3Buttons" "false"
    EndSection
    # Note that the only result of explicitly changing protocol to ExplorerPS/2, PS/2, IMPS/2 or whatever else is that the cursor jumped here and there and everywhere when I moved the mouse.I ever post one in comp.unix.solaris to ask for help but got no effective solution. Thank you all.

    You remember correctly, Yvan.
    The 6.2.9 updater is available http://www.apple.com/support/downloads/appleworks629formac.htmlhere. Note that the updater is language specific. The one at the top of the list is for the International English version of AppleWorks. The US English version is the one in the box at the upper right, identified only by its file size.
    Regards,
    Barry

Maybe you are looking for

  • I have problems with the wi-fi connection after upgrading my iPhone to iOS 5- why?

    Since upgrading the software on my iPhone 4 to iOS5, I have had all sorts of wi-fi connection problems. The wireless router I have always used is now usually not detected by my iPhone. It still works on my MacBook and iPad, but not on my iPhone. When

  • Difference in stock values after MR21 updation

    Here the user has updated a material price using MR21 and after that he tried to execute the MB5L (stock balance MM-FI) to know the stock values in MM & FI records.  However, the stock values in MM does not tally with FI values.  There is a variance.

  • How to get the size of all InfoCubes and DSO's?

    Hi all, My client wants a complete list of all InfoCubes and DSO's in terms of size (no records but KB). This list of the Cubes / DSO's gives us a picture of the used storage per Area and can be charged. Iu2019ve seen some threats and looked into the

  • How do I delete dozens of messages from the same sender at the time. There must be a way. Thank you.

    I have not been able to check my messages for a couple of weeks. I now find myself with 315 messages, many from same sender. I want to delete most, but don't know how. There must be a way to delete all messages from same sender as many of mine are. P

  • Troubleshoot

    Because I like a challenge, I love to tinker and once properly up and running this machine will be more than powerful enough for producing music. Here is what I have and what I have done. I bought a Mac Pro 1.1 2.6 GHZ 8 Gigs Ram 250 G HD I have sinc