Click to See Complete Forum and Search --> : CodeGuru Individual FAQs


  1. MFC Dialog: How to set/get the values of various controls?
  2. MFC Dialog: How to add a minimize/maximize button into your dialog?
  3. MFC Dialog: How to hide/show/maximize/minimize a dialog?
  4. C++ General: What are good books about C++ ?
  5. C++ Memory Management: What is the purpose of a constant reference?
  6. C++ Memory Management: What is the difference between 'const char*' and 'char*const'?
  7. C++ Preprocessor: What are '__FILE__' and '__LINE__'?
  8. C++ Memory Management: What is the difference between 'delete' and 'delete[]'?
  9. STL General: How to remove elements of a particular value from a container ?
  10. STL General: How to declare and use two-dimensional arrays?
  11. C++ Memory Management: Why does declaring an array cause my program to crash?
  12. C++ Memory Management: Why does deleting a pointer cause my program to crash?
  13. C++ Operator: How to overload postfix increment and decrement operators?
  14. C++ Operator: Why should I use '++i' instead of 'i++'?
  15. C++ String: How to convert a string into a numeric type?
  16. C++ String: How to convert a numeric type to a string?
  17. MFC Dialog: How to start your dialog application in hidden mode?
  18. MFC Dialog: How to set the dialog window always on top?
  19. MFC Dialog: How to create a non-rectangular dialog box?
  20. MFC Dialog: How to drag a dialog by grabbing any point?
  21. MFC Dialog: How to disable/change the behaviour of the <...> key in a dialog?
  22. C++ String: What types of strings are there?
  23. MFC String: How to convert a 'CString' to a 'char*'?
  24. MFC String: How to convert a 'char*' to 'CString'?
  25. C++ String: How to convert between 'CString' and 'std::string'?
  26. MFC String: How to convert between a 'CString' and a 'BSTR'?
  27. MFC String: How to get the hexadecimal representation of a ... into a 'CString'?
  28. C++ String: What is the difference between 'CString' and std::string'?
  29. C++ String: How to assign or compare strings?
  30. C++ String: How to use 'CString' in non-MFC applications?
  31. Windows SDK String: How to convert between ANSI and UNICODE strings?
  32. MFC List Control: How to select a full row in a list control?
  33. MFC List Control: How to add a subitem in a list control?
  34. MFC List Control: How to change the colors in a list control?
  35. MFC List Control: How to get selected items in a list control?
  36. MFC List Control: How to use a context menu in a list control?
  37. MFC Tree Control: How to use 'SetItemData()' and 'GetItemData()'?
  38. MFC Tree Control: How to expand/collapse a branch?
  39. MFC Tree Control: How to add checkboxes to a tree control?
  40. MFC Tree Controll: How to add icons to a tree control?
  41. MFC Tree Control: How to detect which part of an item the user clicked on?
  42. MFC Tree Control: How to disable an item?
  43. MFC STL: How can I sort a 'CArray' (or 'CStringArray', 'CIntArray', etc.)?
  44. Visual C++ DLL: How to build a DLL to be used from another programming language?
  45. Visual C++ DLL: How to build a resource-only DLL?
  46. C++ Exception Handling: The wrong catch statement catches an exception! Why?
  47. Visual C++ STL: How to remove compilation warning C4786 in Visual C++?
  48. Visual C++ Network: How to get the local hostname?
  49. Visual C++ Network: How to get the local IP address(es)?
  50. Visual C++ Network: How to set a socket option?
  51. Windows SDK Printing: Why does printer not print bitmap?
  52. Windows SDK File System: How to delete a directory and subdirectories?
  53. Windows SDK Registry: How can I read data from the registry?
  54. Windows SDK Registry: How can I write data to the registry?
  55. Windows SDK Registry: How can I access the registry?
  56. C++ Template: Why do I get unresolved externals with my template code?
  57. Java File System: How to search for files in a directory and subdirectories?
  58. C++ String: What is the difference between '\n' and '\r\n'?
  59. C++ Polymorphism: What is polymorphism?
  60. C++ Polymorphism: How to use virtual functions?
  61. Windows SDK Application: How to get the system directory?
  62. Windows SDK Application: How to get the windows directory?
  63. MFC Dialog: How to enhance a dialog-based application with Menu, Toolbar...?
  64. C++ Structure: How do I write a structure to a file?
  65. Visual C++ Debugging: Why does program work in debug mode, but fail in release mode?
  66. C++ Structure: Why returns 'sizeof()' a bigger size than the members actually need?
  67. MFC Doc/View: How to obtain a pointer to various objects?
  68. STL Allocator: What is the meaning of the 'Alloc' template parameter in 'vector'?
  69. MFC Dialog: How to enable/disable the 'Close' button of your dialog at run-time?
  70. C++ Random Number: Why does my random number generator always return the same set?
  71. C++ Random Number: What are good random number generators?
  72. Visual C++ Profiling: Why can't I enable profiling in Visual Studio 6.0?
  73. C++ Profiling: How do I determine the speed of a particular function or operation?
  74. C++ General: How do I convert between big-endian and little-endian values?
  75. Visual C++ Network: Does one call to 'send()' result in one call to 'recv()'?
  76. C++ Preprocessor: What is the purpose of include guards?
  77. Visual C++ Network: When does 'send()' return?
  78. C++ General: How to declare and use two-dimensional arrays?
  79. C++ General: What do 'ntohl()' and 'htonl()' actually do?
  80. Processes: How can I start a process?
  81. Visual C++ Network: When does 'recv()' return?
  82. Windows SDK Thread: How to end a thread?
  83. Visual C++ Network: How do I transfer structure?
  84. Visual C++ STL: How do I use hash maps with Visual C++?
  85. Processes: How can I kill a process?
  86. Processes: How can I wait until a process ends?
  87. Windows SDK Thread: How to create a worker thread?
  88. Windows SDK Thread: How to use member functions as thread functions?
  89. MFC Thread: How to access UI elements from a thread in MFC?
  90. C++ Preprocessor: How to avoid problems with include files?
  91. C++ Casting: What are the C++ casting operators?
  92. C++ Callback: How to use class member functions as callbacks?
  93. Windows SDK File System: How to count files within a directory and subdirectories?
  94. Windows SDK File System: How to search for files in a directory and subdirectories?
  95. Windows SDK File System: How to get information about a partition?
  96. Windows SDK File System: How to get the available logical partitions on my PC?
  97. Windows SDK File System: How can I check the free space on a partition?
  98. MFC Application: How can I limit my application to one instance?
  99. Visual C++ Application: How to get the applications name?
  100. Windows SDK Application: How to set the current working directory?
  101. Windows SDK Application: How to get the current working directory?
  102. Windows SDK Application: How to get the application directory?
  103. Visual C++ Network: How do I use a timeout for 'connect()'?
  104. Visual C++ Debugging: How to manage memory leaks?
  105. Visual C++ Debugging: How to use 'ASSERT' and deal with assertions failures?
  106. C++ Profiling: Which is faster: <...> or [...]?
  107. C++ General: What are different number representations?
  108. C++ General: How to deal with references?
  109. MFC Edit Control: How to know when text is pasted from clipboard to 'CEdit' control?
  110. Windows SDK Application: How to retrieve the version information of my application?
  111. Windows SDK: How to get the reason for a failure of a SDK function?
  112. Windows SDK Edit Control: How to append text to an edit control?
  113. MFC Edit Control: How to append text to an edit control?
  114. MFC General: How to prevent a resizable window to be smaller than...?
  115. MFC MDI: How to change the background of the MDI main frame?
  116. Visual C++ Network: Why do my machine send an RST packet in reply to a SYN/ACK pac
  117. MFC General: How do I change the font of a control?
  118. Visual C++ Debugging: How do I debug my ActiveX/COM component?
  119. C++ General: How is floating point representated?
  120. Visual C++ Debugging: How to display UNICODE strings in Watch/QuickWatch window?
  121. Visual C++ Network: Where can I find examples of socket programs?
  122. C++ Design Pattern: What is a Design Pattern?
  123. C++ General: What are the principles of Object-Oriented Design?
  124. C++ General: What are the differences between inline functions and macros?
  125. Windows SDK File System: How to check for the existance of a directory/file?
  126. Visual C++ General: What is the difference between 'BOOL' and 'bool'?
  127. ATL String: What's wrong with the USES_CONVERSION macros? How to avoid using them?
  128. Windows SDK General: How to register Windows Common Controls in a Win32 application?
  129. C++ General: What are the different methods to pass parameters to functions?
  130. C++ General: What is the 'this' pointer?
  131. C++ General: What are C++ Headers?
  132. C++ Design Pattern: What is a Singleton class?
  133. About this forum
  134. C++ Memory Management: What are the differences between constant objects?
  135. ATL Registry: How can I access the registry?
  136. ATL Registry: How can I read in data from the registry?
  137. ATL Registry: How can I write data to the registry?
  138. Visual C++ General: How to show all messages in ClassWizard list?
  139. FAQs Index
  140. MFC General: How to change frame and caption window styles at run-time?
  141. MFC Doc/View: How to modify the default 'Open' dialog?
  142. MFC Edit Control: How to replace a line in a multi-line edit control?
  143. Windows SDK Thread: Where can I find references on Multithreading?
  144. C++ General: What members of a class are implicitly defined?
  145. Visual C++ Debugging: Step by Step Introduction
  146. MFC General: How do I create full screen applications?
  147. C++ Memory Manament: How to release memory for an array of pointers?
  148. Visual C++ Network: How do I terminate a TCP connection?
  149. Visual C++ Network: How does a TCP connection close?
  150. Windows SDK String: What are the rules for BSTR allocation and deallocation?
  151. STL Sorting: How to sort a 'std::list' containing classes/structures?
  152. STL Sorting: How to sort a 'std::vector' containing classes/structures?
  153. Visual C++ General: Can you help me with my homework assignment?
  154. C# General: What are good C# books?
  155. .NET Framework General: What is the global assembly cache?
  156. .NET Framework General: What is the Garbage Collection?
  157. .NET Framework CLR Tools: How do I use the License Compiler?
  158. .NET Framework CLR Tools: How do I use the Microsoft CLR Debugger?
  159. .NET Framework CLR Tools: How do I use the CLR Minidump tool?
  160. .NET Framework CLR Tools: How do I use the Resource File Generator?
  161. .NET Framework CLR: What is the Common Language Infrastructure?
  162. .NET Framework CLR: What is the Common Language Specification?
  163. .NET Framework CLR: What is the Common Type System?
  164. .NET Framework CLR Tools: How do I use the Runtime Debugger?
  165. .NET Framework IL: What is Language Interoperability?
  166. .NET Framework IL: What is Metadata?
  167. .NET Framework IL: How can I extend Metadata using attributes?
  168. .NET Framework General CLR: What is the Common Language Runtime?
  169. .NET Framework General: What is the difference between managed and unmanaged code?
  170. .NET Framework General: What is the .NET Framework?
  171. MC++ & C++/CLI String: How to convert 'System::String' to 'char*'?
  172. .NET Framework General: What is the .NET Compact Framework?
  173. MFC General: How to make a simple text editor?
  174. .NET Framework IL: What is Obfuscation?
  175. Windows SDK User Interface: How can I emulate keyboard events in an application?
  176. Windows SDK User Interface: How can I emulate mouse events in an application?
  177. Visual C++ Random Number: How do I generate random numbers of specified frequency distribution?
  178. Windows SDK GDI: How do I fill rectangles, regions and texts in graded colours?
  179. Windows SDK GDI: How do I choose a font size to exactly fit a string in a
  180. Visual C++ Debugging: How do I evaluate the time difference between two events?
  181. MFC Edit Control: How do I introduce insert/overwrite mode to 'CEdit' derived edit control?
  182. MFC SDI: How do I create transparent SDI views?
  183. .NET Framework General: What are exceptions?
  184. C++ General: How to minimise mutual dependencies?
  185. MFC General: How to process command line arguments in a MFC application?
  186. Windows SDK GDI: How do I display text filled and in shape of a region?
  187. .NET Framework General: What are .NET data types?
  188. MFC List Control: How to correctly delete items from a CListCtrl?
  189. MFC Registry: How to store the application settings in registry?
  190. Windows SDK GDI: How do I display a bitmap rotated?
  191. C++ General: What are different methods to access identifiers from a namespace?
  192. Windows SDK GDI: How do I calculate the area of a window exposed?
  193. C++ Operator: How to deal with operator overloading?
  194. C++ Memory Management : What is the difference between malloc/free and new/delete?
  195. Visual C++ General: How to use different character sets?
  196. Windows SDK GDI: How do I drag an image?
  197. STL General - How to clear extra capacity of vector?
  198. Visual C++ Application: How to use manifests and re-distributable assemblies?
  199. MFC Dialog: How to handle notifications for dynamically created controls?
  200. How do I recognize a mouse click on a line?
  201. MFC Dialog: How to set the initial position of a modal dialog?
  202. MFC Dialog: Add tooltips to your controls in a dialog
  203. VC++ General: How to avoid making an assignment when the intention is a comparison?
  204. Integer to string and vice-verca for any base
  205. MFC Dialog: How to disable a dialog from being moved?
  206. Posting tips: Minimal, Yet Complete
  207. PHP & JavaScript Interaction
  208. [C++] How do I disable edit features in an edit control?
  209. Visual C++ General: Questions about the Express Edition
  210. Can I run my .NET Application without the .NET Framework?
  211. What is .NET Framework 3.0?
  212. How do I edit a list box item?
  213. How to monitor a folder?
  214. How to delete, copy, or move a folder with all its contents?
  215. How to read a text file line by line?
  216. [C++] What are the differences between classes and structs?
  217. C# General : How can I convert VB.NET code to C#?
  218. .NET Framework General: What is the .NET Framework 3.5?
  219. C# Controls: How do I activate the PrintDialog from a Toolstrip item?
  220. C# General : How do I activate an external Window?
  221. C++ General: What is the initialization list and why should I use it?
  222. Windows SDK: Which Windows API functions are faster, ANSI or UNICODE?
  223. MFC Doc/View: How to get the active document anywhere in my application?
  224. Visual C++ General: How to get user details from Active Directory?
  225. MFC ListBox Control: How CCheckListBox notifies "checkbox status changed"?
  226. MFC ListView Control: How CListCtrl notifies "checkbox status changed"?
  227. Windows SDK GDI: How to capture layered windows?
  228. Visual C++ Debugging: How to show Windows API errors in the Watch window?
  229. Time taken for STL Declaration