Actually, I am forced to use regular win32 API instead of MFC.