remarknibor wrote: > You were right. If I give the process a small amount of time to open > Notepad, it works just fine. And I've now succeeded in removing the > maximize, minimize and close buttons. > My last challenge is to delete various options from the drop-down > menus in Notepad, such as File->New, File->Open, etc. If I have a > handle to Notepad, how can I get access to its menus and alter them? > > Thank again.
GetMenu()? At this point, anything you do is going to be pretty dangerous. And I'm not sure how you plan on disabling the accelerators (e.g Ctrl-S == Save file). Deleting menu items out from under an application that expects those items to exist is a great way to cause the target application to crash. Be careful. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
