Bonjour,
Placer: ClickYes.exe dans votre répertoire du logiciel
---------------------------------------------------------------------- initialisation de la fenêtre : ----------------------------------------------------------------------- // Register a message to send uClickYes = AppelDLL32("User32","RegisterWindowMessageA","CLICKYES_SUSPEND_RESUME")
// Find ClickYes Window by classname wnd =AppelDLL32("USER32","FindWindowA","EXCLICKYES_WND",0)
SI wnd=0 ALORS //appli non lancée LanceAppli(RepDuLogiciel + "clickyes.exe", exeIconise, Faux) Multitache(10) // Register a message to send uClickYes = AppelDLL32("User32","RegisterWindowMessageA","CLICKYES_SUSPEND_RESUME")
// Find ClickYes Window by classname wnd =AppelDLL32("USER32","FindWindowA","EXCLICKYES_WND",0) FIN // Send the message to Resume ClickYes Res = SendMessage(wnd, uClickYes, 1, 0) ---------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------- code de fermeture de la fenêtre ---------------------------------------------------------------------- SendMessage(wnd, uClickYes, 0, 0) ExeTermine(RepDuLogiciel + "clickyes.exe") |