Click here to Skip to main content
15,926,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need to convert COLORREF to COLOR16 Pin
CoffeeAddict193-Jan-07 14:45
CoffeeAddict193-Jan-07 14:45 
GeneralRe: Need to convert COLORREF to COLOR16 Pin
Michael Dunn3-Jan-07 14:48
sitebuilderMichael Dunn3-Jan-07 14:48 
GeneralRe: Need to convert COLORREF to COLOR16 Pin
CoffeeAddict193-Jan-07 14:51
CoffeeAddict193-Jan-07 14:51 
AnswerRe: Need to convert COLORREF to COLOR16 Pin
Mark Salsbery3-Jan-07 15:00
Mark Salsbery3-Jan-07 15:00 
QuestionProblem with EndDialog Pin
Fernando A. Gomez F.3-Jan-07 13:18
Fernando A. Gomez F.3-Jan-07 13:18 
AnswerRe: Problem with EndDialog Pin
Mark Salsbery3-Jan-07 13:28
Mark Salsbery3-Jan-07 13:28 
QuestionRe: Problem with EndDialog Pin
Fernando A. Gomez F.3-Jan-07 13:31
Fernando A. Gomez F.3-Jan-07 13:31 
AnswerRe: Problem with EndDialog Pin
Mark Salsbery3-Jan-07 13:40
Mark Salsbery3-Jan-07 13:40 
That's the way you should end the dialog. The same thing that happens when you click a
default OK or Cancel button or the ESC key.

The dialog should end quickly and return from the original DoModal() call.
You probably shouldn't do anything else except return after calling EndDialog() since message
handling for the window is essentially done.

What is happening that makes you feel it's not ending fast enough?

Mark

GeneralRe: Problem with EndDialog Pin
Fernando A. Gomez F.3-Jan-07 13:55
Fernando A. Gomez F.3-Jan-07 13:55 
GeneralRe: Problem with EndDialog Pin
Mark Salsbery3-Jan-07 14:47
Mark Salsbery3-Jan-07 14:47 
GeneralRe: Problem with EndDialog Pin
Fernando A. Gomez F.4-Jan-07 8:07
Fernando A. Gomez F.4-Jan-07 8:07 
AnswerRe: Problem with EndDialog Pin
Michael Dunn3-Jan-07 14:24
sitebuilderMichael Dunn3-Jan-07 14:24 
GeneralRe: Problem with EndDialog Pin
Fernando A. Gomez F.3-Jan-07 14:27
Fernando A. Gomez F.3-Jan-07 14:27 
GeneralRe: Problem with EndDialog Pin
Fernando A. Gomez F.4-Jan-07 8:08
Fernando A. Gomez F.4-Jan-07 8:08 
AnswerRe: Problem with EndDialog Pin
Rajesh R Subramanian3-Jan-07 19:58
professionalRajesh R Subramanian3-Jan-07 19:58 
QuestionRe: Problem with EndDialog Pin
prasad_som3-Jan-07 19:11
prasad_som3-Jan-07 19:11 
AnswerRe: Problem with EndDialog Pin
Fernando A. Gomez F.4-Jan-07 8:08
Fernando A. Gomez F.4-Jan-07 8:08 
AnswerRe: Problem with EndDialog Pin
Fernando A. Gomez F.4-Jan-07 8:06
Fernando A. Gomez F.4-Jan-07 8:06 
QuestionAn IM that Scales Well Pin
Waleed Eissa3-Jan-07 11:12
Waleed Eissa3-Jan-07 11:12 
AnswerRe: An IM that Scales Well Pin
Ray Kinsella3-Jan-07 11:22
Ray Kinsella3-Jan-07 11:22 
GeneralRe: An IM that Scales Well Pin
Waleed Eissa3-Jan-07 11:36
Waleed Eissa3-Jan-07 11:36 
Questioninsert binary file in image column in MS-SQL database Pin
neilsolent3-Jan-07 9:48
neilsolent3-Jan-07 9:48 
AnswerRe: insert binary file in image column in MS-SQL database Pin
David Crow3-Jan-07 9:52
David Crow3-Jan-07 9:52 
AnswerRe: insert binary file in image column in MS-SQL database Pin
Cristian Amarie3-Jan-07 9:55
Cristian Amarie3-Jan-07 9:55 
GeneralRe: insert binary file in image column in MS-SQL database Pin
neilsolent3-Jan-07 10:04
neilsolent3-Jan-07 10:04 

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.