VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

FYI: Alt+Tab Icon Updating

LaVolpe  (66 Submissions)   Custom Controls/Forms/Menus   VB Script   Intermediate   Wed 3rd February 2021

How do you change the icon that appears in the Alt+Tab window? This is nothing new can be found on MSDN. The notes I added here are of interest. More info for skinning forms. Changing a form's icon doesn't affect the Alt+Tab window; you need to change the icon in an upper level, hidden window. Code below shows how. Notes to keep in mind.... The icon does NOT have to be one assigned to a form! If not, the only thing to remember is to cache that icon handle and don't destroy it until your application closes or you reassign using the same code below. Should you not cache the icon, and it is destroyed, the Alt+Tab will show a "blank/invisible" icon instead.

Rate FYI: Alt+Tab Icon Updating (5(5 Vote))
FYI: Alt+Tab Icon Updating.bas

FYI: Alt+Tab Icon Updating Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters