LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Modeless UserForm doesn't show on Alt+Tab.

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modeless UserForm Brandt Excel Programming 5 April 25th 08 04:02 AM
Modeless Userform Roger Excel Programming 2 March 10th 08 08:01 PM
Modeless userform hngo New Users to Excel 2 July 13th 05 09:23 AM
modeless userform jacob Excel Programming 1 May 4th 04 02:53 PM
Hide/Show modeless userform when activating/deactivating workbooks Jeremy Gollehon[_2_] Excel Programming 0 August 28th 03 11:05 PM


All times are GMT +1. The time now is 12:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"