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

C / C++ / MFC

 
GeneralRe: ABS( ) Pin
Ryan Binns8-Jul-03 20:54
Ryan Binns8-Jul-03 20:54 
GeneralRe: ABS( ) Pin
peterchen9-Jul-03 1:59
peterchen9-Jul-03 1:59 
GeneralRe: ABS( ) Pin
DaveE9th9-Jul-03 4:01
DaveE9th9-Jul-03 4:01 
QuestionHow to store a numeric value to *.mdb table from edit box Pin
Emre Zorlu8-Jul-03 20:14
Emre Zorlu8-Jul-03 20:14 
AnswerRe: How to store a numeric value to *.mdb table from edit box Pin
Toni788-Jul-03 20:25
Toni788-Jul-03 20:25 
AnswerRe: How to store a numeric value to *.mdb table from edit box Pin
Terry O'Nolley10-Jul-03 8:18
Terry O'Nolley10-Jul-03 8:18 
QuestionHow to support axtivex control in my mfc regular dll Pin
gucy8-Jul-03 19:47
gucy8-Jul-03 19:47 
AnswerRe: How to support axtivex control in my mfc regular dll Pin
gucy8-Jul-03 20:46
gucy8-Jul-03 20:46 
GeneralAdding toolbar to a SDK in VC++ Pin
madhu_nal8-Jul-03 19:42
madhu_nal8-Jul-03 19:42 
GeneralPlease see why it happened Pin
Anonymous8-Jul-03 19:35
Anonymous8-Jul-03 19:35 
GeneralRe: Please see why it happened Pin
Cedric Moonen8-Jul-03 20:12
Cedric Moonen8-Jul-03 20:12 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 20:37
Ryan Binns8-Jul-03 20:37 
GeneralRe: Please see why it happened Pin
Cedric Moonen8-Jul-03 21:01
Cedric Moonen8-Jul-03 21:01 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 20:38
Ryan Binns8-Jul-03 20:38 
GeneralRe: Please see why it happened Pin
Toni788-Jul-03 20:47
Toni788-Jul-03 20:47 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 20:51
Ryan Binns8-Jul-03 20:51 
GeneralRe: Please see why it happened Pin
Toni788-Jul-03 21:03
Toni788-Jul-03 21:03 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 21:07
Ryan Binns8-Jul-03 21:07 
GeneralRe: Please see why it happened Pin
Toni788-Jul-03 21:16
Toni788-Jul-03 21:16 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 21:21
Ryan Binns8-Jul-03 21:21 
Toni78 wrote:
Wouldn't the main window handle (or any other window that is supposed to receive the enter key) handle that message? MessageBox should have it's own dialog procedure, right?

Yes you're right, but there is a short period of time in between a window being created and it being displayed. Only a few milliseconds, but enough to warrant emptying the queue first. If the enter key is pressed right in this time (or the key posted to the queue), then the dialog box would disappear before it was shown. Remember that WM_PAINT is the lowest-priority message in the system. All other messages are processed before it.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: Please see why it happened Pin
Toni788-Jul-03 21:40
Toni788-Jul-03 21:40 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 21:46
Ryan Binns8-Jul-03 21:46 
GeneralRe: Please see why it happened Pin
Iain Clarke, Warrior Programmer8-Jul-03 22:58
Iain Clarke, Warrior Programmer8-Jul-03 22:58 
GeneralRe: Please see why it happened Pin
Ryan Binns8-Jul-03 23:04
Ryan Binns8-Jul-03 23:04 
GeneralRe: Please see why it happened Pin
Iain Clarke, Warrior Programmer9-Jul-03 1:02
Iain Clarke, Warrior Programmer9-Jul-03 1:02 

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.