Click here to Skip to main content
15,921,179 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralData Transfer - Help!!! Pin
Sameer Maggon29-May-02 20:29
Sameer Maggon29-May-02 20:29 
GeneralRe: Data Transfer - Help!!! Pin
Ed Gadziemski30-May-02 11:25
professionalEd Gadziemski30-May-02 11:25 
GeneralSorting Pin
29-May-02 19:42
suss29-May-02 19:42 
QuestionHow does CAsyncSocket start it's notification loop? Pin
29-May-02 18:41
suss29-May-02 18:41 
AnswerRe: How does CAsyncSocket start it's notification loop? Pin
Joaquín M López Muñoz29-May-02 19:53
Joaquín M López Muñoz29-May-02 19:53 
GeneralRe: Thx (How does CAsyncSocket start it's notification loop?) Pin
29-May-02 20:30
suss29-May-02 20:30 
GeneralCListCtrl Overlay Images. Pin
myfriendofmisery29-May-02 18:40
myfriendofmisery29-May-02 18:40 
GeneralRe: CListCtrl Overlay Images. Pin
Shog929-May-02 19:30
sitebuilderShog929-May-02 19:30 
You're missing a few steps. Overlay images have to be specified as such in the image list before they can be used. Say you've got two icons in the image list, and you want to use the second one as the overlay:
m_ImageList.SetOverlayImage(1,1);

(image indexes are 0-based, so index 1 = the second image; overlay indexes are 1-based, so index 1 = the first overlay image)

Now you have an overlay defined, and you can set the icon to be drawn with the overlay:
lvItem.mask = LVIF_STATE|LVIF_IMAGE;   // valid data members
lvItem.iImage = 0;   // first icon
lvItem.stateMask = LVIS_OVERLAYMASK;  // portion of state that will be modified
lvItem.state = INDEXTOOVERLAYMASK(1);   // overlay #1


That should do it!

--------

You can change the extention so it reads ASP even though it is PHP which is kind of cool. - Martin Marvinski

--Shog9 --


GeneralTAPI Pin
Sameer Maggon29-May-02 18:34
Sameer Maggon29-May-02 18:34 
GeneralRe: TAPI Pin
Michael P Butler29-May-02 22:01
Michael P Butler29-May-02 22:01 
GeneralMessage Queue and Threads Pin
wilche29-May-02 17:51
wilche29-May-02 17:51 
GeneralRe: Message Queue and Threads Pin
Prem Kumar29-May-02 18:28
Prem Kumar29-May-02 18:28 
GeneralRe: Message Queue and Threads Pin
wilche30-May-02 13:52
wilche30-May-02 13:52 
GeneralRe: Message Queue and Threads Pin
Bill Wilson30-May-02 12:12
Bill Wilson30-May-02 12:12 
GeneralRe: Message Queue and Threads Pin
wilche30-May-02 13:48
wilche30-May-02 13:48 
GeneralPassing Pointer Between DLL & App Pin
29-May-02 17:08
suss29-May-02 17:08 
GeneralRe: Passing Pointer Between DLL & App Pin
Joaquín M López Muñoz29-May-02 19:47
Joaquín M López Muñoz29-May-02 19:47 
GeneralRe: Passing Pointer Between DLL & App Pin
29-May-02 21:09
suss29-May-02 21:09 
GeneralRe: Passing Pointer Between DLL & App Pin
29-May-02 21:14
suss29-May-02 21:14 
GeneralRe: Passing Pointer Between DLL & App Pin
29-May-02 21:35
suss29-May-02 21:35 
GeneralWho Pin
chen29-May-02 17:13
chen29-May-02 17:13 
GeneralIE Standard Buttons 'dithering' Pin
Tim Deveaux29-May-02 13:47
Tim Deveaux29-May-02 13:47 
GeneralRe: IE Standard Buttons 'dithering' Pin
Shog929-May-02 15:05
sitebuilderShog929-May-02 15:05 
GeneralRe: IE Standard Buttons 'dithering' Pin
Tim Deveaux30-May-02 4:01
Tim Deveaux30-May-02 4:01 
GeneralRe: IE Standard Buttons 'dithering' Pin
Michael Dunn29-May-02 17:48
sitebuilderMichael Dunn29-May-02 17:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.