How can you close a window that has it's close button disabled?
When I execute the following it doesn't work:
PostMessage app_hwnd, WM_CLOSE, 0, 0&
I am assuming that the problem is the grayed out close button because this line of code works with all other windows.
I don't want to use send keys. If I could use PostMessage to tell the window "YES or "NO" (those are the buttons within the window/dialog box) then that would be fine.