15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


How to not display app in Taskbar

Alain Jean -- alainj@cadec.com
Sunday, November 17, 1996

Environment: VC++ 4.0, Win95

I have a standard dialog form in a project and I simply
want to not display it in the TaskBar nor in the ALT-TAB
box.

I know that that can be done because it is a form property
in Visual Basic 4.0 (32 bits) and I want to do the same in
MFC.

For now, my project is a dialog, but if anybody know a way
for the SDI, it would also be appreciated.

By the way, I read about a so called technique about making
the window a tool window (with the smaller caption bar) but
the property in VB keeps to title bar as it is!

Thank you!

alainj@cadec.com






Amir Shoval -- torin@netvision.net.il
Monday, November 18, 1996

[Mini-digest: 2 responses]

Alain Jean wrote:
> 
> Environment: VC++ 4.0, Win95
> 
> I have a standard dialog form in a project and I simply
> want to not display it in the TaskBar nor in the ALT-TAB
> box.
> 
> I know that that can be done because it is a form property
> in Visual Basic 4.0 (32 bits) and I want to do the same in
> MFC.
> 
> For now, my project is a dialog, but if anybody know a way
> for the SDI, it would also be appreciated.
> 
> By the way, I read about a so called technique about making
> the window a tool window (with the smaller caption bar) but
> the property in VB keeps to title bar as it is!
> 
> Thank you!
> 
> alainj@cadec.com
Hello,

There is an example for this feature in MSDN library. Look for
stealth.zip.

	Amir

-- 
--------------------------
Amir Shoval N.C.C. Israel
torin@netvision.net.il
--------------------------
-----From: "Jeff S. Shanholtz" 

You can just create a hidden dummy window and use it as the parent window
of your main window. The taskbar only considers windows that are top level
and visible.

The tool window, like you said, is another way to do it, but obviously it
isn't the right approach for most applications.

Jeff Shanholtz
Enertech Consultants



Mike Blaszczak -- mikeblas@nwlink.com
Monday, November 18, 1996

At 03:54 11/17/96 -0500, Alain Jean wrote:
>Environment: VC++ 4.0, Win95

>I have a standard dialog form in a project and I simply
>want to not display it in the TaskBar nor in the ALT-TAB
>box.

See http://www.nwlink.com:88/~mikeblas/samples/index.htm.
Get STEALTH.ZIP.

.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.





| Вернуться в корень Архива |