Thank you for going to all this trouble of posting a real 'live' example of a dialog box. This is a trivial example. Mine is more complicated because the internals of my program call out for a creation of a dialog box based on some event inside the program. Then when this event is gone (process killed, message recieve, etc) the dialog box should just dissapear on its own... is this possible? I don't want the user to press OK or CANCEL or anything... Just want the DIALOG gone. If not possible I will not use dialogs at all. Thank you!