OnClose for CToolBar
Ron Forrester -- rjf@infograph.com Thursday, January 25, 1996 I need to catch when a user clicks on the little closer button on a CToolbar object (I have derived a class). I tried ON_WM_CLOSE() with no luck, the message never reaches my class... Any ideas? rjf -- "...fame is a cancer and ego its seed...",Toad the Wet Sprocket For pgp key, finger rjf@infograph.com
Niels Ull Jacobsen -- nuj@kruger.dk Monday, January 29, 1996 > > > I need to catch when a user clicks on the little closer button on a > CToolbar object (I have derived a class). > > I tried ON_WM_CLOSE() with no luck, the message never reaches my > class... This is because the WM_CLOSE goes to the CMiniFrameWnd, not to your toolbar. But I think your toolbar should get a WM_DESTROY when the CMiniFrameWnd is closed. > > Any ideas? > rjf > > -- > "...fame is a cancer and ego its seed...",Toad the Wet Sprocket > For pgp key, finger rjf@infograph.com > > -- Niels Ull Jacobsen, Kruger A/S Everything stated herein is THE OFFICIAL POLICY of the entire Kruger group and should be taken as legally binding in every respect. Pigs will grow wings and fly.
| Вернуться в корень Архива |