- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_general">General</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_doc_view">Document/View</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_sdi">SDI</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_mdi">MDI</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_dialog">Dialog</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_application">Application</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_file_system">File System</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_thread">Threads</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_dll">DLL</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_debugging">Debugging</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_registry">Registry</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_string">String</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_printing">Printing</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_stl">MFC & STL</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_edit_control">Edit Control</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_listview_control">ListView Control</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_listbox_control">ListBox Control</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_tree_control">Tree Control</a>
- <a href="https://forums.codeguru.com/showthread.php?350757-FAQ-Index/#mfc_date_time">Date and Time</a>
<hr noshade size="4">
<h3 id="mfc_general" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">General</h3>
- 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?
<h3 id="mfc_doc_view" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Document/View</h3>
- 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?
<h3 id="mfc_sdi" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">SDI</h3>
<h3 id="mfc_mdi" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">MDI</h3>
<h3 id="mfc_dialog" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Dialog</h3>
- 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...?
<h3 id="mfc_application" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Application</h3>
- 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?
<h3 id="mfc_file_system" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">File System</h3>
<h3 id="mfc_thread" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Threads</h3>
- 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?
<h3 id="mfc_dll" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">DLL</h3>
<h3 id="mfc_debugging" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Debugging</h3>
- How to detect memory leaks in MFC?
- How to manage memory leaks?
- How to use 'ASSERT' and deal with assertion failures?
<h3 id="mfc_registry" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Registry</h3>
- 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?
<h3 id="mfc_string" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">String</h3>
- 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?
<h3 id="mfc_printing" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Printing</h3>
<h3 id="mfc_stl" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">MFC & STL</h3>
<h3 id="mfc_edit_control" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Edit Control</h3>
- 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?
<h3 id="mfc_listview_control" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">ListView Control</h3>
- 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"?
<h3 id="mfc_listbox_control" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">ListBox Control</h3>
<h3 id="mfc_tree_control" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Tree Control</h3>
- How to disable an item?
- How to detect which part of an item the user clicked on?
- How to add icons to a tree control?
- How to add checkboxes to a tree control?
- How to expand/collapse a branch?
- How to use 'SetItemData()' and 'GetItemData()'?
<h3 id="mfc_date_time" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Date and Time</h3>
<br><br>