Interesting, Bernie. I built your code snippet and it does exactly as you said in OS9 as well, but I still get neither when I click on the "expand" button in a Windowshade's Title Bar in my program. I'll have to see if I have something that may be trapping the event somewhere. It may also have to do with the window attributes you used in your example vs the ones I used in my program. That looked promising, but after checking that out, still no good. I even put a beep in the _wndRefresh event and that doesn't happen either. Hmn! JLW bernie wrote: > JLW wrote: > >> Guess I'm not far south enough! I need some help. When the Window >> Shade (I guess it would be minimize/maximize in OSX) button is >> clicked the second time, what is the Event that is called? I need to >> refresh the window. I've tried all the zooms and they don't seem to >> apply. > > > Could be I'm too far north and misunderstood the problem. Are you > trying to detect a window expand? If so, under Classic, I get a dialog > _wndRefresh event and under OS X, a _wndActivate. > > '---------- > local fn DoDialog > dim as long ev > > ev = dialog(0) > > select ev > case _wndRefresh//Classic > beep > case _wndActivate//OS X > 'beep > end select > end fn > > appearance window 1, "Collapse", (65, 90)-(705, 570),¬ > _kDocumentWindowClass, _kWindowCollapseBoxAttribute > > on dialog fn DoDialog > > do > HandleEvents > until gFBQuit > '---------- > > Bernie