Activating a Window Without Focus

Hello,
I'm using LabVIEW 8.6, I would like to give an unusual behavior to a subVI window when opened: I'd like the window to be activated without giving focus to it. What I mean, is that I would like the window to be able to catch even on the front panel like keystroke or mouse click without giving focus to this window. I'd like the focus to stay on another window.
A good example of what I want to do is the microsoft visual keyboard installed with Windows: when the visual keyboard in open you can press any button without giving focus to the window. I'd like to reproduce the same behaviour with a labview window.
I don't think it's possible with properties or invoke node, I think there might be something to do with the use of user32.dll. If anyone as already done that, or knows how to do it, it would be great.
Thanks for helping.
Clément
DAM

Hi,
- Have you tried making the main VI modal? Steps are described in this KB
- To do this programmatically, you will need to use the lvwutil32.dll like here 
I googled your question and I found some good information this MSDN forum, I think it may help you to apply it to your code.
Hopefuly this helps.
Regards, 
Steve M.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions

Similar Messages

  • Mouse clicks on windows without focus

    Is there a way to recognize when a user is clicking on a defocused JFrame, to bring it to the front, as opposed to clicking to set a text cursor position within the JFrame? For example, if I click on a terminal emulator I've developed, the text cursor within the emulation window goes to the click, even if the emulator is only being clicked to give it focus. (I've also noticed a similar phenomenon with JBuilder, by the way.)
    By comparison, look at any native Windoze or Macintosh application; very few (if any) behave that way.

    This must be very hard for LabView to do.  I just need to use LabView to run another application. Then have labview emulate a mouse click on that application. I have found out the windows message using Spy++ for the mouse click.  Now in LabView I need to move the mouse to a certain position on that application.  How could LabView know where to move the mouse cursor.  I found some move cursor vi on this forum, then the coordinate of the position on the application (the active window) is not known.  Do I need to map out the position in advance using Spy++?  That seems not reasonable as later on the position may change. 
    LabView is indeed good for Hardware automation and data acquisition, but when it comes to performing some software automation tasks (i.e., runing a couple of other applications automatically), it doesn't seem to be powerful at all, unless the other applications are ActiveX capable, or you have their code to build Dlls.  Most of time, one only need to automate the process of running a couple of other programs, then have data presented.

  • Window without focus

    Hello!
    Can i build in Forms 11g window that will not get a focus by mouse?
    The window will show a canvas with buttons.
    Thanks!

    Resolved by myself.

  • OPENING A NEW BROWSER TAB/WINDOW WITHOUT NAVIGATING TO IT

    Hello there,
    I am using flex navigateToUrl( urlRequest, "_blank"); function to open a new browser window. What it does is it also navigates to newly opened window by default. I want to remain in the same page, but still open this new window without focusing it.
    Is there a way to do that
    Thanks.

    I would update your Adobe PDF plug-in first - it is 10.1.7.x and my version says 11.3.x) To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Hello  I have an I mac with Yosemite operating system.  I installed a windows seven 64 bit on it. also i have a parallels desk top with version 10. if i run my windows  without parallels my windows and my office is activated ,but if i run my parallel

    Hello
    I have an I mac with Yosemite operating system.
    I installed a windows seven 64 bit on it.
    also i have a parallels desk top with version 10.
    if i run my windows  without parallels my windows and my office is activated ,but if i run my parallels then my windows and my office can not be activated .
    My problem is activating my windows and office through parallels desktop .
    i had installed windows an parallel desktop several times ,also i installed several times parallel tools with menu bar in parallels desk top and when i am installing parallels desktop tools in any way i can see the (CTRL+ALT )
    all of my application in windows works properly through parallels desktop except 
    activation of office and windows .
    I do not no any solution for my problem , i need for helps .thanks 

    It is not W10, it is the Technical Preview version of W10.
    Search on the Windows forums (fora for the latinist) for activation in the TP W10.

  • Changing focus of windows without mouse click (X-mouse)

    X-mouse allows you to, with mouseover, activate and use windows without having to draw them to the front. So you can, for example, hover your cursor over a window that's only partially visible type to it without it coming to the front. It was one of my favorite add-ons in Windows (I used TweakUI to activate it).
    However, despite looking long and hard, I have not seen anything remotely like it available for Mac. I know that the capability exists, because occasionally it works automatically (for example within the Finder).
    Has anyone found a way to do this in Leopard?

    Thanks for the tips; I did know about them and use them frequently.
    My problem is that often I like to keep track of multiple windows, and it's just annoying to be shuffling through them all the time -- one is often just a background window that I want to type things into time and again.
    Well, I suppose I should write to feedback sometime.

  • Lightroom and Windows mouse focus issues.

    In one aspect Lightroom have been always behaving different from other Windows application: Its speed of grabbing mouse focus and moving window to the foreground is exaggerated. This problem will be observed only by people using their WinXP computers in "X11 mode", like with Unix, what allows to perform interaction with processes associated with windows without ever clicking on, or raising such window. Should you be working on large computer clusters as I do, this focusing feature its a blessing.
    This how you can reproduce: Use Tweak UI to adjust the mouse behavior. Select "Mouse," step down to "X=Mouse" and check "Activation follows mouse." Do not select "autoraise."
    Now your WinXP will behave similar to the real X11 xterm with mouse having the "no raise selection" policy. Its not quite identical to xterm, but it really works perfectly in most cases.
    Except... well, except with Lightroom. Lightroom grabs the pointer and pushes the window to the foreground in splits of a second. For example, go to
    "Help|About Adobe Lightroom" to see the credit window. It appears than as usual, but since the help menu will be dismisses, the pointer stands on the main Lightroom window, what makes the credits window vanish in split of a second. No chance to see it!
    Another case: Assume that Lightroom uses almost the entire desktop down to the task bar, and your browser window is smaller. Select the browser on the taskbar and try to move mouse to it. No chance! Lightroom will take over and pop itself to the foreground again. The only solution is to minimize Lightroom. And than sometimes something happens that Lightroom will not restore itself anymore! The "Restore" operation is grayed out, one can only Maximize it. We have reported this numerous times before.
    I am aware that this problem relates only to WinXP users with X11 mouse mode, but with Lightroom reaching now a high degree of maturity, maybe we could take a look at this problem as well?

    In order to overcome most of the known navigation and/or focus issues you need to be using the following:
    <li>Forms 10.1.2.3 or newer (latest is 11.1.2). If/when you are using 10.1.2.3 you would also need to install patch ID 9593176 as this contains additional fixes for focus issues.
    <li>JRE 1.6.0_26 or newer (latest is 1.6.0_30). The latest is always recommended as it contains the most up to date fixes for both technical issues and security issues.
    Patches are only available on MyOracleSupport: http://support.oracle.com

  • Disabling Active call window...cupc 8.6

    Question from one of my users...is there a way to disable the active calls window when the user is on the phone?
    I just got an earful about how annoying this is...
    Thanks in advance for any advice...
    ~Ray

    Not without disabling deskphone/softphone control and turning CUPC into an IM&P-only client. If you wanted to go that route you would want to disable the CTI, CCMCIP, and Audio profiles within the CUP Admin > CUPC/Jabber > User settings.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Activation from Windows 8 Pro to Windows 8.1 Pro

    I  generally use Windows 7 Home Premium in my Acer 4738Z and my old Acer is broken.
    so I buy a new Acer E1-410 (and bla-bla in a nutshell) my new Acer E1-410 can't use Windows 7 it must uses
    UEFI system (in my previous post http://social.technet.microsoft.com/Forums/windows/en-US/0da6bd1f-ee2c-45c1-91cf-1f1d9d0595f5/how-to-install-windows-7-home-premium-32bit-with-no-legacy-option-in-bios-setting-just-uefi-in?forum=w7itproinstall#cb3f8d18-3d61-41de-8ba3-9eaef87f5849) 
    So I WRONG ? To buy Windows 8 Pro Upgradeable Only (and before you announce Windows 8.1 Pro)
    But FINALLY I can install my new Acer E1-410 in Windows 7 Home Premium (with flash bios to active thier Legacy IDE Boot) and UPGRADE to Windows 8 Pro. (FINISH).
    I already ask Microsoft Indonesia by phone to check my product key on windows 8 Pro genuine they said yes it's "only upgradeable" and YES it is genuine.
    and finally these my problem:
    They said to I CAN FREELY Upgrade to Windows 8.1 by Microsoft Store
    so I wanted to upgrade to Windows 8.1 Pro to why not ?? You give me free :) ,...
    But without any knowledge how to that (My Windows Store doesn't have store icon
    to Upgrade to Windows 8.1 Pro).
    So I google2xxxx  how to UPGRADE to Windows 8.1 Pro
    finally I desperate and I download Windows 8.1 Pro ISO (maybe/must be pirate one) from torrent
    and fresh/clean install to Windows 8.1 Pro (WITHOUT UPGRADE form Windows 7.1 -> Windows 8 Pro)
    OFCOURSE !!! I KNOW IT CAN'T BE ACTIVATE with my older Windows 8 Pro Product Key
    So i ask you :
    1. What are the disadvantages if I NOT activated my Windows 8.1 Pro ?
    2. It's true i can uses all application (on desktop) without any disadvantages ?

    Hi,
    There are many limitations when the windows is not activated, for example, personalization settings section is disabled as below:
    The disabled settings include:
    •Your lock screen wallpaper and apps
    •Start Screen color and background
    •Your account picture
    You need to activate Windows before you can personalize your PC and every couple of hours, you'll see a full-screen activation request:
    The application is available to use, but I suggest to run the genuine Windows and activate it, because it is legally protected.
    Regards
    Wade Liu
    TechNet Community Support

  • Cucm 9.1.2 and Active Directory(Windows Server 2003 Standart Edition SP2)

      Hello!
     Can CUCM 9.1.2 support an integration with Active Directory(Windows Server 2003 Standart Edition SP2)? How do I have to write down LDAP Manager Distinguished Name? I can find supporting only Active Directory 2003 in documentations without reference to Operation System.

    Yes, it is possible.
    Check this how-to if you have any doubts about the process.
    http://blog.ipexpert.com/2010/04/28/cucm-and-active-directory-integration/
    http://www.markholloway.com/blog/?p=1189

  • Force Quit a file copying dialog window without Relaunching Finder?

    Is it possible to quit a process in the Activity Monitor or in Terminal to stop a Copy process and close the copy process window without Relaunching the Finder?

    I have 10.5.4 and I still can't copy anything. Most of the time, it hangs on "preparing to copy" and sits there forever. I've looked and searched on this forum and apparently many people are having this problem and there are no solutions!!! Why can't this OS do something as simple as drop and drag, or copying items from one place to another?? The only way to get out of this is to hold power button down on computer, and that's got to be not good.

  • Problems with titler window losing focus

    I'm using PP2.0, running on windows XP x64. It's been running since it was last re-installed in December 2007 (after a problem with codecs that broke PP2), and I've made no changes to it or to any of the support processes it uses, nor any changes to the OS (apart from service packs). There have been NO driver changes, window layout changes, workspace changes, or any other changes (apart from entropy). The mouse I'm using is a [oxymoron]Kensington Expert Mouse Pro[/oxymoron], with their latest (i.e. 2007) drivers, and XMouse ver 1.37.0.0 (i.e. their latest x64 driver), but this happens regardless of the mouse or keyboard I use.
    To set the scene... I use a "standard" title template for all my video work, with predefined text fields and colours and so on. There's nothing bizarre or extraordinary about these templates, they're actually super simplistic in terms of what most users here use their titlers for! The entire title is completely static - there are no scrolling or moving anythings, the title is overlaid on black video, there are just a dozen simple text boxes and one standard logo (bmp format), that's it. I use only Arial fonts, with no special settings or kerning or spacing or anything more complex than colour. I haven't touched or modified the original titler template since I set it up in December 2008. The problem I'm seeing happens to any titles, not just the known working template, so it's definitely a PP2 problem, not a titler problem.
    The problem is that recently (in the past 3-4 months, over maybe 5 projects in that time) the titler window loses focus while I'm using it, and the PP2 main application becomes active.
    When I bring the titler window up (using any method) and start editing, that window loses focus (window frame reverts to the background windowframe colour) and I can't type or do anything else in the titler window.The PP2 app window suddenly become the active window, and remains active until I shut down the titler.
    My workaround is to click and hold in the titler window, on or around the text I want to edit. So by pressing and holding the left mouse button, I can insert text just fine in any existing text frame. And by selecting text with the left button and then holding it (like I'm starting a drag operation), I can _replace_ the selected text - but as soon as I release the mouse button, the focus leaves the titler and I can't do anything again.
    I've reset the workspace, changed mouse and keyboards, but the problem isn't a hardware or driver issue. PP2 is the only application that behaves like this, and it's the only Adobe application that behaves like this - Photoshop (5.5 and CS8) and Audition (1.5 and 3.0) all work perfectly normally.
    This behaviour occurs with titles I've used and saved in previous working projects, it happens with new blank titles, and so on.
    What I've noticed most recently while trying to fix the problem, is that sometimes I can actually type a couple of letters or hit an editing key or two in the titler window normally, but then the titler loses focus and keeps it lost permanently after that. That doesn't always happen, and it doesn't appear to be related to process flow. So restarting PP2, or closing and reloading a project, don't affect the arbitrary nature of the "sometimes starts to work" behaviour. I can sometimes re-edit a title in the same project after editing the title with the focus lost, and suddenly the first few keystrokes are normal, but then the focus reverts to the main app.
    If anyone has any ideas or suggestions to try (apart from reinstalling the application again or upgrading), I'd be most grateful.
    -PCPete

    I think you're right, it's starting to look like another problem within the "new" PP2 installation. It's such a complex app, it's not surprising it gets lost.
    Since this is the only app that has this problem (and because of the nature of the problem), I know it's not a graphics card or driver issue.
    This appears to be a high-level windows function problem, to do with the way the PP2 app is handling the modal form. It's probably not the mouse driver, since I don't move the mouse outside of the child window, but that doesn't leave much else. I don't have popups or any other asynchronous applications (like email warning windows or balloon-type reminders or notifications) either.
    I really don't want to go through the horror of yet another reinstall of an Adobe product if I can possibly avoid it, but pending no other useful ideas, that is an absolute last resort.

  • Activating a window on mouse hover

    Hi:
    Is there any tweek or app for activating the window that is under the mouse (without actually clicking that window)?
    thaks in advance.

    There once was, but I don't think there's anything working with Mountain Lion, but you can search for it at MacUpdate or .CNET Downloads

  • When you run the Adobe Creative Cloud opens a blank window, without authorization...

    When you run the Adobe Creative Cloud opens a blank window, without authorization, without a list of programs, just empty, as in the screenshot

    Hi Vetal1000 ,
    Welcome to Adobe Forums
    You can use the below mentioned links for solution -
    http://forums.adobe.com/message/5509684
    or
    http://forums.adobe.com/thread/1251577
    Let us know if that helps !
    Thanks
    Garima

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

Maybe you are looking for

  • ITunes refuses to open... and I've tried everything.

    Until tonight, iTunes had been functioning normally... and now it simply will not open, no matter what I do. I've spent the past two hours going through every possible solution on both of the following pages: http://support.apple.com/kb/TS1421 http:/

  • HELP!!!!! JSP and Java Script

    Hi, I have a JSP file that I need to create 3 drop lists (choice list). If one of these 3 choice lists is selected, then the other 2 need to deselected and disabled. I need help with the code. Do I use JavaScript or Java? Below is the html code. I wo

  • REP and RWB show the message "Application cannot be started!"

    The repository and the RWB are not starting. REP Details:   com.sap.engine.services.deploy.container.ExceptionInfo: Container metamodelrepository is not active at the moment and it is not possible to startApp sap.com/com.sap.xi.repository RWB Details

  • DVCPROHD Quicktime Footage and Adobe Premiere CC (Windows)

    Hi All, I've come across a problem today and I was hoping some of you may have some ideas to help me fix it. I have a project, a feature length film, that was edited years ago using Final Cut Pro 6 on an old Power Mac G5, my old editing machine. In F

  • PS CS5 Mac freezes on launch

    My ps and ai freezes when i launch them both. The both show the default screens, but I can't click anything, and it simply says application not responding. i've tried reseting the preferences as recommended by some, no luck. I'm still rather new to u