﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-heisehuoyan-最新评论</title><link>http://www.cppblog.com/heisehuoyan/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Thu, 27 Jul 2006 09:55:50 GMT</pubDate><lastBuildDate>Thu, 27 Jul 2006 09:55:50 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: const引用的问题</title><link>http://www.cppblog.com/heisehuoyan/archive/2008/04/09/10602.html#46678</link><dc:creator>fh</dc:creator><author>fh</author><pubDate>Wed, 09 Apr 2008 08:30:00 GMT</pubDate><guid>http://www.cppblog.com/heisehuoyan/archive/2008/04/09/10602.html#46678</guid><description><![CDATA[好文！<img src ="http://www.cppblog.com/heisehuoyan/aggbug/46678.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/heisehuoyan/" target="_blank">fh</a> 2008-04-09 16:30 <a href="http://www.cppblog.com/heisehuoyan/archive/2008/04/09/10602.html#46678#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: VC小技巧15个</title><link>http://www.cppblog.com/heisehuoyan/archive/2008/01/21/10600.html#41575</link><dc:creator>天下无双1</dc:creator><author>天下无双1</author><pubDate>Mon, 21 Jan 2008 11:13:00 GMT</pubDate><guid>http://www.cppblog.com/heisehuoyan/archive/2008/01/21/10600.html#41575</guid><description><![CDATA[不错哦。受用<img src ="http://www.cppblog.com/heisehuoyan/aggbug/41575.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/heisehuoyan/" target="_blank">天下无双1</a> 2008-01-21 19:13 <a href="http://www.cppblog.com/heisehuoyan/archive/2008/01/21/10600.html#41575#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: VC++中如何创建一个窗口</title><link>http://www.cppblog.com/heisehuoyan/archive/2007/09/23/10597.html#32727</link><dc:creator>郭玉臻</dc:creator><author>郭玉臻</author><pubDate>Sun, 23 Sep 2007 08:42:00 GMT</pubDate><guid>http://www.cppblog.com/heisehuoyan/archive/2007/09/23/10597.html#32727</guid><description><![CDATA[<br>建立窗口建议在主程序的WM_CREATE消息中来做<img src ="http://www.cppblog.com/heisehuoyan/aggbug/32727.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/heisehuoyan/" target="_blank">郭玉臻</a> 2007-09-23 16:42 <a href="http://www.cppblog.com/heisehuoyan/archive/2007/09/23/10597.html#32727#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: VC++中如何创建一个窗口</title><link>http://www.cppblog.com/heisehuoyan/archive/2007/09/21/10597.html#32621</link><dc:creator>王</dc:creator><author>王</author><pubDate>Fri, 21 Sep 2007 05:49:00 GMT</pubDate><guid>http://www.cppblog.com/heisehuoyan/archive/2007/09/21/10597.html#32621</guid><description><![CDATA[// 321.cpp : Defines the entry point for the application.<br>//<br>//帮我看下这段代码，为什么还不能生成<br><br>#include &quot;stdafx.h&quot;<br><br>int APIENTRY WinMain(HINSTANCE hInstance,<br>                     HINSTANCE hPrevInstance,<br>                     LPSTR     lpCmdLine,<br>                     int       nCmdShow)<br>{  LRESULT CALLBACK WindowProc(HWND hwnd,<br>							UINT msg,<br>							WPARAM  wParam,<br>							LPARAM  lParam<br>							)<br>{<br>	HPEN RedPen;<br>	switch(msg)<br>	{<br>	case WM_PAINT:<br>		{<br>			PAINTSTRUCT ps;<br>			BeginPaint(hwnd,&amp;ps);<br>			RedPen=CreatePen(PS_SOLID,5,RGB(255,0,0));<br>			EndPaint(hwnd,&amp;ps);<br>			return 0;<br>		}<br>	}<br>}<br><br><br>WNDCLASSEX winclass;<br>winclass.cbSize=sizeof(WNDCLASSEX);<br>winclass.style=CS_HREDRAW | CS_VREDRAW;<br>winclass.lpfnWndProc =WindowProc;<br>winclass.cbClsExtra=0;<br>winclass.cbWndExtra=0;<br>winclass.hInstance=hInstance;<br>winclass.hIcon=LoadIcon(NULL,IDI_APPLICATION);<br>winclass.hCursor=LoadCursor(NULL,IDC_ARROW);<br>winclass.hbrBackground=(HBRUSH)GetStockObject(WHITE_BRUSH);<br>winclass.lpszMenuName=NULL;<br>winclass.lpszClassName=&quot;g_szWindowClassName&quot;;<br>winclass.hIconSm=LoadIcon(NULL,IDI_APPLICATION);<br>if(!RegisterClassEx(&amp;winclass))<br>{MessageBox(NULL,&quot;Class Registration Failed!&quot;,&quot;Error&quot;,0);<br>return 0;<br>}<br><br><br>HWND hWnd;<br>hWnd=CreateWindowEx(NULL,<br>				    &quot;fuck&quot;,<br>				    &quot;haah&quot;,<br>					WS_OVERLAPPEDWINDOW,<br>					0,<br>					0,<br>					20,<br>					20,<br>					NULL,<br>					NULL,<br>					hInstance,<br>					NULL);<br>ShowWindow(hWnd,nCmdShow);<br>UpdateWindow(hWnd);<br>MSG msg;<br>while(GetMessage(&amp;msg,NULL,0,0))<br>{<br>	TranslateMessage(&amp;msg);<br>	DispatchMessage(&amp;msg);<br><br>}<br>// TODO: Place code here.<br><br>	return 0;<br>}<br><br><br><br><br><br><br><img src ="http://www.cppblog.com/heisehuoyan/aggbug/32621.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/heisehuoyan/" target="_blank">王</a> 2007-09-21 13:49 <a href="http://www.cppblog.com/heisehuoyan/archive/2007/09/21/10597.html#32621#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>