You can use WINAPI SendMessage with WM_CLOSE for the Msg parameter.
Here more about this function: SendMessage
solved How to add event to exit a window?
You can use WINAPI SendMessage with WM_CLOSE for the Msg parameter.
Here more about this function: SendMessage
solved How to add event to exit a window?