Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: conversion from _bstr_t to int Pin
_AnsHUMAN_ 16-Jun-06 20:44
_AnsHUMAN_ 16-Jun-06 20:44 
GeneralRe: conversion from _bstr_t to int Pin
ThatsAlok16-Jun-06 22:24
ThatsAlok16-Jun-06 22:24 
QuestionHow to know the dialog is destoryed Pin
xuwenq8816-Jun-06 17:02
xuwenq8816-Jun-06 17:02 
AnswerRe: How to know the dialog is destoryed Pin
_AnsHUMAN_ 16-Jun-06 17:47
_AnsHUMAN_ 16-Jun-06 17:47 
AnswerRe: How to know the dialog is destoryed Pin
Naveen16-Jun-06 18:20
Naveen16-Jun-06 18:20 
AnswerRe: How to know the dialog is destoryed Pin
ThatsAlok16-Jun-06 20:41
ThatsAlok16-Jun-06 20:41 
GeneralRe: How to know the dialog is destoryed Pin
xuwenq8816-Jun-06 23:10
xuwenq8816-Jun-06 23:10 
QuestionWIN32 API to find out color monitor v/s monochrome monitor Pin
rajandpayal16-Jun-06 16:01
rajandpayal16-Jun-06 16:01 
Do we have any good effective WIN32 API which can tell whether my application is running on a system with a color v/s monochrome monitor attached.

A sample code snippet will be helpful.

Am using the following sample and apparently its not giving correct results always.

bool bColorMonitor = false;

// Get the display information
DEVMODE devmode;
if (::EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &devmode))
{
//If dmDisplayFlags is set to zero then monitor is colored otherwise GrayScaled.
bColorMonitor = !(0x01 & devmode.dmDisplayFlags);
}
else
{
dirTrace.Error(_T("EnumDisplaySettings() failed"));
}
QuestionMSChart: Is it possible to combine 2 types of series on 1 MSChart Control? Pin
Martin-77716-Jun-06 12:35
Martin-77716-Jun-06 12:35 
AnswerRe: MSChart: Is it possible to combine 2 types of series on 1 MSChart Control? Pin
Christopher Stratmann13-Jul-06 5:26
Christopher Stratmann13-Jul-06 5:26 
QuestionAdvantages of MFC Pin
maizhiming16-Jun-06 10:19
maizhiming16-Jun-06 10:19 
GeneralRe: Advantages of MFC Pin
Maxwell Chen16-Jun-06 10:53
Maxwell Chen16-Jun-06 10:53 
AnswerRe: Advantages of MFC Pin
_AnsHUMAN_ 16-Jun-06 17:59
_AnsHUMAN_ 16-Jun-06 17:59 
AnswerRe: Advantages of MFC Pin
ThatsAlok16-Jun-06 20:53
ThatsAlok16-Jun-06 20:53 
QuestionCString and sscanf Pin
kitty516-Jun-06 10:15
kitty516-Jun-06 10:15 
AnswerRe: CString and sscanf Pin
Michael Dunn16-Jun-06 10:39
sitebuilderMichael Dunn16-Jun-06 10:39 
GeneralRe: CString and sscanf Pin
Jörgen Sigvardsson16-Jun-06 11:37
Jörgen Sigvardsson16-Jun-06 11:37 
GeneralRe: CString and sscanf Pin
kitty516-Jun-06 12:05
kitty516-Jun-06 12:05 
GeneralRe: CString and sscanf Pin
Jörgen Sigvardsson16-Jun-06 13:23
Jörgen Sigvardsson16-Jun-06 13:23 
QuestionCDialog doesn't have an icon in the task bar Pin
ns16-Jun-06 9:22
ns16-Jun-06 9:22 
AnswerRe: CDialog doesn't have an icon in the task bar Pin
valikac16-Jun-06 11:01
valikac16-Jun-06 11:01 
QuestionShowWindow API Pin
MohammadAmiry16-Jun-06 8:32
MohammadAmiry16-Jun-06 8:32 
QuestionRe: ShowWindow API Pin
David Crow16-Jun-06 8:37
David Crow16-Jun-06 8:37 
AnswerRe: ShowWindow API Pin
Jun Du16-Jun-06 8:51
Jun Du16-Jun-06 8:51 
GeneralRe: ShowWindow API Pin
MohammadAmiry17-Jun-06 0:42
MohammadAmiry17-Jun-06 0:42 

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.