Click here to Skip to main content
15,929,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSHFileOperation and SendMessage Question Pin
Programm3r26-Apr-07 2:22
Programm3r26-Apr-07 2:22 
AnswerRe: SHFileOperation and SendMessage Question Pin
Programm3r26-Apr-07 2:27
Programm3r26-Apr-07 2:27 
GeneralRe: SHFileOperation and SendMessage Question Pin
Mark Salsbery26-Apr-07 7:16
Mark Salsbery26-Apr-07 7:16 
QuestionHow to Develope an Activex using existing controls Pin
viral_umang@hotmail.com26-Apr-07 2:09
viral_umang@hotmail.com26-Apr-07 2:09 
GeneralRe: How to Develope an Activex using existing controls Pin
GuyM26-Apr-07 2:36
GuyM26-Apr-07 2:36 
GeneralRe: How to Develope an Activex using existing controls Pin
viral_umang@hotmail.com26-Apr-07 2:51
viral_umang@hotmail.com26-Apr-07 2:51 
QuestionCString Pin
Bravoone_200626-Apr-07 2:07
Bravoone_200626-Apr-07 2:07 
AnswerRe: CString Pin
GuyM26-Apr-07 2:26
GuyM26-Apr-07 2:26 
Try this function:
<br />
void RoundString(CString& str)<br />
{<br />
	float fVal = 0;<br />
	swscanf_s(str, L"%f", &fVal);<br />
	int nTemp = (int)((fVal + 0.005)*100);<br />
	fVal = (float)((float)nTemp/100);<br />
	str.Format(L"%.4f", fVal);<br />
}<br />

GeneralRe: CString Pin
Bravoone_200626-Apr-07 2:41
Bravoone_200626-Apr-07 2:41 
GeneralRe: CString Pin
David Crow26-Apr-07 2:45
David Crow26-Apr-07 2:45 
GeneralRe: CString Pin
Bravoone_200626-Apr-07 2:54
Bravoone_200626-Apr-07 2:54 
GeneralRe: CString Pin
Maximilien26-Apr-07 3:32
Maximilien26-Apr-07 3:32 
GeneralRe: CString Pin
toxcct26-Apr-07 7:11
toxcct26-Apr-07 7:11 
GeneralRe: CString Pin
GuyM26-Apr-07 2:53
GuyM26-Apr-07 2:53 
GeneralRe: CString Pin
Bravoone_200626-Apr-07 3:03
Bravoone_200626-Apr-07 3:03 
GeneralRe: CString Pin
GuyM26-Apr-07 3:05
GuyM26-Apr-07 3:05 
GeneralRe: CString Pin
Cedric Moonen26-Apr-07 3:36
Cedric Moonen26-Apr-07 3:36 
GeneralRe: CString Pin
David Crow26-Apr-07 3:55
David Crow26-Apr-07 3:55 
GeneralRe: CString Pin
toxcct26-Apr-07 7:13
toxcct26-Apr-07 7:13 
GeneralRe: CString Pin
toxcct26-Apr-07 7:15
toxcct26-Apr-07 7:15 
AnswerRe: CString Pin
Bravoone_200626-Apr-07 19:26
Bravoone_200626-Apr-07 19:26 
GeneralRe: CString Pin
cp987626-Apr-07 20:23
cp987626-Apr-07 20:23 
GeneralRe: CString Pin
GuyM28-Apr-07 20:27
GuyM28-Apr-07 20:27 
QuestionError executing BSCMAKE.exe Pin
Neeraj Sinha26-Apr-07 1:44
Neeraj Sinha26-Apr-07 1:44 
QuestionCan i partition Router or Switch into trusted and untrusted network Pin
sharmaarvind26-Apr-07 1:33
sharmaarvind26-Apr-07 1:33 

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.