Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
So maybe the Q is:
Can you show an icon other than your parent's, on Alt+Tab? It's a good question. I'm guess it should be possible though I don't know how. Keep tinkering, if/when you get it drop me a line! Referring to your previous post - However, reinstating SW_MINIMIZE also reinstated that pesky floating Win 3.1-style minimized title bar Not sure why that was happening for you - you're not by any chance re-showing an already loaded form, that could indeed cause your floating window (I mean doing myForm.Show again while already loaded). whereas xferring my parentage to Desktop invokes post-Win 3.1 behavior of hiding it at 3000,3000?? A hidden window's x:y is given a notional -32000:-32000. However you can't simply move the hidden window (say with the MoveWindow API) back onto the desktop to make visible. Regards, Peter T "Jim Luedke" wrote in message ... I just realized: By changing UserForm's GWL_HWNDPARENT to the Desktop, it's the Desktop's icon (the generic Windows icon) that shows on Alt+Tab. It also explains why, when an icon appeared sporadically on Alt+Tab before, it was a second Excel icon, since Excel was my parent window. So maybe the Q is: Can you show an icon other than your parent's, on Alt+Tab? 'Cause as I said, WM_SETICON displays ICON_SMALL just fine (form and Taskbar), but fails to execute ICON_BIG (Alt+Tab). *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Modeless UserForm | Excel Programming | |||
Modeless Userform | Excel Programming | |||
Modeless userform | New Users to Excel | |||
modeless userform | Excel Programming | |||
Hide/Show modeless userform when activating/deactivating workbooks | Excel Programming |