If you want to disable the control on this dialog, the MFC-way of doing it would be creating a variable bool ControlsEnabled; and use OnCmdUI-Handler on each Control to do pCmdUI->Enable( ControlsEnabled /*&& other conditions*/);
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation." -- Caius Petronius, Roman Consul, 66 A.D.