Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ListView item selection Pin
ilgale29-Jan-08 0:21
ilgale29-Jan-08 0:21 
GeneralUrgent Help ~!! Convert Lab to RGB Pin
azusakt28-Jan-08 23:17
azusakt28-Jan-08 23:17 
GeneralRe: Urgent Help ~!! Convert Lab to RGB Pin
Rajesh R Subramanian28-Jan-08 23:31
professionalRajesh R Subramanian28-Jan-08 23:31 
GeneralRe: Urgent Help ~!! Convert Lab to RGB [modified] Pin
azusakt29-Jan-08 15:26
azusakt29-Jan-08 15:26 
GeneralRe: Urgent Help ~!! Convert Lab to RGB Pin
CPallini28-Jan-08 23:57
mveCPallini28-Jan-08 23:57 
GeneralRe: Urgent Help ~!! Convert Lab to RGB [modified] Pin
Mr. Surprise29-Jan-08 7:35
Mr. Surprise29-Jan-08 7:35 
GeneralRe: Urgent Help ~!! Convert Lab to RGB Pin
azusakt29-Jan-08 19:10
azusakt29-Jan-08 19:10 
GeneralRe: Urgent Help ~!! Convert Lab to RGB [modified] Pin
Mr. Surprise29-Jan-08 22:07
Mr. Surprise29-Jan-08 22:07 
This is a constant RGB macros of the COLORREF structure. Anyway, from 0 to 255 numeric values are equivalence a 24-Bit COLORREF's scope. If you want to chance only RGB macros, you can use the
typedef struct tagCOLORREF structure.
Forexample:
<br />
#define XYZ(int i1, int i2, int i3) 0<br />
<br />
int* pNewInt = new int[255];<br />
pNewInt = NULL;<br />
#ifdef COLORREF<br />
for(int i=0; i<255; i++)<br />
{<br />
// I'm not sure just as already it will be defined a XYZ macro.<br />
RGB(pNewInt[i],pNewInt[i],pNewInt[i]) = XYZ(pNewInt[i],pNewInt[i],pNewInt[i]);<br />
}<br />
delete []pNewInt;<br />
#endif

That is must be a defined tagpoint struct what own yourself.

modified on Thursday, January 31, 2008 6:05:14 AM

GeneralStoring ptint setup info Pin
g_sandipan28-Jan-08 23:12
g_sandipan28-Jan-08 23:12 
GeneralFloating point arithmetic Pin
User 345557728-Jan-08 23:12
User 345557728-Jan-08 23:12 
GeneralRe: Floating point arithmetic Pin
Maxwell Chen28-Jan-08 23:32
Maxwell Chen28-Jan-08 23:32 
GeneralRe: Floating point arithmetic Pin
CPallini28-Jan-08 23:36
mveCPallini28-Jan-08 23:36 
GeneralRe: Floating point arithmetic Pin
Maxwell Chen28-Jan-08 23:39
Maxwell Chen28-Jan-08 23:39 
GeneralRe: Floating point arithmetic Pin
CPallini28-Jan-08 23:51
mveCPallini28-Jan-08 23:51 
GeneralRe: Floating point arithmetic Pin
User 345557728-Jan-08 23:53
User 345557728-Jan-08 23:53 
GeneralRe: Floating point arithmetic Pin
Maxwell Chen28-Jan-08 23:57
Maxwell Chen28-Jan-08 23:57 
GeneralRe: Floating point arithmetic Pin
User 345557728-Jan-08 23:57
User 345557728-Jan-08 23:57 
GeneralRe: Floating point arithmetic Pin
CPallini29-Jan-08 0:13
mveCPallini29-Jan-08 0:13 
GeneralRe: Floating point arithmetic Pin
User 345557729-Jan-08 1:46
User 345557729-Jan-08 1:46 
GeneralRe: Floating point arithmetic Pin
Maxwell Chen29-Jan-08 4:33
Maxwell Chen29-Jan-08 4:33 
GeneralThe villain is found! Pin
User 34555776-Feb-08 1:06
User 34555776-Feb-08 1:06 
QuestionTimer Intervals Pin
Derick Magagula28-Jan-08 22:03
Derick Magagula28-Jan-08 22:03 
GeneralRe: Timer Intervals Pin
Cedric Moonen28-Jan-08 22:09
Cedric Moonen28-Jan-08 22:09 
GeneralRe: Timer Intervals [modified] Pin
Maxwell Chen28-Jan-08 22:09
Maxwell Chen28-Jan-08 22:09 
GeneralRe: Timer Intervals Pin
David Crow29-Jan-08 3:07
David Crow29-Jan-08 3:07 

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.