Can you please help me gain a comprehensive knowledge about differences between modal and modeless dialogs by introducing me excellent tutorial links?
For example can you explain me about the programs that are linked here? Are they modal and modeless ones?
Up to know I thought that designing a dialog using just codes means modeless but designing a dialog using Toolbox
means modal but as much as I search, I get more confused. Can you help me understand more?
The difference between modal and modeless dialogs is not limited to MFC.
When a modal dialog is open you cannot interact with anything else than this modal dialog inside your program, as long as the modal dialog is open. Most dialogs are modal, for example the File-Save As dialogs are modal.
On the other hand a modeless dialog behaves just like a normal window, you can do anything you want while it is open. The spell checker dialog in Microsoft Word is an example of such a dialog.
The link you mentiond in your question has nothing to do with modal and modeless dialogs.
Modal dialogs are trivial in MFC.
Modeless dialogs are a bit more complicated, but you can find plenty of tutorials by searching "mfc modeless dialog tutorial" on google.