Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut3-Apr-06 13:34
pavanbabut3-Apr-06 13:34 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
Amit Agarrwal3-Apr-06 19:05
Amit Agarrwal3-Apr-06 19:05 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut3-Apr-06 19:08
pavanbabut3-Apr-06 19:08 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
Amit Agarrwal3-Apr-06 19:38
Amit Agarrwal3-Apr-06 19:38 
GeneralRe: Help on error C2632: 'char' followed by 'char' is illegal Pin
pavanbabut4-Apr-06 18:30
pavanbabut4-Apr-06 18:30 
QuestionProgress dialog for long-time processing Pin
JRGlide3-Apr-06 11:21
JRGlide3-Apr-06 11:21 
AnswerRe: Progress dialog for long-time processing Pin
Ryan Binns3-Apr-06 18:42
Ryan Binns3-Apr-06 18:42 
AnswerRe: Progress dialog for long-time processing Pin
Ștefan-Mihai MOGA4-Apr-06 2:32
professionalȘtefan-Mihai MOGA4-Apr-06 2:32 
I think you should use the first method, with a modalless dialog, wich should include a progress control. Than you should add in the parent window, wich does all of your processing, a call to a user defined method like this:

void CYourParentDlg::ProcessIdleMessages()
{
	MSG msg;
	while(::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
	{
		if (msg.message == WM_QUIT) //maybe already closing
		{
			::PostQuitMessage(0);
			break;
		}
		if (!PreTranslateMessage(&msg)) //allow other messages to process
		{
			::TranslateMessage(&msg);
			::DispatchMessage(&msg);
		}
	}
}

This method will process each message and it will respond to your 'Cancel' button.
AnswerRe: Progress dialog for long-time processing Pin
JRGlide4-Apr-06 11:54
JRGlide4-Apr-06 11:54 
Questiondirectshow filter debugging Pin
yongwpi3-Apr-06 10:32
yongwpi3-Apr-06 10:32 
Questionsnding a float in SendMessage Pin
ns3-Apr-06 10:04
ns3-Apr-06 10:04 
AnswerRe: snding a float in SendMessage Pin
David Crow3-Apr-06 10:09
David Crow3-Apr-06 10:09 
GeneralRe: snding a float in SendMessage Pin
ns3-Apr-06 10:55
ns3-Apr-06 10:55 
GeneralRe: snding a float in SendMessage Pin
Milton Karimbekallil3-Apr-06 14:08
Milton Karimbekallil3-Apr-06 14:08 
GeneralRe: snding a float in SendMessage Pin
bonosa3-Apr-06 15:21
bonosa3-Apr-06 15:21 
QuestionSimple Class for RS232 Communication Pin
fambi_mail3-Apr-06 9:22
fambi_mail3-Apr-06 9:22 
AnswerRe: Simple Class for RS232 Communication Pin
Iain Clarke, Warrior Programmer3-Apr-06 13:45
Iain Clarke, Warrior Programmer3-Apr-06 13:45 
GeneralRe: Simple Class for RS232 Communication Pin
fambi_mail3-Apr-06 20:17
fambi_mail3-Apr-06 20:17 
GeneralRe: Simple Class for RS232 Communication Pin
Iain Clarke, Warrior Programmer3-Apr-06 22:04
Iain Clarke, Warrior Programmer3-Apr-06 22:04 
AnswerRe: Simple Class for RS232 Communication Pin
Ștefan-Mihai MOGA3-Apr-06 22:51
professionalȘtefan-Mihai MOGA3-Apr-06 22:51 
QuestionDrawing CEdit to a given DC Pin
Andre xxxxxxx3-Apr-06 8:37
Andre xxxxxxx3-Apr-06 8:37 
AnswerRe: Drawing CEdit to a given DC Pin
includeh103-Apr-06 12:47
includeh103-Apr-06 12:47 
QuestionUSB Pin
surfman193-Apr-06 8:37
surfman193-Apr-06 8:37 
QuestionRe: USB Pin
David Crow3-Apr-06 9:14
David Crow3-Apr-06 9:14 
AnswerRe: USB Pin
surfman193-Apr-06 11:23
surfman193-Apr-06 11:23 

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.