Click here to Skip to main content
15,914,323 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: An Algorithm !! Pin
VaporTrace19-Sep-05 20:16
VaporTrace19-Sep-05 20:16 
GeneralRe: An Algorithm !! Pin
VaporTrace19-Sep-05 20:20
VaporTrace19-Sep-05 20:20 
GeneralRe: An Algorithm !! Pin
Jomy John19-Sep-05 23:25
Jomy John19-Sep-05 23:25 
GeneralRe: An Algorithm !! Pin
Christian Graus20-Sep-05 11:10
protectorChristian Graus20-Sep-05 11:10 
GeneralRe: An Algorithm !! Pin
Jomy John20-Sep-05 14:53
Jomy John20-Sep-05 14:53 
GeneralRe: An Algorithm !! Pin
Christian Graus20-Sep-05 14:55
protectorChristian Graus20-Sep-05 14:55 
GeneralRe: An Algorithm !! Pin
Jomy John21-Sep-05 4:52
Jomy John21-Sep-05 4:52 
GeneralRe: An Algorithm !! Pin
Christian Graus21-Sep-05 9:11
protectorChristian Graus21-Sep-05 9:11 
Jomy John wrote:
as in GetRValue , GetBValue ..etc are functions in C++ or VC++ ??

The obvious thing would have been to type them into the IDE and see what happened. A COLORREF is just a DWORD, and the GetXValue macros just use byte shifting to pull out the single color. If you wanted to deal with colors as a unit, rather than the pixel values, you may as well sort/group on the colorref, but if you want to work out what the colors are, you need to pull them out in this way.

In all cases, they are specific to Windows, and probably to VC.

Christian Graus - Microsoft MVP - C++
GeneralRe: An Algorithm !! Pin
Jomy John21-Sep-05 10:21
Jomy John21-Sep-05 10:21 
GeneralRe: An Algorithm !! Pin
Christian Graus21-Sep-05 10:25
protectorChristian Graus21-Sep-05 10:25 
GeneralRe: An Algorithm !! Pin
Jomy John21-Sep-05 21:48
Jomy John21-Sep-05 21:48 
GeneralRe: An Algorithm !! Pin
Christian Graus22-Sep-05 12:17
protectorChristian Graus22-Sep-05 12:17 
GeneralRe: An Algorithm !! Pin
Jomy John28-Sep-05 6:38
Jomy John28-Sep-05 6:38 
GeneralRe: An Algorithm !! Pin
Christian Graus28-Sep-05 7:30
protectorChristian Graus28-Sep-05 7:30 
GeneralRe: An Algorithm !! Pin
Jomy John28-Sep-05 15:07
Jomy John28-Sep-05 15:07 
GeneralRe: An Algorithm !! Pin
Christian Graus29-Sep-05 19:39
protectorChristian Graus29-Sep-05 19:39 
GeneralRe: An Algorithm !! Pin
Jomy John30-Sep-05 16:19
Jomy John30-Sep-05 16:19 
AnswerRe: An Algorithm !! Pin
Johann Gerell20-Sep-05 20:05
Johann Gerell20-Sep-05 20:05 
GeneralRe: An Algorithm !! Pin
Jomy John21-Sep-05 4:39
Jomy John21-Sep-05 4:39 
QuestionC++ Pointer To Pointer Pin
BlitzPackage19-Sep-05 14:57
BlitzPackage19-Sep-05 14:57 
NewsRe: C++ Pointer To Pointer Pin
prasad_som19-Sep-05 19:03
prasad_som19-Sep-05 19:03 
AnswerRe: C++ Pointer To Pointer Pin
VaporTrace19-Sep-05 20:09
VaporTrace19-Sep-05 20:09 
AnswerRe: C++ Pointer To Pointer Pin
John R. Shaw21-Sep-05 22:47
John R. Shaw21-Sep-05 22:47 
QuestionHow does this work? Pin
LiquidE_SA19-Sep-05 3:15
LiquidE_SA19-Sep-05 3:15 
AnswerRe: How does this work? Pin
RichardS19-Sep-05 5:56
RichardS19-Sep-05 5:56 

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.