Information générale
Catégorie:
Fonctions Windows API
Titre:
Minimizing before closing a Windows application
In order to avoid any stray image or parts of an image being left on the screen after closing another Windows application, I would like to minimize the application before closing it.
The actual code to close the application is:-
SendMessage(hNext,WM_CLOSE,0,0)
where the application title represented by hNext is in the active window title list.
What code would minimize hNext before closing it?
TIA
Dennis
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement