Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConnecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 5:28
Mike the Red27-Apr-06 5:28 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
David Crow27-Apr-06 5:46
David Crow27-Apr-06 5:46 
AnswerRe: Connecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 6:01
Mike the Red27-Apr-06 6:01 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
David Crow27-Apr-06 6:36
David Crow27-Apr-06 6:36 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 7:31
Mike the Red27-Apr-06 7:31 
QuestionRe: Connecting to remote (LAN) computer using UNC Pin
David Crow27-Apr-06 7:59
David Crow27-Apr-06 7:59 
AnswerRe: Connecting to remote (LAN) computer using UNC Pin
Mike the Red27-Apr-06 8:25
Mike the Red27-Apr-06 8:25 
QuestionRefreshing problem in User Defined List Control (CListCtrl) Pin
BlrBoy27-Apr-06 5:14
BlrBoy27-Apr-06 5:14 
QuestionFolder Dialog for Remote Machine Pin
ariaz27-Apr-06 4:16
ariaz27-Apr-06 4:16 
AnswerRe: Folder Dialog for Remote Machine Pin
Ravi Bhavnani27-Apr-06 4:52
professionalRavi Bhavnani27-Apr-06 4:52 
QuestionComparing Two Bitmap Pin
shadrach_india27-Apr-06 2:57
shadrach_india27-Apr-06 2:57 
AnswerRe: Comparing Two Bitmap Pin
Cedric Moonen27-Apr-06 3:10
Cedric Moonen27-Apr-06 3:10 
AnswerRe: Comparing Two Bitmap Pin
Hamid_RT27-Apr-06 3:40
Hamid_RT27-Apr-06 3:40 
GeneralRe: Comparing Two Bitmap Pin
Rilhas29-Apr-06 13:59
Rilhas29-Apr-06 13:59 
GeneralRe: Comparing Two Bitmap Pin
Hamid_RT30-Apr-06 19:32
Hamid_RT30-Apr-06 19:32 
QuestionWake on Lan (WOL) Pin
kiran janaswamy27-Apr-06 2:31
kiran janaswamy27-Apr-06 2:31 
AnswerRe: Wake on Lan (WOL) Pin
Ravi Bhavnani27-Apr-06 4:54
professionalRavi Bhavnani27-Apr-06 4:54 
QuestionPop up blocker designing problem Pin
captaincse27-Apr-06 2:31
captaincse27-Apr-06 2:31 
AnswerRe: Pop up blocker designing problem Pin
James R. Twine27-Apr-06 3:03
James R. Twine27-Apr-06 3:03 
GeneralRe: Pop up blocker designing problem Pin
captaincse28-Apr-06 21:14
captaincse28-Apr-06 21:14 
Questionnmake to build dll Pin
Shiva Prasad27-Apr-06 2:05
Shiva Prasad27-Apr-06 2:05 
QuestionDisable the menu Pin
Anu_Bala27-Apr-06 0:45
Anu_Bala27-Apr-06 0:45 
QuestionComparing colors-newbie Pin
antonaras_marcou27-Apr-06 0:05
antonaras_marcou27-Apr-06 0:05 
Hi again i have a strange question to ask i'am not sure if it is applicable but if there is a way to do it here is right place to find out.

i'm working on the implementation of a spam filter and i'm trying to implement a function that extracts the fonts color and the background color from an html file.
What i'm trying to do is check if the font color and the background color are similar (invisible text, common in spam emails) i get the bgcolor and font color in hexadecimal format and i was wondering if there is a class to compare the colors. i found something similar but for c#.net is

System.Drawing.Color cfg = System.Drawing.ColorTranslator.FromHtml(foreColor);

if (cbg.R <= cfg.R + 15 ||cbg.R >= cfg.R - 15)
{
if (cbg.R <= cfg.R + 15 ||cbg.R >= cfg.R - 15)
{
if (cbg.R <= cfg.R + 15 ||cbg.R >= cfg.R - 15)
{
return fsi;
}
}
}
Any ideas
Thanks in advance
AnswerRe: Comparing colors-newbie Pin
Cedric Moonen27-Apr-06 0:14
Cedric Moonen27-Apr-06 0:14 
GeneralRe: Comparing colors-newbie Pin
antonaras_marcou27-Apr-06 0:23
antonaras_marcou27-Apr-06 0: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.