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

C / C++ / MFC

 
GeneralRe: Urgent help needed! Pin
Joan M15-Nov-02 3:31
professionalJoan M15-Nov-02 3:31 
GeneralRe: Urgent help needed! Pin
smartptr4-Dec-02 10:11
smartptr4-Dec-02 10:11 
GeneralCHtmlView and IDispatch Pin
Taka Muraoka14-Nov-02 23:30
Taka Muraoka14-Nov-02 23:30 
GeneralProper way to send e-mail Pin
georgiek5014-Nov-02 23:25
georgiek5014-Nov-02 23:25 
GeneralRe: Proper way to send e-mail Pin
benjymous14-Nov-02 23:58
benjymous14-Nov-02 23:58 
GeneralRe: Proper way to send e-mail Pin
Rickard Andersson2015-Nov-02 0:44
Rickard Andersson2015-Nov-02 0:44 
GeneralRe: Proper way to send e-mail Pin
georgiek5015-Nov-02 1:19
georgiek5015-Nov-02 1:19 
GeneralAssociateColorProfileWithDevice Pin
Richard Boesiger14-Nov-02 23:15
Richard Boesiger14-Nov-02 23:15 
Has anyone ever used AssociateColorProfileWithDevice to set the default color profile for a display adapter?

The action should result the same as setting the profile manually with the DisplayProperties->AdvancedSetings->ColorProfiles.

I used the following code, but nothing happens:

if(InstallColorProfile(NULL, alColorProfile))<br />
{<br />
  SetOutputText("Color Profile " + alColorProfile + " installed");<br />
}<br />
else<br />
{<br />
  ShowLastError("InstallColorProfile");<br />
}<br />
<br />
CString alMessage;<br />
alMessage.Format("Try AssociateColorProfileWithDevice(NULL, \"%s\", \"%s\")", alColorProfile, amPrimaryDevice);<br />
SetOutputText(alMessage);<br />
if(AssociateColorProfileWithDevice(NULL, alColorProfile, amPrimaryDevice))<br />
{<br />
  SetOutputText("Color Profile " + alColorProfile + " associated with device " + amPrimaryDevice);<br />
}<br />
else<br />
{<br />
  ShowLastError("AssociateColorProfileWithDevice");<br />
}


ThankYou for any answer

Richard BoesigerSmile | :)
GeneralProblem with PaintRgn()... Pin
Neha14-Nov-02 22:51
Neha14-Nov-02 22:51 
GeneralRe: Problem with PaintRgn()... Pin
NormDroid15-Nov-02 8:50
professionalNormDroid15-Nov-02 8:50 
GeneralActive Desktop Pin
Grep14-Nov-02 22:47
Grep14-Nov-02 22:47 
GeneralCreateFile on COM1 Pin
Anonymous14-Nov-02 22:21
Anonymous14-Nov-02 22:21 
GeneralRe: CreateFile on COM1 Pin
NormDroid15-Nov-02 8:49
professionalNormDroid15-Nov-02 8:49 
GeneralGDI+ weird problems Pin
Vije14-Nov-02 22:14
Vije14-Nov-02 22:14 
Generaldialog apps with popups Pin
MattG14-Nov-02 21:55
MattG14-Nov-02 21:55 
GeneralRe: dialog apps with popups Pin
Christian Graus14-Nov-02 22:16
protectorChristian Graus14-Nov-02 22:16 
GeneralCOM server threading model / ASP Pin
devvvy14-Nov-02 21:42
devvvy14-Nov-02 21:42 
GeneralRe: COM server threading model / ASP Pin
Daniel Turini14-Nov-02 21:58
Daniel Turini14-Nov-02 21:58 
GeneralRe: COM server threading model / ASP Pin
devvvy14-Nov-02 22:06
devvvy14-Nov-02 22:06 
GeneralStatusbar update problem Pin
Equinoxe14-Nov-02 21:19
Equinoxe14-Nov-02 21:19 
GeneralChange Cursor again Pin
Dennis L14-Nov-02 21:11
Dennis L14-Nov-02 21:11 
GeneralRe: Change Cursor again Pin
georgiek5014-Nov-02 23:22
georgiek5014-Nov-02 23:22 
GeneralRe: Change Cursor again Pin
Dennis L15-Nov-02 0:51
Dennis L15-Nov-02 0:51 
GeneralHe PocketPC developers, PLEASE HELP! Pin
Daniel Strigl14-Nov-02 20:19
Daniel Strigl14-Nov-02 20:19 
GeneralRe: He PocketPC developers, PLEASE HELP! Pin
Daniel Strigl17-Nov-02 23:35
Daniel Strigl17-Nov-02 23:35 

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.