?? mfc programmer's sourcebook miscellaneous.htm
字號:
<HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Author" CONTENT="Zafir Anjum"> <TITLE>MFC Programmer's SourceBook : Miscellaneous</TITLE> <META Name="description" Content="Source codes for listview control"> <META Name="keywords" Content="SOURCE CODE MISC MISCELLANEOUS"></HEAD><body>
<!-- begin logo and top banner ad table -->
<TABLE width=100% cellpadding="0" cellspacing="0">
<!-- REMOVED EARTHWEB BANNER -----------------------------
<TR align="left">
<TD COLSPAN="3" VALIGN="TOP" align="left">
<A HREF="http://www.earthweb.com" TARGET="_top">
<IMG SRC="/images/eweb_banner.gif" BORDER="0" ALT="EarthWeb">
</a>
</TD>
</TR>
-------------------------------------------------------- -->
<TR>
<TD COLSPAN="3" VALIGN="TOP" align="center">
<A HREF="http://www.codeguru.com/RealMedia/ads/click_lx.cgi/ew/ewsoftware/www.codeguru.com/misc/ExeCreator.html/1150236061/house_ribbon/House_ITSMF_Spring03_1zf/itsmf-ribbon.gif/64333965313038343366623839623830" target="_top"><IMG SRC="http://www.codeguru.com/RealMedia/ads/Creatives/House_ITSMF_Spring03_1zf/itsmf-ribbon.gif" ALT="Achieving Operational Excellence in Government IT" BORDER="0"></A><img src="http://www.codeguru.com/RealMedia/ads/adstream_lx.cgi/ew/ewsoftware/www.codeguru.com/misc/ExeCreator.html/1150236061/house_ribbon/House_ITSMF_Spring03_1zf/itsmf-ribbon.gif/64333965313038343366623839623830?_RM_EMPTY_" Width="1" Height="1" Border="0">
</TD>
</TR>
<TR>
<TD align="TOP">
<center>
<SCRIPT LANGUAGE="javascript"> function SetFormAction3() {newLocation = "http://hardwarecentral.dealtime.com/xKW-" + document.frmGSRequest3.keyword.value + "/NS-1/BEFID-" + document.frmGSRequest3.catval.value + "/linkin_id-3019888/GS.html"; document.location.href = newLocation; return; } </SCRIPT><table cellpadding="0" cellspacing="0" border="0" width="750"><tr><td width="270" background="http://www.codeguru.com/RealMedia/ads/Creatives/House_Dealtime_Promotion_1e/bg-left.gif" align="center"><form name="frmGSRequest3" method="get" onsubmit="javascript:SetFormAction3();return false;"> <table width="260" cellpadding="2" cellspacing="0" border="0" background=""><tr><td width="1%"><font size="2" face="verdana" align="center" color="#FFFFFF"><b>Find the lowest price for a variety of products:</b><br><img src="http://www.codeguru.com/RealMedia/ads/Creatives/House_Dealtime_Promotion_1e/sp.gif" width="180" height="5" border="0" alt=""><br><select name="catval"><option value=0 >All Categories</option><option value=72>Computers</option><option value=3>Electronics</option><option value=279>Office</option><option value=368>Software</option><option value=95>Video Games</option></select><br><input type="text" name="keyword" size="16" style="width:150px"> </td><td valign="bottom" width="99%"><INPUT type="image" src="http://www.codeguru.com/RealMedia/ads/Creatives/House_Dealtime_Promotion_1e/go.gif" value="Go" border="0" name="submit"></font></td></tr></table></td></form><td width="214"><a href="http://hardwarecentral.dealtime.com"><img src="http://www.codeguru.com/RealMedia/ads/Creatives/House_Dealtime_Promotion_1e/logo.gif" width="214" height="100" border="0"></a></td><td width="266" background="http://www.codeguru.com/RealMedia/ads/Creatives/House_Dealtime_Promotion_1e/bg-right.gif" align="right"><table width="220" cellpadding="3" cellspacing="0" border="0" background=""><tr><td colspan="2" align="right"><font size="2" face="verdana" align="center" color="#FFFFFF"><b>Featured Categories:</b></font></td><td></td></tr> <tr><td bgcolor="#BDD9C4"><font size="1" face="verdana">
<a href="http://hardwarecentral.dealtime.com/BannerIn/1,2844,,00.html?linkin_id=3019880&nFormId=38733-72-2073&path=/Pages/CategoryV2" target="blank">Computers</a><br><a href="http://hardwarecentral.dealtime.com/xKW-digital_camera/FN-Digital_Cameras/DL-0/NS-1/linkin_id-3019881/GS.html" target="blank">Digital Cameras</a><br><a href="http://hardwarecentral.dealtime.com/xCP-Home_Theater_Complete_Systems~FD-1401~linkin_id-3019882" target="blank">Home Theatre</a><br><a href="http://hardwarecentral.dealtime.com/BannerIn/1,2844,,00.html?linkin_id=3019883&nFormId=38744-95-1&path=/Pages/CategoryV2" target="blank">Video Games</a><br></font></td><td bgcolor="#BDD9C4"><font size="1" face="verdana"><a href="http://hardwarecentral.dealtime.com/xPP-PC_Notebooks~linkin_id-3019884" target="blank">Laptops</a><br><a href="http://hardwarecentral.dealtime.com/BannerIn/1,2844,,00.html?linkin_id=3019885&nFormId=38863-368-1&path=/Pages/CategoryV2C" target="blank">Software</a><br><a href="http://hardwarecentral.dealtime.com/BannerIn/1,2844,,00.html?linkin_id=3019886&nFormId=38732-3-1&path=/Pages/CategoryV2" target="blank">Electronics</a><br><a href="http://hardwarecentral.dealtime.com/xPP-Personal_Organizers~linkin_id-3019887" target="blank">PDA's</a><br></font></td><td width="5" background=""><img src="http://www.codeguru.com/RealMedia/ads/Creatives/House_Dealtime_Promotion_1e/sp.gif" width="5" height="1" border="0" alt=""></td></tr></table></td></tr></table><IMG SRC="http://www.codeguru.com/RealMedia/ads/adstream_lx.cgi/ew/ewsoftware/www.codeguru.com/misc/ExeCreator.html/1128631132/468x60-1/House_Dealtime_Promotion_1e/dealtime_750_2.html/64333965313038343366623839623830?_RM_EMPTY_" WIDTH=1 HEIGHT=1 BORDER=0>
</center>
</TD>
</TR>
</TABLE>
<hr>
<!-- end logo and top banner ad table -->
<!-- begin lower outer table -->
<TABLE cellpadding="0" cellspacing="0" border="0">
<TR>
<TD bgcolor=#efefef VALIGN="TOP" WIDTH="90">
<table border=1 cellspacing=0 cellpadding=0>
<tr><td>
<table border=0 cellpadding=5 cellspacing=0 width=150>
<tr>
<td align="center">
<A HREF="/">
<IMG SRC="/images/logo_cobrand.gif" BORDER="0" ALT="Developer.com">
</a>
</td>
</tr>
<tr>
<td align="center">
<A HREF="http://www.codeguru.com/RealMedia/ads/click_lx.cgi/ew/ewsoftware/www.codeguru.com/misc/ExeCreator.html/391121490/125x125-1/House_Career_Channel_27g/jobs-125.gif/64333965313038343366623839623830" target="_top"><IMG SRC="http://www.codeguru.com/RealMedia/ads/Creatives/House_Career_Channel_27g/jobs-125.gif" ALT="" BORDER="0"></A><img src="http://www.codeguru.com/RealMedia/ads/adstream_lx.cgi/ew/ewsoftware/www.codeguru.com/misc/ExeCreator.html/391121490/125x125-1/House_Career_Channel_27g/jobs-125.gif/64333965313038343366623839623830?_RM_EMPTY_" Width="1" Height="1" Border="0">
</td>
</tr>
</table>
</td></tr>
<tr><td align="center">
<table width="100%" border=0 cellpadding=5 cellspacing=0><tr><td align="center"><font size=-1>
<a href="http://hardwarecentral.dealtime.com/BannerIn/1,2844,,00.html?linkin_id=3012258&nFormId=38733-72-1&path=/Pages/CategoryV2" target="new">Shop for Software</a></font>
</td></tr></table>
</td></tr>
<tr><td>
<table width=130 border=0 cellpadding=5 cellspacing=0>
<tr>
<td>
<!-- SEARCH FORM-->
<form method="post" action="http://search.internet.com/codeguru.earthweb.com">
<input type="hidden" name="IC_StartNumber" value="0">
<input type="hidden" name="IC_BatchSize" value="10">
<input type="hidden" name="IC_RelevanceThreshold" value="30">
<input type="hidden" name="IC_QueryDatabase" value="codeguru.earthweb.com">
<input type="text" name="IC_QueryText" value="" size="10">
<input type="submit" value="Search">
</form>
<!-- END OF SEARCH FORM -->
</td>
</tr>
</table>
<table border=0 cellpadding=5 cellspacing=0 width=150>
<tr><td><span class="navBarH1">CodeGuru Sites</span></td></tr>
<tr><td nowrap>
<small>
<a href="/index.shtml">Visual C++ / MFC / C++</a><br>
<a HREF="/csharp/index.shtml">.NET (C# and more)</a><br>
<a href="/vb/index.shtml">Visual Basic</a><br>
<a href="http://www.gamelan.com">Gamelan (Java)</a><br>
<a href="http://www.jars.com">JARs (Java Applets)</a><br>
<a href="http://www.developer.com">Developer.com</a><br>
<hr>
</small>
<a href="/SubmissionsGuidelines.html">
<font face="verdana, helvetica" color="#000000" size=1>
submission guidelines
</font></a>
<br>
<hr>
</td></tr>
<tr><td><span class="navBarH1">Interact</span></td></tr>
<tr><td nowrap>
<small>
<a href="/forum">Discussion Boards</a><br>
<a href="http://e-newsletters.internet.com">Newsletters (subscribe)</a><br>
<a href="/Guestbook/guestbook.shtml">Guestbook</a><br>
<a href="/cgi-bin/recommend.cgi">Recommend Us!</a><br>
<hr>
</small>
</td></tr>
<tr><td><span class="navBarH1">Of Interest</span></td></tr>
<tr><td nowrap>
<small>
<a href="/bookList/index.shtml">Book List</a> <img src="/images/new.gif"><br>
<a HREF="/bookReviews/index.shtml">Book Reviews</a><br>
<a href="/newsletters/index.shtml">Newsletters (archived)</a><br>
<a href="/about.shtml">About Us</a><br>
<a href="/authorlist/index.html">Authors</a> <!--<img src="/images/new.gif">--><br>
<hr>
</small>
</td></tr>
<tr><td><span class="navBarH1">Article Sections</span></td></tr>
<tr><td>
<span class="navBarH2">Other Section</span><br>
<small>
<a href="/csharp/index.shtml">.NET</a><br>
<a href="/csharp/index.shtml">C#</a><br>
<a href="/vb/index.shtml">Visual Basic</a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">C++</span>
<br>
<small>
<a href="/algorithms/index.shtml">algorithms & formulas</a></br>
<a href="/cpp_mfc/index.shtml">c++ & mfc</a><br>
<a href="/date_time/index.shtml">date & time</a><br>
<a href="/cpp_managed/index.shtml">managed C++</a> <img src="/images/new.gif"></br>
<a href="/string/index.shtml">string</a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">COM-based Technologies</span>
<br>
<small>
<a href="/atl/index.shtml">atl & wtl</a><br>
<a href="/activex/index.shtml">com & activex</a><br>
<a href="/complus/index.shtml">com+</a><br>
<a href="/shell/index.shtml">shell programming</a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">Controls</span>
<br>
<small>
<a href="/buttonctrl/index.shtml">button control </a><br>
<a href="/combobox//index.shtml">combobox </a><br>
<a href="/editctrl/index.shtml">edit control </a><br>
<a href="/imagelist/index.shtml">imagelist control </a><br>
<a href="/listbox/index.shtml">listbox control </a><br>
<a href="/listview/index.shtml">listview control </a><br>
<a href="/menu/index.shtml">menu </a><br>
<a href="/controls/index.shtml">other controls </a><br>
<a href="/propertysheet/index.shtml">property sheet </a><br>
<a href="/richedit/index.shtml">rich edit control </a><br>
<a href="/staticctrl/index.shtml">static control </a><br>
<a href="/statusbar/index.shtml">status bar </a><br>
<a href="/toolbar/index.shtml">toolbar </a><br>
<a href="/treeview/index.shtml">treeview control </a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">Data</span>
<br>
<small>
<!--
<a href="/ado/index.shtml">ado & oledb</a><br>
<a href="/odbc/index.shtml">odbc</a><br>
<a href="/mfc_database/index.shtml">mfc database classes</a><br>
<a href="/office_db/index.shtml">office products</a><br>
<a href="/oracle/index.shtml">oracle</a><br>
<a href="/serialization/index.shtml">serialization</a><br>
<a href="/sqlserver/index.shtml">sql server</a><br>
-->
<a href="/mfc_database/index.shtml">database</a><br>
<a href="/data-misc/index.shtml">miscellaneous</a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">Frameworks</span>
<br>
<small>
<!--
<a href="/component_frameworks/index.shtml">component frameworks</a><br>
<a href="/printing_frameworks/index.shtml">printing frameworks</a><br>
<a href="/ui_frameworks/index.shtml">ui frameworks</a><br>
-->
<a href="/advancedui/index.shtml">ui & printing frameworks</a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">Graphics & Multimedia</span>
<br>
<small>
<a href="/bitmap/index.shtml">bitmaps & palettes</a><br>
<a href="/directx/index.shtml">directx</a><br>
<a href="/gdi/index.shtml">gdi</a><br>
<a href="/multimedia/index.shtml">multimedia</a><br>
<a href="/opengl/index.shtml">opengl</a><br>
</small>
</td></tr>
<tr><td>
<span class="navBarH2">Internet & Networking</span>
<br>
<small>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -