Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI wrote the buf[] question, Forgot to login Pin
johnstonsk30-Jun-03 4:02
johnstonsk30-Jun-03 4:02 
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 
Hello,

I am trying to colorize specific rows of my list control. For this I use the OnCustomDraw member function of CListCtrl to select the color before Windows draws the item. This works very nice, except that the icon's background isn't drawn correctly.

See this screenshot:
http://home.tiscali.de/reichl/temp.jpg[^]

As you can see, the row is highlighted correctly, but the icon's background remains white.

How can I draw the icon's background? Confused | :confused:
-Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)

AnswerRe: Custom Draw in CListCtrl - how to change background of icons? Pin
Ryan Binns30-Jun-03 4:12
Ryan Binns30-Jun-03 4:12 
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 

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.