I'm using Windows on a PC, and Visual C++ 2005.
I open Notepad as part of my program and I was wondering if I could 
alter its menus and things in order to limit what participants might 
(annoyingly) play around with. Ideally, I'd at the very least like to 
disable their ability to close it using the 'X' button or 'Close' in 
the menus.
I can get its handle using:
HWND hwnd = GetForegroundWindow();
What do I do next? Do I use things like GetSystemMenu() and 
EnableMenuItem()? If so how?

Thanks in advance.

Reply via email to