Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: New Stream Types Pin
1-Jul-01 20:03
suss1-Jul-01 20:03 
Generalstupid (template related?) linkage puzzle Pin
Alex Griffing30-Jun-01 20:28
Alex Griffing30-Jun-01 20:28 
GeneralRe: stupid (template related?) linkage puzzle Pin
Michael Dunn30-Jun-01 21:29
sitebuilderMichael Dunn30-Jun-01 21:29 
GeneralRe: stupid (template related?) linkage puzzle Pin
Erik Funkenbusch1-Jul-01 1:22
Erik Funkenbusch1-Jul-01 1:22 
GeneralRe: stupid (template related?) linkage puzzle Pin
NullStream1-Jul-01 8:34
NullStream1-Jul-01 8:34 
GeneralRe: stupid (template related?) linkage puzzle Pin
Alex Griffing1-Jul-01 13:30
Alex Griffing1-Jul-01 13:30 
GeneralSliding message window Pin
30-Jun-01 13:58
suss30-Jun-01 13:58 
GeneralTo all readers - I'm collecting FAQs from this forum Pin
Michael Dunn30-Jun-01 13:44
sitebuilderMichael Dunn30-Jun-01 13:44 
Hi folks. I decided to start collecting FAQs from this forum, and below is a list of the questions I could remember, along with a really brief answer. I'll expand on the answers in the final FAQ, naturally.
If you can think of any additional ones, please mail them to me at mike@codeproject.com.
  • Why don't my #include lines show up right in the forum? [Use &lt; and &gt; instead of < >]
  • I'm trying to call a Windows API, but the compiler gives an undeclared identifier error. What's up? [#define the right values for WINVER, _WIN32_WINNT, _WIN32_IE]
  • Why do I get an unresolved external on main() in ATL project release builds? [#undef _ATL_MIN_CRT]
  • I added some source files I got from someone else and the compiler says "couldn't find precompiled header." What's up? [#include "stdafx.h" or disable use of PCHs as appropriate]
  • Thanks. Now, what's a PCH?
  • What does a debug assert failed mean? [you have a bug]
  • How do I change the background color of a dialog, or draw a picture as the background? [WM_ERASEBKGND]
  • How do I change the cursor when it's in my window? [WM_SETCURSOR]
  • How do I show/hide a window? [ShowWindow()]
  • How do I enable/disable a dialog control (button, etc)? [EnableWindow()]
  • In my MFC app, why doesn't EnableMenuItem() have any effect? [Use ON_UPDATE_COMMAND_UI instead]
  • Why can't I use a member function as a callback? [Make it static, or use a global function and pass it this, then call pThis->MemberFunc()]
  • I'm trying to use cout and cin, but the compiler gives an undeclared identifier error. What's up? [std::cout or using namespace std]


--Mike--
http://home.inreach.com/mdunn/
"Holding the away team at bay with a non-functioning phaser was an act of unmitigated gall. I admire gall."
  -- Lt. Cmdr. Worf
Generalmemset with 32 bit values Pin
Alex Griffing30-Jun-01 11:09
Alex Griffing30-Jun-01 11:09 
GeneralRe: memset with 32 bit values Pin
Mike Nordell30-Jun-01 11:35
Mike Nordell30-Jun-01 11:35 
GeneralRe: memset with 32 bit values Pin
Ben Burnett30-Jun-01 13:17
Ben Burnett30-Jun-01 13:17 
GeneralRe: memset with 32 bit values Pin
Alex Griffing30-Jun-01 14:07
Alex Griffing30-Jun-01 14:07 
GeneralSDI question ... Pin
Hadi Rezaee30-Jun-01 8:17
Hadi Rezaee30-Jun-01 8:17 
GeneralRe: SDI question ... Pin
Hadi Rezaee30-Jun-01 17:23
Hadi Rezaee30-Jun-01 17:23 
GeneralHelp - CString::LoadString(nID) is using the wrong resource handle! Pin
James Millson30-Jun-01 8:07
James Millson30-Jun-01 8:07 
GeneralRe: Help - CString::LoadString(nID) is using the wrong resource handle! Pin
Chris Losinger30-Jun-01 8:19
professionalChris Losinger30-Jun-01 8:19 
GeneralRe: Help - CString::LoadString(nID) is using the wrong resource handle! Pin
James Millson30-Jun-01 14:53
James Millson30-Jun-01 14:53 
GeneralSimple ActiveX question ... Pin
Hadi Rezaee30-Jun-01 7:03
Hadi Rezaee30-Jun-01 7:03 
GeneralDLL IsWindow assert Pin
Peter Marino30-Jun-01 6:58
Peter Marino30-Jun-01 6:58 
GeneralRe: DLL IsWindow assert Pin
Mike Nordell30-Jun-01 8:02
Mike Nordell30-Jun-01 8:02 
GeneralRe: DLL IsWindow assert Pin
Peter Marino30-Jun-01 8:23
Peter Marino30-Jun-01 8:23 
GeneralScrolling problems Pin
SinclairE30-Jun-01 5:47
SinclairE30-Jun-01 5:47 
GeneralRe: Scrolling problems Pin
Julien1-Jul-01 15:32
Julien1-Jul-01 15:32 
GeneralRe: Scrolling problems Pin
SinclairE3-Jul-01 6:57
SinclairE3-Jul-01 6:57 
GeneralGDI painting on top of all other's control Pin
30-Jun-01 3:21
suss30-Jun-01 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.