<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'A simple VC++ MFC quiz!' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'A simple VC++ MFC quiz!' posted on the 'Windows programming' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 09:10:42 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 09:10:42 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>A simple VC++ MFC quiz!</title>
      <link>http://www.programmersheaven.com/mb/windows/53431/53431/a-simple-vc++-mfc-quiz/</link>
      <description>In Win32 you use a specific function that checks the WM_xxx messages,&lt;br /&gt;
&lt;br /&gt;
(I don't remember the syntax)&lt;br /&gt;
int CALLBACK WinProc( MSG msg, ....)&lt;br /&gt;
{&lt;br /&gt;
    swith(msg)&lt;br /&gt;
      case WM_CHAR&lt;br /&gt;
         etc.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
hope you understand it!&lt;br /&gt;
&lt;br /&gt;
but how does it works in VC++6 and ofcourse then I mean in MFC.&lt;br /&gt;
&lt;br /&gt;
Help me!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/53431/53431/a-simple-vc++-mfc-quiz/</guid>
      <pubDate>Mon, 19 Feb 2001 12:16:59 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>MFC programming</title>
      <link>http://www.programmersheaven.com/mb/windows/53431/56054/mfc-programming/#56054</link>
      <description>If what you mean is that you want MFC to handle your messages, then you need to setup message handlers.  In your header file, declare: DECLARE_MESSAGE_MAP() and make sure it is protected in your class.  then in your cpp file, include:&lt;br /&gt;
&lt;br /&gt;
BEGIN_MESSAGE_MAP()&lt;br /&gt;
     ON_MESSAGE(WM_MYMESSAGE, MyMessage())&lt;br /&gt;
END_MESSAGE_MAP()&lt;br /&gt;
&lt;br /&gt;
this will execute MyMessage(), everytime a WM_MYMESSAGE is received by the window.  I hope this is what your wondering.  Any questions, email me: dalaptop@hotmail.com.&lt;br /&gt;
&lt;br /&gt;
~Andrew&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/53431/56054/mfc-programming/#56054</guid>
      <pubDate>Sat, 10 Mar 2001 19:59:19 -0700</pubDate>
      <category>Windows programming</category>
    </item>
  </channel>
</rss>