<h3>MFC FAQ sections</h3><br><hr noshade size="4">
- <a href="#mfc_general">General</a>
- <a href="#mfc_doc_view">Doc/View</a>
- <a href="#mfc_sdi">SDI</a>
- <a href="#mfc_mdi">MDI</a>
- <a href="#mfc_dialog">Dialog</a>
- <a href="#mfc_application">Application</a>
- <a href="#mfc_file_system">File System</a>
- <a href="#mfc_thread">Threads</a>
- <a href="#mfc_dll">DLL</a>
- <a href="#mfc_debugging">Debugging</a>
- <a href="#mfc_registry">Registry</a>
- <a href="#mfc_string">String</a>
- <a href="#mfc_printing">Printing</a>
- <a href="#mfc_stl">STL</a>
- <a href="#mfc_edit_control">Edit Control</a>
- <a href="#mfc_listview_control">ListView Control</a>
- <a href="#mfc_listbox_control">ListBox Control</a>
- <a href="#mfc_tree_control">Tree Control</a>
- <a href="#mfc_date_time">Date and Time</a>
<a name="mfc_general"><h3>General</h3></a><br><a name="mfc_doc_view"><h3>Doc/View</h3></a>
- How to prevent a resizable window to be smaller than...?
- How do I create full screen applications?
- How to change the font of a control?
- What is the difference between 'BOOL' and 'bool'?
- How to change frame and caption window styles at run-time?
- How to make a simple text editor?
- How to make a simple Web Browser?
- How to process command line arguments in a MFC application?
<br><a name="mfc_sdi"><h3>SDI</h3></a><br><a name="mfc_mdi"><h3>MDI</h3></a><br><a name="mfc_dialog"><h3>Dialog</h3></a>
- How to obtain a pointer to various objects?
- How to modify the default 'Open' dialog?
- How to get the active document anywhere in my application?
<br><a name="mfc_application"><h3>Application</h3></a>
- How to show modeless dialogs behind the main window?
- How to hide/show/maximize/minimize a dialog?
- How to add a minimize/maximize button into your dialog?
- How to enable/disable the 'Close' button of your dialog at run-time?
- How to set/get the values of various controls?
- How to start your dialog application in hidden mode?
- How to set the dialog window always on top?
- How to create a non-rectangular dialog box?
- How to drag a dialog by grabbing any point?
- How to disable/change the behaviour of the <...> key in a dialog?
- How to enhance a dialog-based application with Menu, Toolbar...?
<br><a name="mfc_file_system"><h3>File System</h3></a><br><a name="mfc_thread"><h3>Threads</h3></a>
- How can I limit my application to one instance?
- How to get the application name?
- How to set the current working directory?
- How to get the current working directory?
- How to get the application directory?
- How to retrieve the version information of my application?
- How to get the system directory?
- How to get the windows directory?
- How to show a message box in ExitInstance of a dialog-based application?
<br><a name="mfc_dll"><h3>DLL</h3></a><br><a name="mfc_debugging"><h3>Debugging</h3></a>
- Where can I find references on Multithreading?
- How to create a worker thread?
- How to end a thread?
- How to use member functions as thread functions?
- How to access UI elements from a thread in MFC?
<br><a name="mfc_registry"><h3>Registry</h3></a>
- How to detect memory leaks in MFC?
- How to manage memory leaks?
- How to use 'ASSERT' and deal with assertion failures?
<br><a name="mfc_string"><h3>String</h3></a>
- How can I access the registry?
- How can I read data from the registry?
- How can I write data to the registry?
- How to store the application settings in registry?
<br><a name="mfc_printing"><h3>Printing</h3></a><br><a name="mfc_stl"><h3>STL</h3></a><br><a name="mfc_edit_control"><h3>Edit Control</h3></a>
- How to pass CString to Windows API functions?
- How to use 'CString' in non-MFC applications?
- How to assign or compare strings?
- What is the difference between 'CString' and 'std::string'?
- How to get the hexadecimal representation of a ... into a 'CString'?
- How to convert between a 'CString' and a 'BSTR'?
- How to convert between 'CString' and 'std::string'?
- How to convert a 'char*' to 'CString'?
- How to convert a 'CString' to a 'char*'?
- How to convert a numeric type to a string?
- How to convert a string into a numeric type?
- What are the rules for BSTR allocation and deallocation?
<br><a name="mfc_listview_control"><h3>ListView Control</h3></a>
- How to append text to an edit control?
- How to know when text is pasted from clipboard to 'CEdit' control?
- How to replace a line in a multi-line edit control?
- How do I introduce insert/overwrite mode to 'CEdit' derived edit control?
<br><a name="mfc_listbox_control"><h3>ListBox Control</h3></a><br><a name="mfc_tree_control"><h3>Tree Control</h3></a><br><a name="mfc_date_time"><h3>Date and Time</h3></a><br><br>
- How to select a full row in a list control?
- How to add a subitem in a list control?
- How to change the colors in a list control?
- How to get selected items in a list control?
- How to use a context menu in a list control?
- How to correctly delete items from a CListCtrl?
- How CListCtrl notifies "checkbox status changed"?
