Snippets of code for working with MFC