Click here to Skip to main content
15,919,931 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionTumbnail algorithm Pin
martin_hughes14-Sep-07 0:33
martin_hughes14-Sep-07 0:33 
AnswerRe: Tumbnail algorithm Pin
Giorgi Dalakishvili14-Sep-07 0:54
mentorGiorgi Dalakishvili14-Sep-07 0:54 
GeneralRe: Tumbnail algorithm Pin
martin_hughes14-Sep-07 1:30
martin_hughes14-Sep-07 1:30 
GeneralRe: Tumbnail algorithm Pin
Giorgi Dalakishvili14-Sep-07 1:35
mentorGiorgi Dalakishvili14-Sep-07 1:35 
Questionconversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 0:28
professionalTom Deketelaere13-Sep-07 0:28 
AnswerRe: conversion color - hexnumber - color Pin
Luc Pattyn13-Sep-07 1:36
sitebuilderLuc Pattyn13-Sep-07 1:36 
GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 1:43
professionalTom Deketelaere13-Sep-07 1:43 
GeneralRe: conversion color - hexnumber - color Pin
Luc Pattyn13-Sep-07 2:00
sitebuilderLuc Pattyn13-Sep-07 2:00 
TDDragon wrote:
it doesn't return the correct color


Confused | :confused: Confused | :confused:

if you create a Color from its RGB components (within their valid range) and then extract
its components again, you get the same RGB values you started with. This proves nothing
is wrong with FromArgb().

If it does not work for you, you did something wrong elsewhere. Why does your code invert the
color components (0xFF-...)? Did you forget to invert them a second time?

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 2:13
professionalTom Deketelaere13-Sep-07 2:13 
GeneralRe: conversion color - hexnumber - color Pin
Luc Pattyn13-Sep-07 2:36
sitebuilderLuc Pattyn13-Sep-07 2:36 
GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 3:08
professionalTom Deketelaere13-Sep-07 3:08 
GeneralRe: conversion color - hexnumber - color Pin
Luc Pattyn13-Sep-07 3:18
sitebuilderLuc Pattyn13-Sep-07 3:18 
GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 3:26
professionalTom Deketelaere13-Sep-07 3:26 
GeneralRe: conversion color - hexnumber - color Pin
Tim Craig13-Sep-07 18:21
Tim Craig13-Sep-07 18:21 
GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 20:46
professionalTom Deketelaere13-Sep-07 20:46 
AnswerRe: conversion color - hexnumber - color Pin
Jeremy Falcon25-Sep-07 8:45
professionalJeremy Falcon25-Sep-07 8:45 
QuestionDinamyc priority asignation Pin
Nelek12-Sep-07 4:18
protectorNelek12-Sep-07 4:18 
AnswerRe: Dinamyc priority asignation Pin
Russell'13-Sep-07 6:54
Russell'13-Sep-07 6:54 
GeneralRe: Dinamyc priority asignation Pin
Nelek13-Sep-07 22:52
protectorNelek13-Sep-07 22:52 
GeneralRe: Dinamyc priority asignation Pin
Russell'14-Sep-07 0:02
Russell'14-Sep-07 0:02 
GeneralRe: Dinamyc priority asignation Pin
Nelek14-Sep-07 0:51
protectorNelek14-Sep-07 0:51 
GeneralRe: Dinamyc priority asignation Pin
Russell'14-Sep-07 1:07
Russell'14-Sep-07 1:07 
GeneralRe: Dinamyc priority asignation Pin
Nelek14-Sep-07 1:51
protectorNelek14-Sep-07 1:51 
GeneralRe: Dinamyc priority asignation Pin
Russell'14-Sep-07 2:17
Russell'14-Sep-07 2:17 
GeneralRe: Dinamyc priority asignation Pin
Nelek25-Sep-07 2:17
protectorNelek25-Sep-07 2:17 

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.