Window icons in the Alt+Tab list? 
Author Message
 Window icons in the Alt+Tab list?

I have several modeless forms, each with a different icon.  The
ShowInTaskbar property is set to True.  In the taskbar, each form displays
the correct icon.  However, if I bring up the Alt+Tab list... all of the
forms display the main program icon instead of their individual icons!!!

Any ideas how to fix this?  Maybe a Win32 API call or something?

Thanks in advance,

Pearson



Sat, 02 Feb 2002 03:00:00 GMT  
 Window icons in the Alt+Tab list?
The Alt-Tab list shows the main app's icon, not the currently displayed
form's icon.  Re-compile your app using the desired icon and try again.

--
John Tabor
http://members.bellatlantic.net/~jftabor
__________


I have several modeless forms, each with a different icon.  The
ShowInTaskbar property is set to True.  In the taskbar, each form displays
the correct icon.  However, if I bring up the Alt+Tab list... all of the
forms display the main program icon instead of their individual icons!!!

Any ideas how to fix this?  Maybe a Win32 API call or something?



Sun, 03 Feb 2002 03:00:00 GMT  
 Window icons in the Alt+Tab list?
I guess I should have been more clear in my
description:
* I have multiple modeless forms that are all
being displayed at the *same time*.
* These forms have different icons.
* The Alt+Tab list shows one icon for each form.
The problem is that this icon always seems to be
the main app's icon, not the icon for the
respective form.
* (In the Taskbar, the correct icon is shown for
each form.)

Is it possible to get the Alt+Tab list to show
the correct icon for each form listed?  If so,
how would I accomplish this.

Thanks,

Pearson



Quote:
> The Alt-Tab list shows the main app's icon, not

the currently displayed
Quote:
> form's icon.  Re-compile your app using the

desired icon and try again.
Quote:

> --
> John Tabor
> http://members.bellatlantic.net/~jftabor
> __________




> I have several modeless forms, each with a

different icon.  The
Quote:
> ShowInTaskbar property is set to True.  In the

taskbar, each form displays
Quote:
> the correct icon.  However, if I bring up the

Alt+Tab list... all of the
Quote:
> forms display the main program icon instead of

their individual icons!!!

Quote:

> Any ideas how to fix this?  Maybe a Win32 API
call or something?

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


Sun, 03 Feb 2002 03:00:00 GMT  
 Window icons in the Alt+Tab list?
I don't think your mission is possible.  Windows uses the app icon - not the
form icon - in the Alt-Tab list.

--
John Tabor
http://members.bellatlantic.net/~jftabor
__________


I guess I should have been more clear in my
description:
* I have multiple modeless forms that are all
being displayed at the *same time*.
* These forms have different icons.
* The Alt+Tab list shows one icon for each form.
The problem is that this icon always seems to be
the main app's icon, not the icon for the
respective form.
* (In the Taskbar, the correct icon is shown for
each form.)

Is it possible to get the Alt+Tab list to show
the correct icon for each form listed?  If so,
how would I accomplish this.



Sun, 03 Feb 2002 03:00:00 GMT  
 Window icons in the Alt+Tab list?

Pearson,

take a look at the example at
http:\\www.alchemy-software.demon.co.uk\vb.html

it may well do what you want (or at least provide a starting
point).

Ross

Quote:

>I guess I should have been more clear in my
>description:
>* I have multiple modeless forms that are all
>being displayed at the *same time*.
>* These forms have different icons.
>* The Alt+Tab list shows one icon for each form.
>The problem is that this icon always seems to be
>the main app's icon, not the icon for the
>respective form.
>* (In the Taskbar, the correct icon is shown for
>each form.)

>Is it possible to get the Alt+Tab list to show
>the correct icon for each form listed?  If so,
>how would I accomplish this.

>Thanks,

>Pearson



>> The Alt-Tab list shows the main app's icon, not
>the currently displayed
>> form's icon.  Re-compile your app using the
>desired icon and try again.

>> --
>> John Tabor
>> http://members.bellatlantic.net/~jftabor
>> __________




>> I have several modeless forms, each with a
>different icon.  The
>> ShowInTaskbar property is set to True.  In the
>taskbar, each form displays
>> the correct icon.  However, if I bring up the
>Alt+Tab list... all of the
>> forms display the main program icon instead of
>their individual icons!!!

>> Any ideas how to fix this?  Maybe a Win32 API
>call or something?

>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.

-----------------** -- Posted from CodeGuru -- **-----------------
http://www.codeguru.com/vb         The website for VB programmers.


Mon, 04 Feb 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Problem with Icon in ALT+TAB Window.

2. Icon drawing from resource editor won't show in Alt-Tab window

3. Different Icons on forms in Alt+Tab Window

4. CTRL+ALT+SUPR and ALT+TAB under Windows NT

5. Cancel Alt + Tab / Cancelar Alt + Tab

6. NotifyIcon and Alt+Tab Icon

7. Hide icon on ALT+TAB?

8. Wrong icon used in Alt+Tab task switching dialog

9. My VB program icon durning Alt+Tab...

10. ALT-TAB application icon

11. How to Set Icon in Alt-Tab?

12. Alt-tab icons

 

 
Powered by phpBB® Forum Software