I would just like to know how the Shell decides to display an [X] or [OK] as
the close button for applications. Is it because of the Window Type e.g.
Dialog window? I would like to check a running process and be able to to
tell whether to send WM_CLOSE if it has an [X] or WM_COMMAND or WM_CLOSE if
it has an [X].
Id apprecaite any advice.
Thanks
Andy