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
Solved

Program is not visible in Windows ALT+TAB

Posted on 2014-10-10
4
375 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…

790 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