Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I wrote the buf[] question, Forgot to login Pin
Trollslayer30-Jun-03 5:38
mentorTrollslayer30-Jun-03 5:38 
GeneralXP zip Pin
_Magnus_30-Jun-03 4:01
_Magnus_30-Jun-03 4:01 
GeneralRe: XP zip Pin
Neville Franks30-Jun-03 11:53
Neville Franks30-Jun-03 11:53 
GeneralHelp with understanding the use of a buf[] Pin
Anonymous30-Jun-03 4:00
Anonymous30-Jun-03 4:00 
GeneralRe: Help with understanding the use of a buf[] Pin
Trollslayer30-Jun-03 5:37
mentorTrollslayer30-Jun-03 5:37 
GeneralRe: Help with understanding the use of a buf[] Pin
johnstonsk30-Jun-03 6:20
johnstonsk30-Jun-03 6:20 
QuestionCustom Draw in CListCtrl - how to change background of icons? Pin
Dominik Reichl30-Jun-03 3:07
Dominik Reichl30-Jun-03 3:07 
AnswerRe: Custom Draw in CListCtrl - how to change background of icons? Pin
Ryan Binns30-Jun-03 4:12
Ryan Binns30-Jun-03 4:12 
Did you try drawing the background in OnCustomDraw() during the CDDS_ITEMPREPAINT notification? If that doesn't work, try an earlier notification, such as CDDS_ITEMPOSTERASE or even CDDS_ITEMPREERASE (not recommended, but it might work).

Or is the problem that Windows is drawing the white background no matter what you do? If that's the case, the best thing to do would probably be to get the control to draw in a memory DC and change the colour yourself, although that would probably require full owner-draw.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: Custom Draw in CListCtrl - how to change background of icons? Pin
Dominik Reichl30-Jun-03 6:28
Dominik Reichl30-Jun-03 6:28 
GeneralRe: Custom Draw in CListCtrl - how to change background of icons? Pin
Ryan Binns30-Jun-03 17:14
Ryan Binns30-Jun-03 17:14 
GeneralRe: Custom Draw in CListCtrl - how to change background of icons? Pin
Dominik Reichl1-Jul-03 0:15
Dominik Reichl1-Jul-03 0:15 
AnswerRe: Custom Draw in CListCtrl - how to change background of icons? Pin
basementman30-Jun-03 4:35
basementman30-Jun-03 4:35 
GeneralList Box Pin
Jay Hova30-Jun-03 2:57
Jay Hova30-Jun-03 2:57 
GeneralRe: List Box Pin
Michael P Butler30-Jun-03 3:07
Michael P Butler30-Jun-03 3:07 
QuestionIs GetItemText limited to 256 bytes for CString ? Pin
Wormhole523030-Jun-03 2:51
Wormhole523030-Jun-03 2:51 
AnswerRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Trollslayer30-Jun-03 3:40
mentorTrollslayer30-Jun-03 3:40 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Wormhole523030-Jun-03 4:16
Wormhole523030-Jun-03 4:16 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Trollslayer30-Jun-03 5:41
mentorTrollslayer30-Jun-03 5:41 
AnswerRe: Is GetItemText limited to 256 bytes for CSting ? Pin
David Crow30-Jun-03 6:04
David Crow30-Jun-03 6:04 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Wormhole523030-Jun-03 6:19
Wormhole523030-Jun-03 6:19 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
David Crow30-Jun-03 6:29
David Crow30-Jun-03 6:29 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Wormhole523030-Jun-03 6:55
Wormhole523030-Jun-03 6:55 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
David Crow30-Jun-03 7:22
David Crow30-Jun-03 7:22 
GeneralRe: You are right and I am right too. Pin
Wormhole523030-Jun-03 7:40
Wormhole523030-Jun-03 7:40 
GeneralRe: You are right and I am right too. Pin
David Crow30-Jun-03 7:45
David Crow30-Jun-03 7:45 

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.