I would like to close notepad file without prompting "Would you like to save changes" dialog box. I tried:
SendMessage(handle, 0x0010, IntPtr.Zero, IntPtr.Zero);
But asks me whether I'd like to save changes or not. Also DestroyWindow(HWND) doesn't work.
How to overcome this problem?
Thanks a lot...