248 Subj : Re: Modal dialog box - how? To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Jul 06 2004 12:57 pm David Ayre wrote: >I want to create a modal dialog box that I can call in the > middle of a routine to enter some data before the routine > continues. >I can create a dialog box and set the check box to Modal, but it >doesn't seem to be modal and the program runs straight through > without stopping. >Any ideas what I migh be doing wrong. How do you start the dialog? Are you using CreateDialog()? If so, then use DialogBox() instead. . 0