Solved

Program is not visible in Windows ALT+TAB

Posted on 2014-10-10
4
426 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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