> > It's a windows application (single exe file)
Post WM_CLOSE to main window. For applications that ask for silly confirmation (i.e., "Exit program, are you sure?") post WM_QUIT instead. QUIT is almost as bad as calling TerminateProcess - avoid it at all costs. SendKeys("%{F4}") works for just about anything. Tag a "y" or "~" (~ as long as the default button is Yes or OK) on the end for silly confirmation.
-SHAWN-
Post WM_CLOSE to main window. For applications that ask for silly confirmation (i.e., "Exit program, are you sure?") post WM_QUIT instead. QUIT is almost as bad as calling TerminateProcess - avoid it at all costs. SendKeys("%{F4}") works for just about anything. Tag a "y" or "~" (~ as long as the default button is Yes or OK) on the end for silly confirmation.
-SHAWN-
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".