I have a dialog app which resizes some controls if the user drags the dlg or uses the min/max button on the title bar, but I don't know how to get the notification when the user double-clicks on the title bar.
Here's the msg handlers I have:
MyDlg::OnSizing( UINT nSide, LPRECT lpRect )
// Resize edit controls
MyDlg::OnSysCommand(UINT nID, LPARAM lParam)
// Check for SC_MAXIMIZE or SC_MINIMIZE
// and resize edit controls
Also when the main dlg is resized, the edit boxes flash when they get resized. Is there a way to prevent this?