📄 late_binding_of_image.shtml.htm
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Zafir Anjum">
<META NAME="GENERATOR" CONTENT="Mozilla/4.0 [en] (WinNT; I) [Netscape]">
<TITLE>Late binding of image - I_IMAGECALLBACK</TITLE>
</HEAD>
<body background="../fancyhome/back.gif" tppabs="http://www.codeguru.com/fancyhome/back.gif" bgcolor="#FFFFFF" link="#B50029" vlink="#8E2323" alink="#FF0000" bgproperties="fixed">
<table WIDTH="100%">
<tr WIDTH="100%">
<td><A HREF="http://209.66.99.126/cgi/ads.cgi?advert=myad2"><IMG SRC="../../209.66.99.126/advertise2.gif" tppabs="http://209.66.99.126/advertise2.gif" ALT="" BORDER=2></A><td>
</tr>
</table>
<CENTER>
<H3>
<FONT COLOR="#AOAO99">Late binding of image - I_IMAGECALLBACK</FONT></H3></CENTER>
<HR WIDTH="100%">When inserting an item in the list view control, you don抰
have to specify the image just then. You can delay a decision on the image
by using a callback item. A callback item is an item that causes the list
view control to send the LVN_GETDISPINFO notification to its parent whenever
it needs information to display the item. The LVN_GETDISPINFO notification
can be handled by the parent window or it can be reflected back to the
list view control, the latter solution being the more preferred. Here are
the steps to use message reflection.
<BR>
<UL>
<LI>
Add a message handler for =LVN_GETDISPINFO in your CListCtrl derived class.
The
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -