Solved

Program is not visible in Windows ALT+TAB

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
URL for downloading Google Chrome for Win XP 2 152
How to debug For loops? 3 49
Base1 Encode/Decode 3 77
Dynamically Created Query 3 54
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…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

816 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

9 Experts available now in Live!

Get 1:1 Help Now