I'd like to know what (or if) message is sent when a window is changed from invisible to visible, or the reverse? I need to track a windows visibility state, and the alternative is to call IsVisible on a whole group together every time the menu is hit. ------------------------------------- "You couldnít fool your mother on the foolingest day of your life if you had an electrified fooling machine."
Posted on 2001-03-31 16:03:00 by Ernie
The closest is WM_STYLECHANGING. I believe it's perfect for your purpose.
Posted on 2001-03-31 20:04:00 by Iczelion
Just AND WS_VISIBLE with STYLESTRUCT.styleOld and STYLESTRUCT.styleNew, XOR them together, if result is nonzero, visibility changed. Excellent, thanks for the direction. ------------------ "Son, when you participate in sporting events, itís not whether you win or lose: itís how drunk you get."
Posted on 2001-03-31 20:42:00 by Ernie