When I add the LVS_EX_SUBITEMIMAGES style the ListView sends LVN_GETDISPINFO messages to get icons for every column. If I don't provide an icon it keeps asking even though I set the mask to LVIF_DI_SETITEM. How can I display icons in more than one column, but not every column? HELP!
You could handle NM_CUSTOMDRAW and draw the column in question yourself. "scarless" wrote in message news:C4A83CE4-16B0-4921-B5FA-44E2F7EC8882@microsoft.com... > When I add the LVS_EX_SUBITEMIMAGES style the ListView sends > LVN_GETDISPINFO > messages to get icons for every column. If I don't provide an icon it > keeps > asking even though I set the mask to LVIF_DI_SETITEM. How can I display > icons > in more than one column, but not every column? HELP! >
scarless wrote: > When I add the LVS_EX_SUBITEMIMAGES style the ListView sends LVN_GETDISPINFO > messages to get icons for every column. If I don't provide an icon it keeps > asking even though I set the mask to LVIF_DI_SETITEM. How can I display icons > in more than one column, but not every column? HELP! Please don't multipost. http://www.blakjak.demon.co.uk/mul_crss.htm This was also asked in microsoft.public.platformsdk.ui_shell -- Dean Earley (dean.earley@icode.co.uk) i-Catcher Development Team iCode Systems
scarless schrieb: > When I add the LVS_EX_SUBITEMIMAGES style the ListView sends LVN_GETDISPINFO > messages to get icons for every column. If I don't provide an icon it keeps > asking even though I set the mask to LVIF_DI_SETITEM. How can I display icons > in more than one column, but not every column? HELP! Have you tried setting the image to I_IMAGENONE (-2)? Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice freedom for safety deserve neither."