Solved

Program is not visible in Windows ALT+TAB

Posted on 2014-10-10
4
343 Views
Last Modified: 2014-10-17
Hi,

When I start my Delphi application and press Windows ALT+TAB the app will show in the list of available application where one can jump to. But as soon as I open another form (Form2.ShowModal), than the application disappears from the ALT-TAB list.

Is there a way to solve this?
0
Comment
Question by:Delphiwizard
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Zaheer Iqbal earned 500 total points
ID: 40372667
It's a Feature of Windows 7, and not a bug.

The solution is to either remove the 'Tool window' from the Dialog Properties, or to remove 'WS_EX_TOOLWINDOW' from the RC file.

If you want to restore the expected Win XP behavior, just add a DWORD registry key named

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AltTabSettings

And set the value to 1
0
 

Author Comment

by:Delphiwizard
ID: 40372729
How does one remove 'WS_EX_TOOLWINDOW' from the RC file?
Is this a one-time only action on application-level or needs this to be done for every (new) toolwindow?

Changing the registry result in ALT-TAB in the old Windows XP-stype which is not the desired outcome.
0
 
LVL 19

Expert Comment

by:Thommy
ID: 40372763
@1stITMAN: don't adorn yourself with borrowed plumes!!!

You have taken your answer from App disappears from Win7's ALT-TAB list sometimes without citing the source...
0
 

Author Closing Comment

by:Delphiwizard
ID: 40386104
First I hoped for a workaround by code to make the toolbox window available ofr ALT+TAB, but I've decided to go for the lean and mean approach. So I changed all Toolbox forms to type Dialog.
This solved it perfectly. Thank you for sharing the solution of others, it works for me :-).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now