How can I control the windows behavior when the user hits "Windows key +d"?

Hi,
I have an application with 2 top-level windows. Both windows may be open at the same time. One window is a win32 window, and the other is a wpf window. When both windows are open, the wpf window should always be before the win32 window. When the user hits
"Windows key +d" twice (show desktop and restore all windows), the windows are occasionally restored in a different order.
How can I force the wpf window to always be before the win32 window?
Which Windows messages/events are sent when the desktop is restored?
Yoel

Hi,
I tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
I was able to get some win32 messages that change the win32 window position. I tried then to bring the Wpf window to the front (using SetActiveWindow, SetForegroundWindow, SetWindowPos) but i does not work as expected.
Yoel
Hi Yoelp,
>> tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
It worked well on my side, could you please tell us more details about these two window? What have you done on the WIn32 Window? We need to know the reason
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I plug my computer into my stereo and use the remote app on my iPhone to control it. How can I control my wires iPad with the remote app on my iphone when it is plugged into the stereo? they are different iTunes accounts.

    I plug my computer into my stereo and use the remote app on my iPhone to control it. How can I control my wires iPad with the remote app on my iphone when it is plugged into the stereo? they are different iTunes accounts.

    I think this is probably a sign that your network could be better than it is.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first.

  • When opening a Photoshop file with Bridge, how can I control which version of Photoshop the file wil

    When opening a Photoshop file fthrough Bridge, how can I control which version of Photoshop the file will open in?
    I store my PSD files adjacent to the original RAW file from which it was derived.
    If I open the file folder and double click on that PSD file, it opens in CS6. But,if I use Bridge (CS6) to navigate to and open the same file, it first opens Photoshop CS5 and then opens that PSD file in CS5.
    How can I control which Photoshop will open a file I select when opening it through Bridge?.

    Interesting, but it doesn't give a clue what I'm supposed to do. No Photoshop ducuments listed.
    Look at the PSD file on the location Curt provided and search for Photoshop Document. Next to it ideally should show Adobe Photoshop CS6 if you have Bridge CS6 open. Click on it to provide the fly out menu and choose the correct Photoshop from the list.
    But probably something went wrong with your install. By default Bridge chooses the latest version of PS to open its file in.
    Maybe a reset of the preferences might also help you. Can you provide more details about OS version etc.
    And do you have a good reason for keeping your Raw and finished files in the same location. Personally I keep them apart and use a proper file name convention (yyyymmdd and details) so I can easily search for the DNG files in my archive if I needed them but I don't make mistakes in opening the wrong one

  • How can I turn off "reply" button when the messages come? I prefer the "open" button.

    How can I turn off "reply" button when the messages come? I prefer the "open" button. Because my friends usually send lots of messages at the same time so I cannot read all of them when I press "reply", then I have to go to Messages -> my friends' messages, and it's really complicated.

    Sorry for not quite understanding. I guess you are referring to a notice in an alert. I do not have that alert active on my device, so I cannot say. I use the banner alert, so I just get a notice of a message and can swipe to open that particular message. If I ignore it, it will eventually go away.

  • How can I purchase items for app when the app was loaded on another ID before? I has to Chang my AppleID and also transferred an app to new phone. I can't purchase items for app because it wants me to buy the app through new ID. The app was free.

    How can I purchase items for app when the app was loaded on another ID before? I has to Chang my AppleID and also transferred an app to new phone. I can't purchase items for app because it wants me to buy the app through new ID. The app was free.

    All apps (and other content from the store) are tied to the account that downloaded them, whether or not they are free. To do in-app purchases in that app you will either need to log in with the account that downloaded it, or delete it (which will delete its content) and download it with your currently logged in account if you want to do IAPs on that account.

  • How can I turn off Recently Websites when opening new Safari window? After tapping on the two overlapping boxes on the bottom right of Safari, a new blank window appears with Favorites, but now in iOS 8, recently viewed websites are listed.

    How can I turn off Recently Visited Websites when opening new Safari window?
    After tapping on the two overlapping boxes on the bottom right of Safari, a new blank window appears with Favorites, but now in iOS 8, recently viewed websites are listed. How can I turn this function off? I do NOT want my new Safari windows to have history displayed of previous websites I visited. I only want my Favorites (on the top) to be displayed. Please help.
    Thank you for your time, patience, understanding, kindness, and concern.

    Thanks for replying, but that isn't the answer I am looking for.  Also, there is no + sign, UNLESS you do tap the overlapping boxes.
    Let me try to ask my question a little more clearly:
    When I tap the two overlapping boxes on the lower left (the option to Open New Windows), the new Window that appears will show your Bookmarked FAVORITES. But with my new iPhone 6, and the new iOS 8.0.2, when I tap the two boxes to open a New Window, my Bookmark Favorites show (as they always have and should), but below them, there is a dividing line underneath them, and it says Recently Viewed Websites, and has these websites available to tap.
    So my question is, HOW DO I TURN THESE OPTION OFF?
    *UPDATE  (10.13.14): Since I have asked this question, I no longer see these Recently Viewed Websites under my Bookmarked Favorites in my new Window tabs. So I hope that Apple fixed it, or somehow it was a mistake, or somehow I changed an Option on my iPhone 6 that stopped this for reoccurring.
    Thank you for your help bobseufert! I appreciate your concern, kindness, and the time to try to help. I am grateful.
    Have a blessed day.

  • How can i log onto my ipad when the screen says ipad is disabled log onto itunes. i logged on to itunes but nothing is recognized

    Hi,
    I had forgotten my password and made many attempts to log on to my Ipad. Finally after remembering the password it was to late to enter it. My screen says "Ipad is disabled, log on to ITunes. I logged onto ITunes and nothing is recognized an I cant find a category for correcting the problem. Any help will be greatly appreciated. Thanks

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • How can I block spam e-mail when the "from address" keeps changing?

    How can I block a spam mail sender when that spamer uses a different e-mail address everytime!  I have set up a rule with the spamers name (which does not change) and setting the rule to "is equal to" but it is not working. 

    deckersmom
    Verizon can't fix it and yahoo can't change your Samsung application function.
    Just use the free Yahoo app.
    i Have a yahoo and Gmail and use separate apps for this reason.

  • TS1292 how can i redeem a gift card when the response is non activated card

    How can I find the problem with itunes giftcards when the response is card not activated?

    Ask the people at the store the gift card came from or the iTunes Store staff for assistance.
    (96009)

  • How can I make a JButton enabled when the user types smthg in a JTextField?

    Hello,
    I have a JButton and a JTextField on a frame. The JButton is disabled, myButton.setEnabled(false).
    How can I enable the button when the user types something in the text field? Just typing, not pressing enter.
    Thank you

    There isn't one, actually. What you need is a DocumentListener and you have to associate it with the document object associated with the field i.e.
    field2.getDocument().addDocumentListener() (new DocumentListener() {
    });

  • How can I skip/pass a lesson when the pre-test is passed?

    I'm creating a course with an overview and 3 lessons. Each is its own CP file (Captivate 6).
    This course will be hosted in our LMS, where I will require each lesson to be taken/passed.
    Lesson 1 is introductory/background material about my topic, and my users may or may not have had exposure to this information already. If they know the info, there's no need for them to take this lesson.
    I have added a pre-test to the lesson, that, if failed, forces the user to go through the lesson content and a graded quiz at the end. The score is reported to the LMS and all is well.
    If the user passes the pre-test, s/he is jumped to a congrats slide and instructed to exit the lesson. (No need to take the graded quiz - the questions are the same, and they've already "passed.")
    My question: How do I report a PASS for the lesson if the user doesn't take the graded quiz? I don't need to report any particular score.
    Thanks for any help you can offer!

    Lieve, I'd LOVE to see your blog post about this topic - especially since you always include examples. =)
    Request: I need help with reporting.
    Here's my project's Branch View (click to view larger):
    I've done as you suggested as far as I know. The navigation works perfectly, but when it comes to reporting, I'm not seeing what I expect/want.
    What I want:
    For the user to be able to skip the pre-test (the branching image shows this)If the user passes the pre-test, can exit the course with a Complete/Pass
    For the user to have X number of chances at the test. After the user a) passes or b) uses up X chances and still fails, I want to report back to my LMS (I'm testing in scormcloud right now, but will be using HealthStream) both completion AND pass or fail.
    What I've got:
    The user CAN skip the pre-test (the branching works, anyway)
    I can get Captivate to report Complete/Unknown or Complete/Pass (sometimes, even when the user fails the graded quiz), or Incomplete/Unknown.

  • My Apple ID is registered in wrong email address. How can i change it or else when the server reply me to check my email that i can't check due to they sent to wrong email address...

    Please give advice of how can i change my Apple ID (email address) as it is wrong address. Like i just update my iPhone to latest version 6.0, and get the new app, iCloud which need me to key in my Apple ID and Password. I have no choice to use the wrong email address as it is already registerd since from 1st day i use my iPhone. Then i received the reply that tell me to check my email for verifing but the problem is i can't check my gmail as they sent to the email is not my actual gmail address....
    How can i solve this problem?

    You may change your Apple ID to any email address that is not already used as another Apple ID, or that is not already associated with another Apple ID.
    In other words, if I have an Apple ID [email protected], and have alternate email addresses of [email protected] and [email protected], none of them may be used by me or anyone else for an Apple ID, Rescue Email, alternate email, or anything Apple-related.
    If the Apple ID link above indicates your email is already in use then it is. Use https://iforgot.apple.com, select Forgot your Apple ID? and provide the information requested. If the email address is one you created and can still access, you may be able to retrieve it. If it is one someone else created, you will not.

  • How Can I Remove a Secondary Site When The Server no Longer Exists?

    This organisation deployed a new SCCM site and then decommissioned the server before successfully removing either the site or the server/roles.
    I tried to force the removal of the site which failed:
    C:\Program Files\Microsoft Configuration Manager\bin\X64\00000409>preinst.exe /delsite xxx
    Microsoft System Center 2012 Configuration Manager v5.00 (Build 7804)
    Copyright (C) 2011 Microsoft Corp.
    Cannot find site [xxx] in the site control data in the database. Checking in ServerData in the database.
    Failed to execute SQL query.
    The secondary site is showing in the console as 'deleting'.
    Can anyone advise the best way to proceed?
    Thanks.

    I had the same issue and this is what they sent me... I used it and it worked for me.
    1.       Please follow these steps to manually delete the
    Secondary Site from the Secondary site server
    2.       We also used the PREINST tool to remove the pending jobs.
    3.       On the ConfigMgr primary site (parent) computer, click Start, and then click Run.
    4.       Type cmd in the Open box, and then click OK.
    5.       At the command prompt, type cd\, and then press the ENTER key.
    6.       Type cd sms\bin\i386\00000409, and then press the ENTER key.
    7.       To remove any pending or active jobs to a site, type Preinst /DELJOB SiteCode , and then press the ENTER key.
    8.       We deleted the Secondary Site from the console of parent  site.
    9.       We removed the Sender Addresses from the Configuration Manager console, as explained below.
    10.   Click Start, point to All Programs, point to Systems Management Server, and then click ConfigMgr Administrator Console.
    11.   Locate the Site Settings\Addresses subtree.
    12.   Right-click the address for the failed secondary site, and then click Delete.
    13.   Then we cleaned the registry, by taking the backup of the HKLM Node
    ·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS
    ·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NAL
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Executive
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Site_Component_Manager
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Bootstrap
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CLISVC
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Discovery_Data_Manager
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Lan_Sender
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Scheduler
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Site_Backup
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Software_Metering_Processor
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Status_Manager
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CLISVC
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_BOOTSTRAP
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_EXECUTIVE
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_HARDWARE_INVENTORY_AGENT_SERVICE
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_KEY_CREATION_SERVICE
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_SERVER_BOOTSTRAP_servername
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_SITE_COMPONENT_MANAGER
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Client
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Performance Data Provider
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Provider
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Remote Control
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Server
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SmsClient
    Thanks Lavelle, however your instructions are clearly for SCCM 2007:
    11.   Locate the Site Settings\Addresses subtree. 
    12.   Right-click the address for the failed secondary site,
    and then click Delete. 
    Can you confirm you have run these steps on your own SCCM 2012 site?

  • How long is a thread in use when modem user hits servlet? (repost from misc group)

    I'm developing an application that will go out to many users on the
    internet. Most will be using modems and so my data center will have to
    trickle packets to them because of their low modem bandwidth. Each
    transaction is short lived, under 100ms, but I'm concerned that the
    execution thread in weblogic will be tied up for several seconds while the
    data served is tricked down over the modem.
    - Is the weblogic execution thread returned when a servlet call returns, or
    only when the stream back through the web server has been emptyied?
    - Will in fact calls to write to the output stream (or flushes at least) of
    the servlet block until the TCPIP stack returns with data sent OK - ie block
    until all the data is sent over the modem?
    - If I use buffered output streams with large enough buffers to hold all
    served data, and don't flush them before returning with the servlet call,
    what does weblogic do? Will weblogic hold the execution thread until it can
    empty the buffer, hence be delayed by the modem?
    - Does putting netscape enterprise server between weblogic and the client
    fix this - will enterprise server buffer the data?
    - Does setting keep alive in weblogic or enterprise server have any effect
    on this problem?
    Thanks.
    Mark Johnson
    Markj
    Mark Johnson.
    Encirq Corporation, San Francisco CA, (415)284-9800x116
    http://www.encirq.com/ [email protected]
    The information contained in this message is CONFIDENTIAL. It is intended
    only to be read by the individual or entity named above or their designee.
    If the reader of this message is not the intended recipient, you are on
    notice that any distribution of this message, in any form, is strictly
    prohibited. If you have received this message in error, please immediately
    notify the sender and/or Encirq Corporation by telephone at 415-284-9800 and
    delete or destroy any copy of this message.

    Thanks for your reply!!!
    jwenting wrote:
    no, your code is NOT correct.
    It doesn't "upload" anything, as I stated before.It is working perfectly fine if the destination folder is connected to the server machine (which is not the case now).
    >
    Look into multipart MIME requests, Jakarta Commons File Upload, and things like that to actually upload files to a server instead of insisting on reading them directly from the client's filesystem in your servlet and wondering why that doesn't work if the servlet container is running on a different computer from the client.I AM using Jakarta Commons File Upload. The problem is when I try to access the destination folder(which is in client machine), it can't find as it is searching for the corresponding folder in the server.
    >
    Unless and until you do that, you're wasting our time and your own.I thought someone could help me i giving me some pointers which I missed. Thanks again!!
    Edited by: AnishThomas on Mar 14, 2008 8:13 AM

  • How can I control video presentations on opening the browser.

    The way I work is to allow all tabs to stay open until I have read them or until I have just too many to manage!!! This means when I reopen the browser I may have 5 or 6 videos which open and begin to chatter. I need to be able to close all videos with one action otherwise I have to go through all tabs until I find the chattering culprits! Sometimes I can't even find all of them and I have an "unknown" chatterer which I can't get rid of. Please tell me if it is possible to control all with one action - without losing the tabs and how to do this. If it is not yet possible may I suggest a modification in the very near future which allows e to do this because it is wasting a lot of time for me when I should be working.
    Reply please to [email protected] ...soonest.

    You don't.
    There is no infrared receiver on the iPhone.

Maybe you are looking for

  • What are some good paid iPad apps

    Please help me fing good paid iPad 2 apps

  • Using TAB to focus next component in a JTextArea

    hello everybody, I would like to use the TAB-key in a JTextArea to focus the next component in my frame. I tried to use an KeyListener which calls an instance of javax.swing.FocusManager with the method focusNextComponent(Component c). My problem is,

  • Standby-mode by accident whit pin request to reenter.

    Hello community, I have a problem_ sometimes my bb sets into that 'kind' of standby mode, where nobody can reach me, because I got kicked out of the carriers circuit. As soon as I notice it, the device asks me to reenter the pin to get into the carri

  • Why do cursors use different SQL?

    Hi, I'm havin a problem writing a cursor that returns a field when an item is found in a nested table. Well, the problem is referencing the nested table. Where as select f.name from objtab_fleet f, table(f.vehicles) fv where fv.vehicle.registration =

  • Formula waveform.v​i - functions list?

    I am trying to feed formula waveform.vi with some functions, and I try to search, or read help etc to see whether there is a list of functions that can be typed in the formula field (and hence can be understood by the vi), but with no luck. So far, I