CompuServe Thread

#ActiveWindow?

2 messages in this thread
#1168From: Vic WagnerSep 27, 1990 12:46 PM
Lance, The simple answer to your question is: Yes, Intuition generates a message when the window is resized. Specifically, you will get a standard IntuiMessage with a class of NEWSIZE…but only if the window is sizable. There is also a message you can get called ACTIVEWINDOW whenever your window is activated by clicking in it. Or you can test the WINDOWACTIVE bit in the flags of the Window structure. All of this should be pretty clear from looking at the RKMs or the include file "intuition.h". By the way, I'm curious…why do you need to know that your window is 'active'? Victor A. Wagner, Jr.
#1177From: LANCE SHORBSep 27, 1990 5:14 PM
Vic, Thanks for the info. I've retested, insuring the flags were properly set, and sure enough, in came the messages. I think I may have been improperly initializing the Flags. As far as why I'm interested; I'm designing/experimenting with a generic window handler, and I thought it would be usefull info to pass on to the the user of the handler. The more I think of it though, the fewer the possabilities I can see for its usefullness. Shall see…. Thanks, Lance Shorb – via Whap!