Click here to Skip to main content
15,911,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 10:35
BaldwinMartin16-Dec-03 10:35 
GeneralRe: EMail Logic Question Pin
Garth J Lancaster16-Dec-03 11:02
professionalGarth J Lancaster16-Dec-03 11:02 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 11:14
BaldwinMartin16-Dec-03 11:14 
GeneralRe: EMail Logic Question (other option, the best) Pin
Tim Smith16-Dec-03 12:08
Tim Smith16-Dec-03 12:08 
GeneralRe: EMail Logic Question Pin
Ravi Bhavnani16-Dec-03 18:34
professionalRavi Bhavnani16-Dec-03 18:34 
GeneralSys Info Pin
Chechi16-Dec-03 8:17
Chechi16-Dec-03 8:17 
GeneralRe: Sys Info Pin
Alexander M.,16-Dec-03 8:53
Alexander M.,16-Dec-03 8:53 
GeneralRe: Sys Info Pin
BaldwinMartin16-Dec-03 10:57
BaldwinMartin16-Dec-03 10:57 
It is a fine question, nothing wrong with it at all. There is however something wrong with the young man who wrote you such an elitist answer as above.

GetSystemMetrics is a handy group of details about your system.
It returns an integer.
The integer can be one of many, here is a couple of examples.

if(GetSystemMetrics(SM_SLOWMACHINE) == TRUE)
m_proslowfast = "this computer has a low-end (slow) processor";


or

int b = GetSystemMetrics(SM_CLEANBOOT);
if(b == 0)// Normal boot
m_strHowBooted = "Normal boot";
else if(b == 1) //Fail-safe boot
m_strHowBooted = "Fail-safe boot";
else if(b == 2)// Fail-safe with network boot
m_strHowBooted = "Fail-safe with network boot";
else
m_strHowBooted.Format("Error: int b = GetSystemMetrics(SM_CLEANBOOT) returned %d",b);


/////////////////////
SystemParametersInfo is also good, it returns a Boolean value.

BOOL SystemParametersInfo(
UINT uiAction, // system parameter to query or set
UINT uiParam, // depends on action to be taken
PVOID pvParam, // depends on action to be taken
UINT fWinIni // user profile update flag
);
You may search for both of these on this website.



Any time you do not understand, email me and we will figure it out. We all need help from time to time!


Best Wishes and Happy Holiday's,
ez_way
GeneralRe: Sys Info Pin
Tom Wright16-Dec-03 17:59
Tom Wright16-Dec-03 17:59 
GeneralRe: Sys Info Pin
BaldwinMartin16-Dec-03 22:57
BaldwinMartin16-Dec-03 22:57 
GeneralRe: Sys Info Pin
Bob Stanneveld16-Dec-03 21:22
Bob Stanneveld16-Dec-03 21:22 
GeneralRe: Sys Info Pin
BaldwinMartin16-Dec-03 22:55
BaldwinMartin16-Dec-03 22:55 
GeneralRe: Sys Info Pin
Bob Stanneveld17-Dec-03 0:27
Bob Stanneveld17-Dec-03 0:27 
GeneralRe: Sys Info Pin
Alexander M.,18-Dec-03 8:51
Alexander M.,18-Dec-03 8:51 
GeneralRe: Sys Info Pin
BaldwinMartin18-Dec-03 9:54
BaldwinMartin18-Dec-03 9:54 
GeneralString Pin
Anonymous16-Dec-03 8:15
Anonymous16-Dec-03 8:15 
GeneralRe: String Pin
Alexander M.,16-Dec-03 9:00
Alexander M.,16-Dec-03 9:00 
GeneralRe: String Pin
WREY17-Dec-03 8:59
WREY17-Dec-03 8:59 
QuestionHow to display VC++ .NET style MessageBox using Visual C++ 6 Pin
bin892216-Dec-03 7:45
bin892216-Dec-03 7:45 
Generalmultiple thread problem... Pin
Anonymous16-Dec-03 6:44
Anonymous16-Dec-03 6:44 
GeneralRe: multiple thread problem... Pin
John M. Drescher16-Dec-03 7:53
John M. Drescher16-Dec-03 7:53 
Generaloverruling new/delete, malloc/free Pin
Patje16-Dec-03 6:07
Patje16-Dec-03 6:07 
GeneralRe: overruling new/delete, malloc/free Pin
Alexander M.,16-Dec-03 9:05
Alexander M.,16-Dec-03 9:05 
QuestionHow to make a cab file with safe MFC control?? Pin
aglcic16-Dec-03 5:50
aglcic16-Dec-03 5:50 
AnswerRe: How to make a cab file with safe MFC control?? Pin
Roger Stewart16-Dec-03 14:37
professionalRoger Stewart16-Dec-03 14:37 

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.