trapping events (window messages)
Posted on 2004-04-15
My question is about how trap a window message.
I have an MDI application, in VB6, and I want to prevent all the MDI child forms to be maximized.
So, I think I have to trap the windows event ( window message ), in order to avoid that. I can't take the maximize button out of the child form.
I read on the MSDN that the event is WM_MDIMAXIMIZE, but I don't know how to trap it.