flexibility support for AFXWIN