Return the focus to the main window of VI

In fact, the scenario is a little more complicated than what is described.

There is a main VI has a user interface that uses a Structure of the event to capture / process the events of the operator.  This same main VI also called live dynamic.  One of them has its own Structure of the event.  The code for the two screws was developed using LVOOP.

There are shortcut keys associated with the main vi.  However, given that the main spaws Dynamics Dynamics VI VI VI is the active window.  As a result, all keyboard events are processed by the Structure of the event of dynamic VI (of course).

However, when a keydown event is raised, it should be captured by the main VI.  The architecture of code cannot be changed.  What would be an appropriate method to make the main VI window active (so able to handle keyboard events) or be able to transmit events keydown event captured the main VI without a redesign of the architecture?

Some ideas would be to register for outdoor events (which are sent to the hand) and create a keydown event in dynamic VI.  This may require the implementation of a queue.  Or because the code uses LVOOP, and then creating a lvclass to handle keydown events may be the way to go.

I just want to get some feedback on potential "gatchas" which can hide when you try to implement a solution.

Or maybe there is something simple that I've not taken into account.

Thank you

RayR

Don't know much about your LVOOP, but I guess you know VI, FP. Run - Time.Minimized, to reduce to a minimum the dynamic VI of VI of the hand or the dynamics VI himself.

Or you can use the Application method "Bring forward" after spawning dynamic VI. This will give the main VI keyboard back focus. I believe in KISSING.

Tags: NI Software

Similar Questions

  • Windows appear on the taskbar, but won't focus, other 3 goes, only 1 that seems to be the main window is not found

    Windows appear on the taskbar, but won't focus, other 3 goes, only 1 that seems to be the main window is not found

    ALT + tab select window; ALT + SPACEBAR; maximize; sigh

  • Write the window covered by the main window of TB on Mac

    I am a novice Mac user, so maybe this isn't a matter of TB, but I hope that others have understood how address. When I click on write to compose a new message, the new message composition window opens and everything seems normal. If however, I need to return to the main window of the TB, the window of writing (new message composition) withdraws in the background (as it should). When I try to return to the window of writing, I can either reduce or close the main window of TB to search entry window. The command - Tab key sequence shows icon of 1 TB, which is the main window. In Windows, the writing and the main window of TB show in the Alt - Tab sequence with each window having the same ability to manage. Is there an easier way to navigate back from writing to the main window without having to close or minimize Windows on the MAC?

    If you click on Cmd-' on the keyboard, you should be able to switch the focus to the window with any application that uses several windows.

  • iOS 9.3.1 Mail App crashing on the main window - a SOLUTION. Can be linked to rogue/spam email

    I had a problem with Mail crashing several times today and was close to restore my phone but am happy that I stumbled upon a solution until I did it!

    I'll copy / paste of the other post I made on the discussion board:

    I had a problem this morning with the Mail App unexpectedly crashing when opening on my 5s iPhone running iOS 9.3.1 (last updated).

    In case someone knows something similar, I found a solution that was remarkably easy.

    Trying to open a mail, the app would show the display of messages for a fraction of a second, and then the crash. Nothing worked - quit smoking and a retry of the app, reboot / hard re-boot of the iPhone, leave all specific applications, disabling of e-mail accounts, settings etc.. I was beginning to think that I have to do a hard system restore, but thank God I have not, as it is a major PITA and I found the unexpected solution.

    In any case, I noticed that I could get in Mail by opening one of my emails from the Notification screen. Everything seemed fine, but if I close this message to return to the main window of Mail, the application crashed once more. The main window is appeared to be the culprit. I noticed that several new Spam messages were visible on this screen this morning.

    So here's how I found the solution: my computer, I myself sent a priority email, which came on my screen of notifications. By using this link directly to open the message, Mail worked fine again. Then by using the arrows to zip directly from a message to a message, I worked my way through the new emails, including the unrecognized Spam I deleted. Once they were gone, I back-arrow in the main screen of Mail and Voila! No more crash.

    So, apparently, there are messages that can crash the Mail app on iOS 9 simply by being visible in the main window. Be aware of this and if this happens to you, with Mail blocks instantly whenever you open it, try this approach before restoring your system software.

    You could also try resetting your e-mail account. First close your Mail application completely from the window of the selector app by double clicking the Home button and drag the email preview pane up until it disappears from the display. You may need to search the mail pane covering scribbles to the left. Then go to settings > Mail, Contacts, calendar > find your e-mail provider and click on the account. On the next page, delete the account. Then perform a forced reboot. Hold down the home and Sleep/Wake buttons simultaneously for about 15-20 seconds , until the Apple logo appears. Then go to settings > mail... and to add the account.

  • Portege R700 - fonts in the main window of AuthenTec Truesuite changed

    Hello

    I installed on my Toshiba Portege R700 AuthenTec Truesuite version 3.0.1.149. After two days of good performance the police in the main window changed, becoming impossible to read. No doubt, I have change some settings in Windows and, also, this font has changed because of course I change anything in your application. Bearing in mind that my OS is Windows XP Professional SP3, pelse be so kind and help me with a solution to return to standard fonts.
    I uninstalled applications records, cleaned, reinstalled software package downloaded from the Toshiba site, request

    Thank you

    Best regards

    Cristian

    Can send you a link where you can see the screenshot?
    I mean for a better understanding.

  • Portege R700 - fonts in the main window changed

    Hello

    I installed on my Toshiba Portege R700 AuthenTec Truesuite version 3.0.1.149. After two days of good performance the police in the main window changed, becoming impossible to read. No doubt, I have change some settings in Windows and, also, this font has changed because of course I change anything in your application. Bearing in mind that my OS is Windows XP Professional SP3, pelse be so kind and help me with a solution to return to standard fonts.

    Thank you

    Best regards

    Cristian

    Hello

    I assume you mean on the fonts in Internet Explorer window.
    Right?

    Please check the display option in the menu bar. Zoom must be set to 100% and Textsize must be set to medium.
    In addition, you can check the settings in the control panel-> display-> appearance tab
    There is option called the size of the font. In my case it s set to normal.

    Give it a try.

  • bug: disappears from the main window

    I also have a repetitive bug to report, well in version CVI 2013 and 2012 of the CVI.  Installation program:

    (1) open a project

    (2) open some windows to exit (the search results, exit build, Debug Output, etc., in no specific order)

    (3) version, one of those windows

    (4) now to minimize the main window of the IDE

    (5) now if you Alt + Tab away from and back to LabWindows, the main window will not restore.  The other windows will be on the contrary.

    I have a Setup dual monitor on my Windows XP machine.  Not sure if this is part of it.  My office is split between the two monitors.

    The problem is that, once you have maximized the window workspace, leaving only the small window visible, CVI remembers it's your preferred window combination: a minor windows visible and minimal workspace. Switch to a different application, and then return to CVI (via Alt + Tab) does not change this combination.

    This is different from what happens usually when you shrink the last window of a multi-window application. When you do this, you are effectively minimizing the application itself, and not a single one of its windows. This distinction is not always obvious but, depending on the operating system is concerned, they are indeed different actions. When the application itself is reduced, then it will be restored by simply Alt + Tab in the application. But when an individual window is reduced, this window is not automatically restored. In your case, when minimize you the window workspace, you reduced that window, not the entire application.

    When this situation occurs, you will usually need to explicitly restore the individual window in the taskbar. Depending on your operating system, can sometimes be difficult to find. For example, in Windows 7, you must hover over the button on the task bar of the ICB for a second or two, wait for the button of the window reduced to appear above it. Once it does, you can click this button and select "Unminimize"... ».

  • Contacts are still in the main Windows mail Contacts, but they disappeared from my contacts list when you create a new message

    After a system crash, restore, all my contacts are still in the main window of Windows mail Contacts, but now when I create a new message and click on 'To', all contacts have disappeared from my list of contacts. How to make their return in the list without having to re-enter them one by one which would take forever? I am running Vista Home Premium.
    Thank you.
    DC

    Hello

    Try the following article, it can be applied as happened after the restoration:

    http://support.Microsoft.com/kb/934563

    You can also export and re - import their contacts. See the link below to do so.

    http://Windows.Microsoft.com/en-us/Windows-Vista/import-export-or-change-the-format-for-contacts

  • Close, minimize and resize buttons are inactive on the main window

    My email client is the beta version of 41. I just upgraded the sys op to version 10 of Windows version 7.

    The close, minimize and resize buttons are inactive on the Thunderbird main window when running on Windows version 10. These buttons are active on other windows such as the address book and new message. Ctrl W keys work on the main as Alt and then exit.

    Is there a reason that the buttons are inactive on the main window?

    https://support.Mozilla.org/questions/1082823

  • Shortcut Ctrl C does not work in the main window of Firefox

    I use Firefox version 38.0.5, Windows 7
    Since the update Ctrl + C shortcut does not work in the main window of Firefox. (I can't copy text from any website using Ctrl + C).

    Click right and using the copy in the menu works perfectly. CTRL V and Ctrl X work fine without problem.

    Ctrl C works fine when copying text from the address bar and search bar, I just can't copy anything from anything in the main window of firefox.
    

    I tried to run Firefox in safe mode, I have also reset firefox and a virus scanner, but nothing has solved the problem.

    If anyone has any suggestions, that would be great. Thank you

    See:

    • bug 1173979 - copy Ctrl + C is broken in the last Irish FF 38.0.5

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • Disappears from the main window of the activity monitor

    I'm under El Capitan 10.11.5, 15F34 build on an iMac (retina, 5K, 27 inch, mid-2015). If I open the activity monitor, I get the CPU usage, but the main window will briefly appear and disappear. If I minimize and restore, I also get it for a fraction of a second and then it seems to fall back on the dock. The history of CPU option (cmd 3) is grayed out, although I can get it as the icon in the dock.

    My question, then, is what caused this problem and how to restore to normal activity monitor?

    Please read this message before doing anything.

    This procedure is a test, not a solution. Don't be disappointed when you find that nothing has changed after you complete it.

    Step 1

    The goal of this step is to determine if the problem is localized to your user account.

    Select the feedback connections* and log in as a guest. Do not use the Safari connection only 'user comments' created by 'find my Mac '.

    While signed in as a guest, you will have access to your documents or settings. Applications will behave as if you use them for the first time. Do not be alarmed by this behavior; It's normal. If you need any password or other personal information in order to complete the test, save, print, or write them before you start.

    Test while signed in as a guest. Same problem?

    After testing, log on to the guest account and in your own account, disable it if you wish. The files that you created in the guest account will be automatically deleted when you log out of it.

    * Note: If you have enabled 'find my Mac' or FileVault, then you cannot activate the guest account. The login 'User comments' created by 'Find my Mac' is not the same. Create a new account to test and delete it, including his home folder, after testing.

    Step 2

    The goal of this step is to determine if the problem is caused by changes in the system of third party that load automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.

    Please take this step regardless of the results of step 1.

    Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.

    Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.

    The login screen is displayed even if you normally connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.

    Test in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of steps 1 and 2.

  • new links will be open in a tab, only in the main window

    with firefox 21, links will not open a new tab, only in the main window. I put the option of opening tab, but it still does not work

    The setting in Firefox/tools > Options > tabs: "new pages should be opened in ': 'a new tab/window' is for links that specify a target window to open the link.

    This option allows to divert these links into a new tab instead of a new window.

    Links that do not specify a target will open in the current tab if it does not change JavaScript.

    If this is not the case then you can have an extension interfere.

    For links that do not specify a target, use a middle click or hold down the Ctrl key and click the link or use the context menu to open the link in a new tab or window.

    This applies to the bookmarks and other links so that you can click the view Image in the context menu of an image or click on the address bar to get a new tab with this link, the Reload button.

    Click on a JavaScript link to avoid having a blank tab.

  • When I click on a bookmark, it opens in the bookmark sidebar, not in the main window.

    I want a selected bookmark to open in the main window when I click on it (as it has always done before)

    Bookmarks that open in the sidebar is the default value for the bookmarks created via a link or a button on a Web site to add a bookmark for this site.

    • Check the properties of a bookmark using the context menu in the side bar (Ctrl + B; Cmd + B on Mac).
    • In the Bookmark Manager (Bookmarks > show all bookmarks) you can click on the button more in the lower details pane on the right.
    • To ensure that "Load this bookmark in the sidebar" is not selected (uncheck it).
  • How can I move the tabs back above the main window and below the bar "awesome"?

    I would go back to the previous version of Firefox. I want my tabs immediately above the main window, below the URL bar, and I do no like the "Save password" option appearing in the reading area.

    You are welcome. Other users can view this message in the future for any reference, please click RESOLVED.

  • How can I check my window of downloads as a tab in the main window

    How can I check my window of downloads as a tab in the main window

    This has happened

    Each time Firefox opened

    https://addons.Mozilla.org/en-us/Firefox/addon/256/

  • Error - in Windows XP the external monitor laptop becomes primary, but Explorer windows do not go to the main window.

    Original title: xp laptop lidswitch and extended mode.

    I have xp laptop. I connect external monitor and set it to the extended mode with my laptop LFP as main and external monitor as secondary. Configuration of the power for the closure of the cover option as long as "do nothing".  Open an Explorer window and drag extended display. Then close the cover. The external monitor becomes primary, but the Explorer windows do not go to the main window. They are always extend on even though the extended mode is it more. Is this a known problem with XP? Anyone know? Thanks for your help...

    Hi jt_pan,

    Try to share the desktop on two monitors.

    For more information, refer to this link: How to configure and use multiple monitors in Windows XP?

    Hope the helps of information.
    Please post back and we do know.

Maybe you are looking for

  • Installation of Thunderbird does not recognize my password administrator or current user

    I downloaded Thunderbird and try to put in place through the wizard. After having extracted a window asks my administrator password or to sign as current user... I tried them both. Thunderbird says 'connection failed. Unknown user name or bad passwor

  • Get the f keys only works when I press Fn

    I'm a gamer and when I press on my f keys they work normally, but I want that it to where I have to press fn then the function, because it is very annoying when I press f1 and the help screen appears in the middle of a game.

  • HP Officejet 6500 709 a

    Well the back doesn't scan any image! driver failed trying to relaod... need help pronto! "January 25, 2012: She asks that I reinstall the device driver, but I have to do this several times without attempterd sucsess. It seems to be a delete and rein

  • The display brightness is automatically defined by content screen brightness?

    Additional for my other problem with the brightness of the screen I also have this question: Battery operation, it seems that the display brightness is automatically adjusted by the lightness of the contents of the screen. For example if I start a pr

  • How Internet IP address with the Linksys BEFSX41 router pings?

    Hello. Does anyone know how to let my Internet IP address responding to pings from the outside with this model of router? I can't seem to find the option to set (the configurations of way more than my old Netgear RT311). I couldn't find it via Google