GetActivePanel seems to behave differently for ConfirmPopup / MessagePopup and FileSelectPopupEx

Hello

I have a GUI with a XY Chart and to change the style of mouse (by default against the hair) and indicate the coordinates of graphic I use a timer control where the callback checks the coordinates of graphic.

Because it can happen that a pop-up Panel appears, I also check the active panel is the current Panel to avoid having a mouse cursor focus on the pop-up Panel.

The code is as follows:

int CVICALLBACK MouseCursorTimer (int command face, int, int event, void * callbackData, int eventData1, int eventData2)

{

If ((événement == EVENT_TIMER_TICK) & (UtilityGetActivePanel () == sign))

{

the details of the graph using GetRelativeMouseState () and GetGraphCoordsFromPoint)

....

As expected, the cursor will move style according to the position of the mouse. If I view a panel using InstallPopup () (which appears on the top of my chart), the cursor will move if placed default style on the popup panel. So far so good and I was happy--until I discovered that the other popup panels may behave differently...

If I call ConfirmPopup or the cursor style MessagePopup mouse does not change, for example, it is shown as a focus, even if the mouse is placed over the popup panel.

Interestingly, FilePopupEx () behaves correctly. Somehow, it seems that the Panel handle returned by GetActivePanel () depends on the pop-up Panel function called... It is by design or can it be fixed?

Thank you

Hi Wolfgang,.

I slightly modified your program adding evidence when you set the cursor cross. It seems that the program sets the cursor again when navigating in the menu, even if the system is not honored by this parameter (it is probably correct that cursor remains that by default within the menu, right?). Question is why the system shows the cursor cross inside the pop-up window, but it is indeed honour your choice!

As you already put out, the problem checks according to the State of the cursor when the window is issued and is not the type of window: I've added two options in the menu to display a panel with InstallPopup and display it in a floating window with DisplayPopup. This last option is useful to see what is happening in various situations when the window partially overlaps the chart, and you can click on it when coming from the area of tracing and the rest of the main window.

It seems to me the system honors the cursor style when, within a Panel (perhaps because in this area, there are controls that could be exploited on, who knows?) while is shows the default cursor elsewhere.

Since when the popup appears the timer code is never executed and change of cursor is done by the operating system, I guess the only solution you must exclude the timer of the cursor when you use in the menu.

(you will see that I changed from 32-bit configuration: I wanted to check if that changes behavior, but it works the same way)

Tags: NI Software

Similar Questions

  • Expand/collapse PanelBox behave differently on wls integrated and stand-alone wls

    12.1.3 jdev

    WebLogic 12.1.3

    I have a test page which Expand/Collapse PanelBox according to a logic managed bean when a button is clicked. User can also manually click on the small triangle to open/close the group box.

    If I run my integrated weblogic Server page of jdev, everything works fine. PanelBox develops or reduced depending on the result of my bean managed after that I click on a button. After that I have manually expand/collapse it, by clicking the button again can expand or collapse the group box.

    But when I deploy my test on stand-alone weblogic server, by clicking on the button can expand/collapse the box. But if I manually expand/collapse the box for once, while clicking on the button after will not not expand/collapse the box not more.

    I check all the associated adf jars on integrated wls and wls autonomous. I have not noticed any difference.

    No idea why the same code behaves differently on different servers? Any suggestions that pot I should double check?

    Thank you.

    The difference has something to do with the doctors that we have configured on wls. We did the following and now the panelbox open/close correctly.

    1 Add a class to extend ComponentChangeFilter.

    SerializableAttribute public class RejectPanelComponentChangeFilter extends ComponentChangeFilter {}

    @SuppressWarnings("compatibility:-4979717484313581204")

    private public static final long serialVersionUID =-3565272558295489717 L;

    public RejectPanelComponentChangeFilter() {}

    Super();

    }

    Public ComponentChangeFilter.Result accept (ComponentChange, componentChange, UIComponent uIComponent) {}

    If (RichPanelBox instanceof uIComponent & "disclosed".equals (((AttributeComponentChange) componentChange) .getAttributeName ()) ") {}

    Return ComponentChangeFilter.Result.REJECT;

    }

    else {}

    Return ComponentChangeFilter.Result.ACCEPT;

    }

    }

    }

    2 and in the bean of backup of the page with panelBox on the PanelBox setter, follow these steps:

    {} public void setFinderCriteriaPanelBox (RichPanelBox finderCriteriaPanelBox)

    this.finderCriteriaPanelBox = finderCriteriaPanelBox;

    int filterCount = ((UIXComponentBase) finderCriteriaPanelBox) .getComponentChangeFilters () .length;

    If (filterCount == 0) {}

    finderCriteriaPanelBox.addComponentChangeFilter (new RejectPanelComponentChangeFilter());

    }

    }

  • Contextual menu tree different for parent elements and children

    Hi people, I'm trying to write a vi with a tree control... I was able to create a context menu for the item parent by right clicking on the tree-> Advanced-> Run - Time control-> context Menu-> Edit... However, I would like to create two menus, one adapted to the parent element and the other specific to the child elements... any help? Thank you

    I think you need to dynamically create your run menu according to the selected item in the tree control. You can do this by using the menu running events and the functions in the menu in LabVIEW.

    There is a palette for this:

  • Satellite 2450-201: OS seems to remain inactive for a period

    I've had my computer for about 4 years now, and while I understand that the system can start to not work properly, I was wondering if there is any way to fix the following problem.

    I formatted the hard drive using the software recovery on more than once and the computer still does not work how it is used for. It seems to stay inactive for a period and then work. There is no error message displayed and when it works, it seems still process information at a rapid pace.

    I was wondering if there may be perhaps reset regardless of the settings are not changed to factory settings when the format is done.

    It is really frustrating, are waiting for the computer to run a process at leisure aparent, help!

    Hello

    If you have installed the OS from the Toshiba laptop recovery CD was created to back factory settings!
    I think that the laptop hangs for a while during the access to the data on the HARD drive!
    Try to defragment the HARD drive and use some cleaning as TuneUp2007 tools!

    What to say that the laptop is 4 years then maybe the HARD disk performance slowly descends!
    This is not unusual, and finally, after a long period of use, the HARD disk may damage!

  • APEX 4.2 Radio Group NULL value behaves differently than on APEX 4.1.1

    DB version: 11.2.0.3 Linux
    APEX: 4.2
    APEX listener 1.1.4 on tomcat6
    Firefox 16.0.2

    Values NULL Radio Group behave differently than on APEX 4.1.1.
    4.2 creating radio group and selecting:
    Display Null value = Yes
    NULL, Display value = no value (or any string)
    NULL Return Value = (leave blank, for the NULL value returned)

    When the user selects that option 'No value', then APEX point value is set on "on", but on APEX 4.1, the element has the value NULL as expected.

    When you look at the Web page source code, the reason seems to be that APEX does not generate an attribute value for the NULL value (if the browser returns the default "on"):
    <input type="radio" id="P1_X_0" name="p_t01"  ><label for="P1_X_0">No value</label>

    Hi Ilmar,

    same thing here. The best solution I could come up with is to create a process to request again (before the calculation / validation)

    BEGIN
      FOR x IN (
           SELECT *
           FROM (
             SELECT item_name
             FROM apex_application_page_items aapi
             WHERE aapi.application_id = :app_id
             AND aapi.page_id = :app_page_id
             AND LOWER (aapi.lov_display_null) = 'yes'
             AND aapi.display_as_code='NATIVE_RADIOGROUP'
             AND aapi.lov_definition IS NOT NULL
             AND aapi.lov_null_value IS NULL
             AND ROWNUM > 0
        ) x
              WHERE LOWER (v (x.item_name)) = 'on'
      ) LOOP
        apex_util.set_session_state (x.item_name, NULL);
      END LOOP;
    END;
    

    Jens

  • Published movie behaves differently on the web than it does on the local disk

    Hello

    I use basic addEventListeners and functions to create a basis for my home page navigation... when I test the movie on my local drive it fuctions perfectly, but when I download on the www, the movie behaves different... All buttons must be clicked two time to work properly... each uses touch charger UI to load the .swf appropriate clip but on first loading movies do not work correctly, when the same button is clicked again and once again, the film is loaded, it works very well. I noticed does not work because I have a preloader for each video clip that loads and click it on the first, the second click it works and because it works fine on my local drive I'm lost as to what I can do to solve the problem, or what is the problem... Help, please!

    The project is published on: http://sunnysideosc.ca/mainBeta1.htmlif you click on one of the buttons more than once, you will notice the bar preloader only works during the second click on the second time and 'philosophy' of scrolling...

    Thank you;

    Sam

    Here is a basic example of loading in a SWF file, then use:

    var LoadedSWF:Sprite;

    function loadSWF (path: String): void {}

    var swfLoader:Loader = new Loader ();
    swfLoader.addEventListener (Event.COMPLETE, loadSWF_onComplete);
    swfLoader.load (new URLRequest (path));

    }

    function loadSWF_onComplete (event: Event): void {}

    If (LoadedSWF! = null) {}

    removeChild (LoadedSWF);

    }

    LoadedSWF = event.target.content as Sprite;
    addChild (LoadedSWF);

    }

    loadSWF ("MySWF.swf");
    LoadedSWF.myCustomFunction ();

    By operating the complete Manager, event.target is the Loader object. You can technically addChild the Loader object, but I'd rather not because it makes it easier to refer directly to my custom SWF, and because it can make it easier to fade in the loaded movie or other operations once it's finished loading.

    I know that what I just wrote is similar to what you have already, but I felt that it would be useful to give an example. By the look of your code, you seem to be reusing your Loader object. It might work if you used objects separated from Loader loading the separate SWF files better.

  • iOS10 live wallpaper behaves differently?

    Hi, I just got my new iPhone Plus 7 and it seems that the Live wallpaper behaves differently than in iOS9.

    Namely, in the old system (on an iPhone 6 more) by varying the pressure on the screen I can control precisely of the wallpaper Live playback speed and easily play to the front/rear.

    In iOS 10 (on the new iPhone 7 more) it seems that the reading speed of the Live wallpaper has no can be controlled by the pressure.

    Is this normal? Or do I use a screen may be defective? Thank you!

    Same here on iOS iPhone 7 10.0.1

  • Have I not a name of user and password different for each different mozilla page?

    Have I not a name of user and password different for each different mozilla page?
    FOR EXAMPLE. support.mozilla.org, or the services.mozilla.comaccount.
    I can't seem to find out what username/pw I used before on the latter and received no pw reset email that I asked (three times).
    Also, what is 'persona', and it is related somehow?
    Thank you!

    Sync is currently synchronize personal data to other devices.

    Who can be other profiles and/or versions of Firefox on the same computer or other computers and mobile devices.

    Some like to use Sync as a backup system to a computer and is not implemented reliably and can fail at any time, especially if you reinstall Firefox and you want to retrieve the data stored on the server.

    The services.mozilla.com web page is where you can check your sync account.

    This server does not support the connection through Persona (Persona no icon on the login page) and requires its own password.

    Persona is just a special way to authenticate on the Mozilla servers independently of the web page (Mozilla server or subdomain).

    This requires JavaScript transmit these data to back and forth between the servers, so that the server must support this way to authenticate.

  • CoverageInfo behaves different OS &gt; = 4.7

    I found that the CoverageInfo class produced different results on the new BlackBerry OS (4.7, 5.0), according to the JDE used to compile the application.

    Try to compile this piece of code for JDE 4.5 and run on a BIS device with compatible OS > = 4.7 (Storm, Storm 2, Bold 2)...:

    int status = CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_BIS_B;
    if(status == 0){
        System.out.println("No BIS Coverage");
    } else {
        System.out.println("Coverage OK");
    }
    

    Now compile it for a new OS (> = 4.7) and test it again on the same device. Surprised?

    I think that it is a serious problem, because this control is useful for determining if a BIS device has enough coverage to make connections.
    I have not tested CoverageInfo.COVERAGE_MDS yet because I don't have any active BES device available at the moment, but I suspect that the same thing can happen.

    I found that the problem was on getCoverageStatus, which behaves different from isCoverageSufficient. I replaced this line and now it works. Thanks to kyublin on this post for the discovery.

  • retention policies different for RMAN

    Hi@all,

    on our DB with RHEL 6 and Oracle 11.2.0.3.0 Server, we create the following backup with RMAN:

    -every day at the level 0 backup 23:00

    -daily at 05:00, 11:00 and 17:00 level 1 backup

    I activated this retention policy:

    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;


    Each backup is so obsolete after 7 days. We use the control file and catalog any recovery. We get backups so in front of the SLA.


    Now (in front of our physical disk space) I want to spend the retention policy to the following:


    -Fullbackups (level 0) should be obsolete after 7 days

    -incremental backups (level 1) should be obsolete after 2 days

    -arc. redologs should be obsolete after 7 days (I like to use LogMiner and especially I need newspapers in restoring arch in the last 7 days in our society)


    Is this possible in RMAN to set different retention for different types of backup strategies?


    Thanks for your help and best regards,

    David

    David_Pasternak wrote:

    I just tried to have a general question and explain with an example, so once again:

    I just want to know if I am able to set a different RETENTION STRATEGIES for various levels of backups.

    N °

    Now, if you want to know exactly how oracle will include in the scenario you are asking (how to do different types of backups behave in what concerns a retention of "redundancy" policy, I would suggest test you.)  I could knock out this test in 30 minutes approximately.  It would be good for your career (on many levels) for you to perform this test for yourself.

  • Is it possible to play different sounds for the emails and instant messages?

    Hello

    I was wondering if it was possible to play different sounds for the emails and instant messages. I use Thunderbird quite often with emails and instant messages imported from Gtalk.

    I think it would be very convenient to be able to distinguish the two sounds, because they do not involve the same things.

    Thank you very much.

    Olivier Hubert.

    There are only six modules of cat, three of them are on notifications. Choose the one you think will do the job for you. https://addons.Mozilla.org/en-us/Thunderbird/Extensions/chat/?sort=popular

  • Loop Finder crash after upgrading to El Capitan.  'Finder close unexpectedly when you use the plug-in finder' - the message really is in Norwegian, so it may be different for the English operating system.

    'Finder close unexpectedly when you use the plug-in finder' - the message really is in Norwegian, so it may be different for the English.  The e is a compatibility issue with dropbox or Google drive in El Capitan?  Those are the plug-ins only that I could find.  Thank you very much.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Different layout for phones BB10 and PlayBooks?

    Hello

    In point 4.1.2 Android, I use "provision" and "release page-sw600dp" files to differentiate the schema xml for phones and tablets. However I can't use it to 2.3.3 as they began to support such feature of 3.2. And anyway, it does not affect that android is concerned because there is no Tablet out there with Androd 2.3.3 of.

    But BB10 phones and tablets support only 2.3.3 runtime. So is there anyway that I can declare different presentation for phones and PlayBooks in a single application project? Otherwise, I need to make two different applications to phones and one for tablets. Please let me know what is the best way to support different screen sizes.

    Thank you

    Knockaert

    You can use the page-xlarge for PlayBook and layout for phones, as you would to support honeycomb devices and phones in one application.

  • WMP 12 crossfader improvement settings set to 10 seconds, but seems to work only for the last two seconds

    WMP 12 issue and crossfader

    I use WMP9 for about 2 years and the crossfader option worked
    perfectly. I recently got a new laptop (HP) which came with WMP12/W7. I copied
    all my wav/mp3/wma from my old laptop to my new and all of my
    playlists. When I now use WMP12, I crossfader set to 10 seconds, but most
    at the time, it seems that it works for all the last maybe second,.
    two. What can I do to find out why WMP12 on my system won't allow any more
    My crossfader for 10 seconds to work.

    Thank you!

    Joe...

    I downloaded the free version of monkey media , and he did all the things I used in WMP.  A transition, looking tacky to name a few (more, he in fact finds all my media) so for now, I'll move this product until MS fixes WMP. I'm not holding my breath ;)

    Joe...

  • OAM behave differently between IE and Firefox/Chrome

    I use programmatic authentication to enable and authenticate the user, but when the user runs an activation, the user passes through the

    Activation process:

    1. the user enters information base (name, e-mail address)

    2 web application generates an activation url and it automatically sends to the user

    3. the user clicks on the link and a web application opens and a pop place for new password and security issues

    4A in IE once the user sends the password and ask the user remains connected

    4. in Chrome and Firefox, once the user submits the responses and the password, the user is lgged out and displays a sign in page.

    I compared the newspapers, I don't see any errors, I also used a violin and I noticed that in Chrome and Firefox there is an additional OAM_ID cookie in the response.

    Someone saw a difference between IE and no behaviors IE browsers or have any suggestions to fix/GET this problem?

    -Ahmer

    IDM SK,

    I was on vacation the past two weeks and didn't see your response, however, we have solved the problem by changing the policy to exclude the pages associated with the activation URL. This seems to have solved the problem.

    Does not have full feeling for me right now, but it seems to work.

    -Ahmer

Maybe you are looking for