View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Luedke Jim Luedke is offline
external usenet poster
 
Posts: 43
Default Modeless UserForm doesn't show on Alt+Tab.

I’m using Excel 2002 in Win 2000.

I'm using Stephen Bullen’s CFormChanger to beef up UserForm with
features like min/max buttons, sizeability, my own icon, etc.:

www.oaltd.co.uk

After tweaking, it works well, thanks to all you knights of the Net
(most recently Peter T.)

Now my problem is, I want it to show in the Alt+Tab dialog and it
doesn’t.

Yet at one point, it did appear there. So I might’ve broken it.

GetWindow(MyHWnd, GW_OWNER) confirms that Excel is the owner of my
UserForm. Is ownship an issue vis-a-vis Alt+Tab? (How could it be,
since an icon used to show in Alt+Tab?)

Do any other Windows properties affect Alt+Tab status?

(One wrinkle: When my icon did appear on Alt+Tab, it was not the one I
was loading (with WM_SETICON, ICON_BIG), but rather a duplicate Excel
icon. Don't know if that problem relates to my current one of no icon
showing at all.)

I don't think Excel’s “Windows in Taskbar” feature is relevant. When
you turn it on, every workbook appears on Alt+Tab, but with a
different icon--a workbook with tiny Excel ‘X’. So that looks like a
different animal.

I’ve scoured MSDN and cpearson.com, but am stuck.

Thanks much.

***