Hi, first i would like to thank everyone who helped me solve my compiler problem. Second, i would like to know how to disable closing the dialog box by pressing the X (close icon). I know that when i select how to handle WM_Close is when to disable it, but i'm wondering how. If i ignore it will it just do the default and close the program? Thanks in advance for your help.