Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Split a string in MFC Pin
Jijo.Raj20-Jan-10 21:39
Jijo.Raj20-Jan-10 21:39 
AnswerRe: Split a string in MFC Pin
Rajesh R Subramanian20-Jan-10 23:18
professionalRajesh R Subramanian20-Jan-10 23:18 
QuestionHow to get Dialog handle Pin
Anu_Bala20-Jan-10 20:30
Anu_Bala20-Jan-10 20:30 
AnswerRe: How to get Dialog handle [modified] Pin
Nelek20-Jan-10 20:58
protectorNelek20-Jan-10 20:58 
GeneralRe: How to get Dialog handle Pin
Stephen Hewitt20-Jan-10 22:10
Stephen Hewitt20-Jan-10 22:10 
GeneralRe: How to get Dialog handle Pin
Nelek20-Jan-10 22:32
protectorNelek20-Jan-10 22:32 
AnswerRe: How to get Dialog handle Pin
vasu_sri20-Jan-10 21:35
vasu_sri20-Jan-10 21:35 
GeneralRe: How to get Dialog handle Pin
Anu_Bala20-Jan-10 21:47
Anu_Bala20-Jan-10 21:47 
GeneralRe: How to get Dialog handle Pin
vasu_sri20-Jan-10 22:08
vasu_sri20-Jan-10 22:08 
AnswerRe: How to get Dialog handle Pin
SandipG 20-Jan-10 21:42
SandipG 20-Jan-10 21:42 
AnswerRe: How to get Dialog handle Pin
Raj Indian21-Jan-10 1:50
Raj Indian21-Jan-10 1:50 
AnswerRe: How to get Dialog handle Pin
Richard MacCutchan21-Jan-10 2:38
mveRichard MacCutchan21-Jan-10 2:38 
QuestionRe: How to get Dialog handle Pin
David Crow21-Jan-10 3:03
David Crow21-Jan-10 3:03 
Questionstrange Pin
john563220-Jan-10 20:08
john563220-Jan-10 20:08 
AnswerRe: strange Pin
Rajesh R Subramanian20-Jan-10 20:12
professionalRajesh R Subramanian20-Jan-10 20:12 
GeneralRe: strange Pin
john563220-Jan-10 22:43
john563220-Jan-10 22:43 
QuestionReading a (MAC) Address on my (NIC) or any other hardware device information. Pin
rbwest8620-Jan-10 19:52
rbwest8620-Jan-10 19:52 
AnswerRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
Rajesh R Subramanian20-Jan-10 19:58
professionalRajesh R Subramanian20-Jan-10 19:58 
QuestionRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
David Crow21-Jan-10 3:04
David Crow21-Jan-10 3:04 
AnswerRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
rbwest8621-Jan-10 8:28
rbwest8621-Jan-10 8:28 
GeneralRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
David Crow21-Jan-10 8:48
David Crow21-Jan-10 8:48 
AnswerRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
JudyL_MD21-Jan-10 11:34
JudyL_MD21-Jan-10 11:34 
QuestionBeep and MessageBeep not working on Window Server 2008. Pin
Le@rner20-Jan-10 18:41
Le@rner20-Jan-10 18:41 
AnswerRe: Beep and MessageBeep not working on Window Server 2008. Pin
Rajesh R Subramanian20-Jan-10 18:55
professionalRajesh R Subramanian20-Jan-10 18:55 
GeneralRe: Beep and MessageBeep not working on Window Server 2008. Pin
Le@rner20-Jan-10 19:35
Le@rner20-Jan-10 19:35 
//for beep function
	for(int i=750; i>100; i-=200)
		Beep(i,50+i/5);
	
	Beep( 150, 100 );
	
	HRESULT lCode=GetLastError();
	LPVOID lpMsgBuf;
	FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL,
	lCode, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), 
	(LPWSTR) &lpMsgBuf,0,NULL );
	MessageBox((LPCTSTR)lpMsgBuf, _T("Error"), MB_OK | MB_ICONINFORMATION );
//message is "The RPC server is unavilable."
	LocalFree( lpMsgBuf );


for MessageBeep function
	MessageBeep(MB_ICONASTERISK);
	
	HRESULT lCode=GetLastError();
	LPVOID lpMsgBuf;
	FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL,
	lCode, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), 
	(LPWSTR) &lpMsgBuf,0,NULL );
	MessageBox((LPCTSTR)lpMsgBuf, _T("Error"), MB_OK | MB_ICONINFORMATION );
//message is "The request is not supported."
	LocalFree( lpMsgBuf );


To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.

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.