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

Re: How does the shell decide on [X] or[OK] to close applications by Steve

Steve
Fri Sep 10 12:29:47 CDT 2004

It doesn't decide that. The application does. The application uses
SHDoneButton() to display the OK button

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups