Python (best )or C++: how to hook onto a system message? RRS feed

  • Question

  • Hi,

    Im trying to hook onto a windows message such as WM_DELETE_WINDOW.

    I know that in tkinter (python), root.bind can do it, but is there a way without having GUI?

    I'm not sure if python import signal can do it.


    Also, is there a way to hook onto TerminateProcess by any chance?

    Thursday, November 14, 2019 12:44 AM