You can pass a HWND to your hook dll. When your hook blocks the ctrl+alt+enter message, you use SendMessage to tell your own program. Dont' forget to set your HWND variable (which is in the dll) to be shared.
//怎么通知程序? HWND hwnd=FindWindow("","xxx");//find programe handle SendMessage(hwnd,WM_USER,0,0); } //then in your programe, you deal with WM_USER message
{
if(按键==ctrl + alt + enter)
//怎么通知程序?
}程序只要收到通知就弹出一个对话框,那么该怎么调用?
{
if(按键==ctrl + alt + enter)
//怎么通知程序?
HWND hwnd=FindWindow("","xxx");//find programe handle
SendMessage(hwnd,WM_USER,0,0);
}
//then in your programe, you deal with WM_USER message