Problem of Style window Win API WS_EX_NOACTIVATE

Hello

I have a requirement for an application that the window is not activated. That means that when you click on the window, it isn't flying goal away from the last window you were active. This normally is not really a problem. I use the window API SetWindowLongA function in User32.dll and pass WS_EX_NOACTIVATE and all other styles that I wish to pay at the same time. First, I tested in a Visual c# .NET form and everything worked fine. I then wore the same function calls through to LabVIEW (please see attached). For some reason, even though the following window styles are applied (if you have Spy ++ or WinID you can see for yourself):

WS_VISIBLE
WS_CLIPSIBLINGS
WS_CLIPCHILDREN
WS_BORDER
WS_DLGFRAME
WS_SYSMENU
WS_THICKFRAME
WS_MINIMIZEBOX
WS_MAXIMIZEBOX
WS_CAPTION
WS_OVERLAPPEDWINDOW
WS_EX_WINDOWEDGE
WS_EX_NOACTIVATE

The WS_EX_NOACTIVATE style does not behave as it should when it is applied to a LVDCHILD (VI window).

My attached VI apply the same styles to a generated form .NET LV. It behaves exactly as expected.

Clearly, the code is correct, that I must just be missing something because of how LabVIEW creates its windows?

Please if someone could give advice on how to achieve the desired no window can be activated in LabVIEW there would be greatly appreciated.

Steve.


Tags: NI Software

Similar Questions

  • I am trying to install an update to iCloud on my Win 7 PC and I get an error message that there is a problem with my windows install. How can I solve this problem?

    I am trying to install an update to iCloud on my Win 7 PC and I get an error message that there is a problem with my windows install. How can I solve this problem?

    Hello grandpa_bill,

    Thank you for your participation in the communities of Support from Apple.

    If you get an error when you install an update to iCloud for Windows, try to download the latest version of download iCloud for Windows.

    For more information, see get help using iCloud for Windows.

    All the best.

  • Remove the child window Parent using WIN API

    Hi all

    For a parent-child relationship between two screws using the User32.dll I use the SetParent function and pass the handle of the parent VI and VI child to this function. Now, after this relationship has been established, I want to remove the child from the parent window and use it as an independent VI using WIN API. Can someone help me on this?

    Thanks in advance!

    Fragger Fox!

    Hi Fragger Fox,

    I think that it should be possible, if you assign a new parent to the child. Maybe this works if you assign the desktop as a new parent.

    It will be useful.

    Mike

  • Recovery problem Satellite L505-110 Win 7 64 bit

    Hello

    I have a laptop Toshiba L505-110, Windows 7 64 bit Turkish and he began to slow down recently, so I want to recover windows 7, but in some Turkish forums, guys who have tried recover like that, facing a problem.

    The problem is that Windows 7 has been set up on the computer as a 32-bit.
    I had not given a dvd of the operating system of W? ndows 7 64-bit and he said that we could easily do our own recovery DVDs using toshiba recovery media creator.

    I made 2 recovery DVDs, but now I'm afraid that I have Windows 7 32 bit if I recover Windows.
    I bought this computer because it had windows 64-bit and I paid the price if I want to continue with it again...
    It has been a year since I bought my PC.

    What should I do to recover my operating system such as Windows 7 64-bit again?

    Thank you very much for your answers.

    Hello

    The operating system was preinstalled is WIN7 64-BIT HOME PREMIUM & you also got the 32-BIT DVD
    Therefore, if you create the recovery disc, then the disc should contains Win 7 64 bit.

    I think you should just grab the laptop using the recovery disk created and I think that the 64 bit, Win 7 must be installed.

  • «Error 1721.There is a problem with this Windows Installer...» "during the installation of Pinnacle Studio 12

    I m PARDEEP SEHGAL of INDIA sir, I tried to install the software of PINALCE STUDIO 12 but despite several attempts, the software could not be installed in Windows XP service pack 2 but version to error message repeated as "error 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your provider to support personal or package. Action: PCLE_StudioInit, location: C:-... \Studio.exe, command: /init 'could someone help me out here.

    Hello

    Try the following methods.

    Method 1:

    Download and install the latest Windows install http://www.microsoft.com/download/en/details.aspx?id=8483

    Download WindowsXP-KB942288-v3 - x 86 .exe for Windows XP.

    Method 2:

    Register Windows Installer service; To do this, you need boot mode safe.

    1 restart your computer and press F8 several times before the Windows Logo appears and select Safe Mode and press enter

    2 - log on your user account (must be administrator).

    3 - Click Start, and then select 'Run' or Win Key + R to open the "Run".

    4 - Type cmd and press enter

    5 - in prompt type command sequence,

    msiexec /Unregister and press enter

    msiexec/regserver and press enter

    Close cmd and boot as usual and check the installation.

    Method 3: Run System File Checker

    1-click Start > all programs > Accessories > right click on cmd, select 'Run as administrator'

    2 type the following commands

    sfc /purgecache and press enter and you may be prompted to insert your Windows XP CD-ROM. CD Once completed, you will receive this message Windows File Protection has managed change.

    After this, type this sfc/scannow and press enter and you may be prompted to insert you CD Windows XP CD. This can take some time to check.

    I hope this helps.

  • Latitude E5520 Audio problems after upgrade to win 10

    I have audio problems after upgrade to win 10 64-bit.

    Dell Latitude E5520 IDT 92HDxxx HD Audio
    Hardware ID:
    HDAUDIO\FUNC_01 & VEN_111D & DEV_76E7 & SUBSYS_1028049A & REV_1001
    HDAUDIO\FUNC_01 & VEN_111D & DEV_76E7 & SUBSYS_1028049A

    (1) if I use the built-in driver to Win 10 ("high definition Audio Device") I hear speakers/headphones and switching between the speakers and the works of helmet very well but my laptop computer microphone does not work ("not connected").

    (2) if I use the latest Dell driver (IDT 92HDxxx HD Audio Driver) I hear initially via speakers, but as soon as I plug in headphones I can't switch back to the speakers (i.e. switching between the speakers and the headphones does not work) and my laptop computer microphone works.

    I would be happy to provide more information and help to debug.

    To a Microsoft Community Forum, I received the following reply from Rob Brown - Microsoft MVP:

    *************************************************************************
    Hello
    AS OEM Dell is responsible for the good operation of the equipment both
    and Windows. Check their documentation online with Dell Support, and
    drivers and ask questions in the forums about known problems. Make sure that you are
    Run the latest version of the BIOS, chipset and drivers.
    I hope this helps.
    *************************************************************************

    I understand that the Latitude E5520 does not appear on the Dell "Computers tested for upgrade to Windows 10" list... However I was hoping maybe Dell could find in the goodness of their hearts to a updated driver IDT 92HDxxx... pretty please?

    Thank you
    John D.

    johnsdagg
    AS OEM Dell is responsible for the good operation of the equipment both
    and Windows.

    Hi, John. It's quite nervous of a member of the MS forum say that Dell is responsible to operate Windows. It wasn't Dell but MS who claims that Win10 has most of the necessary drivers and if not then the drivers Win7 and Win8.1 would work.

    johnsdagg
    I was hoping that maybe Dell could find in the goodness of their hearts to a updated driver IDT 92HDxxx... pretty please?

    I doubt that it is possible for two reasons. Dell went from IDT Realtek as the audio seller so probably not more a a contract with IDT, if IDT even exist anymore. A year ago IDT was acquired by another company. I do not know its current status, but it is sure that the acquiring company will not be upgrading old software IDT. Reference Dell itself does not write the audio drivers. Even when IDT was the seller I believe that Win7 drivers are the final versions - no version 8 or 8.1 I think.

    johnsdagg
    If I use the built-in driver to Win 10 ("high definition Audio Device") I hear speakers/headphones and switching between the speakers and the works of helmet very well but my laptop computer microphone does not work ("not connected").

    The native Windows audio driver can't stand struggling external mic. It is a MS 'known problem '. MS must implement a decision-making support, but there is no indication that it will be. Meanwhile, you have two workaround solutions. You can switch backwards between the natives and the IDT drivers. At some point Win10 could leave the IDT driver works correctly. Or get an outlet cheap usb audio to the microphone. Struggling running out-audio driver usb Windows native usb and so dependent no driver IDT.

  • Network management problem, computer laptop Windows 7 will not find other computers on any network, however all other computers on the network can access Windows 7 laptop.

    Basically, the issue I'm having is that my laptop does not connect to any other computer to access the actions or other files.  Other computers on the network can access my computer laptop shares and files without any problems.  Operating system is Windows 7 Home Premium x 64.

    What I tried:

    restarted
    uninstalling and reinstalling the files and printers, sharing maps and restart after completion
    all disabled firewall
    tried with IPv6 enabled and disabled without change, so it is currently enabled
    tried on a Wi - Fi and the differences are listed below in the section work (work is wireless)
    able to ping other comptuers
    access to other computers is permitted by other computers

    problem extends over several networks, IE I noticed it at home last night and the followed problem my laptop at work this morning.
    The problem is slightly different on the two sites.

    At home:
    I can see the other computers on the network, but I am unable to access it, even if I have permission, but other computers can access to my laptop.

    At work:
    Cannot even find other computers on the network but they can find and access my laptop.

    I have worked on this problem of non stop for several hours and did much more than what is said, but I am unable to remember everything.  I should have been taking notes: P

    Here are the results of the ipconfig/all command (I removed the physical addresses for security reasons):

    Windows IP configuration

    Name of the host...: Radiation-G72
    Primary Dns suffix...:
    Node... type: hybrid
    Active... IP routing: No.
    Active... proxy WINS: No.

    Wireless Network Connection 2 wireless LAN adapter:

    State of the media...: Media disconnected
    The connection-specific DNS suffix. :
    ... Description: Microsoft Virtual WiFi Miniport adapt
    Physical address.... :  **
    DHCP active...: Yes
    Autoconfiguration enabled...: Yes

    Ethernet connection to the Local network card:

    State of the media...: Media disconnected
    The connection-specific DNS suffix. : hsd1.ga.comcast.net.
    Description...: Realtek PCIe GBE Family Controller
    Physical address.... :  **
    DHCP active...: Yes
    Autoconfiguration enabled...: Yes

    Wireless network connection Wireless LAN adapter:

    The connection-specific DNS suffix. :
    ... Description: Atheros AR928X Wireless Network adapt
    Physical address.... :  **
    DHCP active...: Yes
    Autoconfiguration enabled...: Yes
    Address IPv6 local link...: fe80::f4e3:cd1c:6952:eb4d % 11 (Preferred)
    IPv4 address: 192.168.2.7 (Preferred)
    ... Subnet mask: 255.255.255.0.
    Lease obtained...: Thursday, February 4, 2010 10:50:32
    End of the lease...: Friday, February 5, 2010 08:29:36
    ... Default gateway. : 192.168.2.1.
    DHCP server...: 192.168.2.1.
    DHCPv6 IOOKING...: 234890707
    DHCPv6 DUID customer...: 00-01-00-01-12-4C-6E-91-00-25-D3-3D-FC-9A
    DNS servers...: 192.168.2.1.
    NetBIOS over TCP/IP...: enabled

    Tunnel adapter isatap. {1797D168-6FC8-4DDF-8338-4E214119C26D}:

    State of the media...: Media disconnected
    The connection-specific DNS suffix. :
    ... Description: Microsoft ISATAP adapter
    Physical address.... : 00-00-00-00-00-00-00-E0
    DHCP active...: No.
    Autoconfiguration enabled...: Yes

    Card tunnel Teredo Tunneling Pseudo-Interface:

    The connection-specific DNS suffix. :
    ... Description: Teredo Tunneling Pseudo-Interface
    Physical address.... : 00-00-00-00-00-00-00-E0
    DHCP active...: No.
    Autoconfiguration enabled...: Yes
    IPv6 address: 2001:0:4137:9e74:4ea:2920:b81a:cdc5 (Preferred)
    Address IPv6 local link...: fe80::4ea:2920:b81a:cdc5% 13 (Preferred)
    ... Default gateway. : ::
    NetBIOS over TCP/IP...: disabled

    Card adapt 6TO4 tunnel:

    State of the media...: Media disconnected
    The connection-specific DNS suffix. :
    ... Description: Microsoft 6to4 card
    Physical address.... : 00-00-00-00-00-00-00-E0
    DHCP active...: No.
    Autoconfiguration enabled...: Yes

    Asked this question in the Windows 7 forum also because the problem was between windows 7 and Vista.

    Hello

    If it has started, you can try a system restore - an update "might" have caused the problem.

    1. try a system restore back to a point before that happened. And immediately thereafter enter
    Control Panel - Windows updates - top left settings and set it to download and informs you instead
    Automatic. Leave it until you are sure that everything is OK and then you can add them one at a time
    to troubleshoot BUT click right on and HIDE all the driver updates. Also stop at day of drivers like below
    and let this value - manually search for drivers when you think you need. (See how and why to)
    stop day of drivers below.)

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    To uninstall an update if you determine that there are problems - Panel - updated Windows - down left-
    Updates installed - uninstall

    I had completely forgotten the system restore!  While looking into the system restore, I found that when I moved into my new House and has cable Internet installed, the cable technology installed a program of comcast on my computer.  This caused me to not be able to connect with other computers.  After rolling back to install it before it works!   Thank you.

  • All of my icon are icons of java. When I click, a back short style window appears, then disappears. I can not open files or links. What is the simple solution?

    All of my icon are icons of java.  When I click, a back short style window appears, then disappears. I can not open files or links. What is the simple solution? This CHANGE occurred on 15 July.

    The simple solution is:

    1. type the word restore in your Start menu.  Some options will appear.  Choose to restore the system and settings files
    2 - Click Next, choose July 14 (or a date before the problem occurred), and then click Next again.  Your system will restart with repaired parameters.
    Let us know if it works for you.
  • problem creating a Windows Service to start Weblogic Adminserver

    Hi, I'm having some problems starting the windows service for weblogic.
    The creation goes correctly but when I try to start the service, it fails.
    Thank you


    Debug service... beasvc bpm11g_A00ASRV304W08R2
    Command line:... - client-Xms32m-Xmx200m - XX: MaxPermSize = 128 m - XX: + UseSpinning - Xverify: none - classpath...
    Current directory:... D:\Oracle\Middleware1036\user_projects\domains\bpm11g
    Path:... D:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64\;D:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;D:\Java\JDK17~1.0_0\jre\bin;D:\Java\JDK17~1.0_0\n
    House of Java:... D:\Java\JDK17~1.0_0

    Delay:... 0
    Thread created with success!
    Unrecognized option:-customer
    Error in the java application...
    The next line contains the specific error details...
    Failed to initialize the Java virtual machine.

    Hello
    Delete the word "-client" command line options. Try to start the server weblogic with the window services. If you get error please let me know.

    Now:
    Command line:... - client-Xms32m-Xmx200m - XX: MaxPermSize = 128 m - XX: UseSpinning - Xverify: none - classpath... +.

    Changed to:
    Command line:-Xms32m-Xmx200m - XX: MaxPermSize = 128 m - XX: + UseSpinning - Xverify: none - classpath...

    Select this option if this helps you.

    Kind regards
    Kishore

  • When I try to install an update to iTunes on my Windows 7 computer I get the following message: "there is a problem with this Windows Installer package. A program required for this install to complete could not be run. "Help, please.

    When I try to install an update to iTunes on my Windows 7 computer I get the following message: "there is a problem with this Windows
    Installation package. A program required for this install to complete could not be run. "Help, please.

    Hello..

    Try this support article > If you see an error message "Windows package install" when you try to uninstall iTunes from your PC

  • Problem sleeping satellite Windows C50D 8.1 - A - 13 G

    Hello

    I hope someone who knows more about than me power management can help!

    I bought a C50D Satellite - A - 13 G a few days ago and it was fine. However, a problem with the mode 'sleep' has begun today.

    The laptop goes into mode 'sleep' as expected (when the lid is closed or when I press the power button). However, when I press the power button to turn it back on, it comes to life for a few seconds - the screen is on and I can move the mouse and interact with other things - but so goes backward layout 'sleep' again. What can I do to make it work is to close completely by holding down the power button then restarting.

    The laptop is fully charged and plugged or unplugged happy.

    I don't know if this is related, but my mouse won't wake the portable computer, even if it is set to do in its power management settings in Device Manager.

    Everyone knows about this problem in Windows before 8?

    Thank you

    Jason

    Guess what, it s the first time that I m reading on such problem laptop under Windows 8

    I'm not quite sure if his problem software or hardware and, therefore, I recommend you to reset the system.

    How?
    Check this doc: [Windows 8 recovery & repair | http://aps2.toshiba-tro.de/kb0/TSB2A03ES0000R01.htm]

    Option called Reset the PC would set the laptop back to factory settings.
    After that the laptop has been reset, test mode "Eve".

  • There is a problem with this Windows Installer package. A program required for this install to complete could not be run Windows 10

    There is a problem with this Windows Installer package. A program required for this install to complete, could not be executed. This appears when trying to update

    Repair Apple Software Update of programs and features, Control Panel, and then try again.

    If not for general advice see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach. Review other cases and a list of documents to support further down the page, in which case one of them applies.

    More information area has direct links with the current and recent if you have problems to download, need to revert to a previous version or try the version iTunes for Windows (64-bit-for old video cards) as a workaround for the problems of performance or compatibility with third-party software.

    Your library must be affected by these measures, but it is also related to backup and recovery advice if necessary.

    TT2

  • I tried to update iTunes on Windows 10, now, I get the error "there is a problem with this Windows Installer Package".

    Hello

    I tried to update iTunes on Windows 10 and now I get the message error "there is a problem with this Windows Installer Package".
    I tried to fix it too, but it has not helped, so I uninstalled and tried to reinstall but there has not helped either. I tried almost everything I've seen in other posts.
    I use a laptop Asus series k55VJ with an original copy of Windows and has never had this problem before.

    Any of you have an idea what can do?
    Thank you!

    Try to repair the Apple Software Update of the programs and features Control Panel, then uninstall it and then reinstall iTunes.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • Compaq 15 laptop: I have problem to open windows 8 I do not remember the email from Microsoft outlook

    I have problem to open windows 8... I don't remember the email from Outlook... and I can't open the windows... the computer is Compaq 15 Notebook pc

    Hello @djgenti,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums, I would like to draw your attention to the HP Forums Guide first time here? Learn how to publish and more.

    I came across your post about the question of password and he wanted to help!

    First of all, please consult the following document and let me know how it goes:

    HP computers - what to do when you forgot your connection password (Windows 8)

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution' , this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Have a great day!

  • problems with keyboard bootcamp win 7 and el capitan

    I upgraded to el capitan and now in bootcamp windows 7, the apple Bluetooth keyboard will not work.  gives Windows that a device cannot start error code 10. {keyboard works very well alongside Mac.}  I have tried everything listed in the community forums but nothing fixed.  If I update to windows 10 this fix, the keypad will emit bootcamp?  Thanks for any help

    Jim B

    Just found this after having exactly the same problem me!  I am on Windows 8, also on an iMac mid-2011.

    Never had a problem before, but after starting Windows today (for the first time for a while, it is true) the mouse works fine, but the keyboard "failed to start.

    I tried to repair the bootcamp drivers, but it made no difference.

    Currently having to use an old wired USB keyboard, which works very well.

    When I boot to OS x, the keyboard works without any problem.

    Windows can see the bluetooth key word, but it's always offline.

Maybe you are looking for