Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwin32 dialog Pin
john563218-Jan-10 1:58
john563218-Jan-10 1:58 
AnswerRe: win32 dialog Pin
Abhi Lahare18-Jan-10 6:16
Abhi Lahare18-Jan-10 6:16 
QuestionThreading Pin
HakunaMatada18-Jan-10 1:48
HakunaMatada18-Jan-10 1:48 
AnswerRe: Threading Pin
Cedric Moonen18-Jan-10 2:08
Cedric Moonen18-Jan-10 2:08 
GeneralRe: Threading Pin
HakunaMatada18-Jan-10 2:11
HakunaMatada18-Jan-10 2:11 
AnswerRe: Threading Pin
Moak18-Jan-10 3:34
Moak18-Jan-10 3:34 
GeneralRe: Threading Pin
HakunaMatada19-Jan-10 1:26
HakunaMatada19-Jan-10 1:26 
QuestionClose A DIalog Pin
john563218-Jan-10 0:58
john563218-Jan-10 0:58 
Hi,


I tried to create a dialog (Modal) based application using win32. It is working but
at close button not able to close.

It is disappearing but not closing properly..my mean to say is that running behind..I checked with Task Manager.


Code for CallBack procedure is as:


BOOL CALLBACK ToolDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)

case WM_COMMAND:
switch(LOWORD(wParam))
{
case IDOK:
EndDialog(hwnd, wParam);
return (INT_PTR)TRUE;
}
break;

What is the wrong?
AnswerRe: Close A DIalog Pin
Code-o-mat18-Jan-10 1:25
Code-o-mat18-Jan-10 1:25 
GeneralRe: Close A DIalog Pin
john563218-Jan-10 1:29
john563218-Jan-10 1:29 
QuestionThread paused Pin
susanne117-Jan-10 23:56
susanne117-Jan-10 23:56 
QuestionRe: Thread paused Pin
CPallini18-Jan-10 0:16
mveCPallini18-Jan-10 0:16 
AnswerRe: Thread paused Pin
susanne118-Jan-10 0:50
susanne118-Jan-10 0:50 
GeneralRe: Thread paused Pin
CPallini18-Jan-10 0:58
mveCPallini18-Jan-10 0:58 
AnswerRe: Thread paused Pin
Covean18-Jan-10 0:59
Covean18-Jan-10 0:59 
QuestionRe: Thread paused Pin
CPallini18-Jan-10 1:39
mveCPallini18-Jan-10 1:39 
AnswerRe: Thread paused Pin
Covean18-Jan-10 1:57
Covean18-Jan-10 1:57 
AnswerRe: Thread paused Pin
xushih19-Jan-10 1:38
xushih19-Jan-10 1:38 
QuestionRe: Thread paused Pin
CPallini19-Jan-10 1:54
mveCPallini19-Jan-10 1:54 
AnswerRe: Thread paused Pin
Adam Roderick J18-Jan-10 0:18
Adam Roderick J18-Jan-10 0:18 
QuestionRe: Thread paused Pin
Covean18-Jan-10 1:02
Covean18-Jan-10 1:02 
GeneralRe: Thread paused Pin
susanne118-Jan-10 1:16
susanne118-Jan-10 1:16 
GeneralRe: Thread paused Pin
Covean18-Jan-10 1:49
Covean18-Jan-10 1:49 
QuestionObject in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:20
Lazzari Patrizio17-Jan-10 22:20 
QuestionRe: Object in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:23
Lazzari Patrizio17-Jan-10 22: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.