Click here to Skip to main content
15,918,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to change grid color in CListCtrl? Pin
PJ Arends9-Nov-07 5:45
professionalPJ Arends9-Nov-07 5:45 
GeneralRe: how to change grid color in CListCtrl? Pin
dene9997012-Nov-07 13:01
dene9997012-Nov-07 13:01 
QuestionHow to get the icon size and coordinate on the status area Pin
guojing19824239-Nov-07 2:23
guojing19824239-Nov-07 2:23 
AnswerRe: How to get the icon size and coordinate on the status area Pin
David Crow9-Nov-07 4:52
David Crow9-Nov-07 4:52 
AnswerRe: How to get the icon size and coordinate on the status area Pin
Hamid_RT9-Nov-07 20:08
Hamid_RT9-Nov-07 20:08 
Questionquestion on reduce the number of colors Pin
King Tran9-Nov-07 0:53
King Tran9-Nov-07 0:53 
GeneralRe: question on reduce the number of colors Pin
Matthew Faithfull9-Nov-07 4:58
Matthew Faithfull9-Nov-07 4:58 
AnswerRe: question on reduce the number of colors Pin
Mark Salsbery9-Nov-07 5:54
Mark Salsbery9-Nov-07 5:54 
You should be able to

1) Use the octree algorithm to create an optimal palette based on the image pixel values

2) Use the resulting palette and the GetNearestPaletteIndex() API to convert each image
pixel to an index into the palette.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: question on reduce the number of colors Pin
King Tran9-Nov-07 19:47
King Tran9-Nov-07 19:47 
GeneralRe: question on reduce the number of colors Pin
Mark Salsbery10-Nov-07 5:34
Mark Salsbery10-Nov-07 5:34 
GeneralRe: question on reduce the number of colors Pin
King Tran11-Nov-07 1:36
King Tran11-Nov-07 1:36 
QuestionMFC Property sheet with owner drawn button become very flickering Pin
xanagan6669-Nov-07 0:00
xanagan6669-Nov-07 0:00 
AnswerRe: MFC Property sheet with owner drawn button become very flickering Pin
Nelek9-Nov-07 0:35
protectorNelek9-Nov-07 0:35 
QuestionIntegrating a Library into a VC++ Project Pin
bigdenny2008-Nov-07 22:22
bigdenny2008-Nov-07 22:22 
AnswerRe: Integrating a Library into a VC++ Project Pin
Nelek8-Nov-07 22:30
protectorNelek8-Nov-07 22:30 
GeneralRe: Integrating a Library into a VC++ Project Pin
bigdenny2008-Nov-07 22:42
bigdenny2008-Nov-07 22:42 
AnswerRe: Integrating a Library into a VC++ Project Pin
Cedric Moonen8-Nov-07 22:31
Cedric Moonen8-Nov-07 22:31 
GeneralRe: Integrating a Library into a VC++ Project Pin
bigdenny2008-Nov-07 22:42
bigdenny2008-Nov-07 22:42 
QuestionAutomatic variable Pin
George_George8-Nov-07 22:07
George_George8-Nov-07 22:07 
AnswerRe: Automatic variable Pin
Rajasekharan Vengalil8-Nov-07 23:25
Rajasekharan Vengalil8-Nov-07 23:25 
GeneralRe: Automatic variable Pin
George_George9-Nov-07 2:35
George_George9-Nov-07 2:35 
GeneralRe: Automatic variable Pin
Rajasekharan Vengalil9-Nov-07 4:41
Rajasekharan Vengalil9-Nov-07 4:41 
GeneralRe: Automatic variable Pin
George_George9-Nov-07 21:18
George_George9-Nov-07 21:18 
GeneralRe: Automatic variable Pin
super_ttd16-Nov-07 6:13
super_ttd16-Nov-07 6:13 
AnswerRe: Automatic variable Pin
toxcct9-Nov-07 2:23
toxcct9-Nov-07 2:23 

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.