General information
Category:
Windows API functions
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only