Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modeless Dialog not moving Pin
KnaveR77730-Jun-05 10:30
KnaveR77730-Jun-05 10:30 
GeneralRe: Modeless Dialog not moving Pin
Blake Miller30-Jun-05 12:51
Blake Miller30-Jun-05 12:51 
GeneralRe: Modeless Dialog not moving Pin
KnaveR77730-Jun-05 13:25
KnaveR77730-Jun-05 13:25 
GeneralRe: Modeless Dialog not moving Pin
Jose Lamas Rios30-Jun-05 16:18
Jose Lamas Rios30-Jun-05 16:18 
GeneralRe: Modeless Dialog not moving Pin
KnaveR77730-Jun-05 16:38
KnaveR77730-Jun-05 16:38 
GeneralRe: Modeless Dialog not moving Pin
Blake V. Miller30-Jun-05 17:23
Blake V. Miller30-Jun-05 17:23 
GeneralRe: Modeless Dialog not moving Pin
KnaveR7771-Jul-05 4:02
KnaveR7771-Jul-05 4:02 
GeneralColour Format (Please help) Pin
llp00na30-Jun-05 8:57
llp00na30-Jun-05 8:57 
Dear group,

I am using the IHTMLCurrentStyle class (Visual C++) from the IE's API to get the colour of elements on webpages. I am using the method: HRESULT IHTMLCurrentStyle::get_color(VARIANT *p);

It works perfectly fine. As you might know i would need to do hexadecimal to RGB conversion. but the problem is that people sometimes encode colour as names instead of hexadecimal representation (red instead of #ff0000).
This makes life harder for me because i will need to convert colours from actual names to hexadecimal representations then to RGB format

Does anyone know any method which directly extracts colours in RGB formats ? or at least have any idea on how to perform this efficiently ?

Any ideas are welcomed

llp00na
GeneralRe: Colour Format (Please help) Pin
Chris Losinger30-Jun-05 10:18
professionalChris Losinger30-Jun-05 10:18 
GeneralRe: Colour Format (Please help) Pin
llp00na30-Jun-05 11:02
llp00na30-Jun-05 11:02 
GeneralRe: Colour Format (Please help) Pin
Chris Losinger30-Jun-05 11:07
professionalChris Losinger30-Jun-05 11:07 
GeneralRe: Colour Format (Please help) Pin
llp00na30-Jun-05 23:40
llp00na30-Jun-05 23:40 
GeneralRe: Colour Format (Please help) Pin
David Crow1-Jul-05 3:30
David Crow1-Jul-05 3:30 
GeneralRe: Colour Format (Please help) Pin
David Crow1-Jul-05 3:32
David Crow1-Jul-05 3:32 
GeneralHelp on this error!! Pin
smartymanav30-Jun-05 8:51
smartymanav30-Jun-05 8:51 
GeneralRe: Help on this error!! Pin
David Crow30-Jun-05 9:18
David Crow30-Jun-05 9:18 
GeneralRe: Help on this error!! Pin
smartymanav30-Jun-05 9:23
smartymanav30-Jun-05 9:23 
GeneralRe: Help on this error!! Pin
David Crow30-Jun-05 9:34
David Crow30-Jun-05 9:34 
GeneralRe: Help on this error!! Pin
smartymanav30-Jun-05 20:42
smartymanav30-Jun-05 20:42 
GeneralRe: Help on this error!! Pin
David Crow1-Jul-05 2:59
David Crow1-Jul-05 2:59 
QuestionScan for new disk drives? Pin
goiania30-Jun-05 8:50
goiania30-Jun-05 8:50 
AnswerRe: Scan for new disk drives? Pin
David Crow30-Jun-05 9:12
David Crow30-Jun-05 9:12 
QuestionHow to draw gutter area to left of CRichEditCtrl please Pin
James197630-Jun-05 8:11
James197630-Jun-05 8:11 
GeneralCan't Undock my CDialogBar Pin
NTense30-Jun-05 7:57
NTense30-Jun-05 7:57 
GeneralRe: Can't Undock my CDialogBar Pin
Jose Lamas Rios30-Jun-05 18:40
Jose Lamas Rios30-Jun-05 18: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.