Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTreeCtrl and Selection Changed Event Pin
dazinith22-Aug-02 3:43
dazinith22-Aug-02 3:43 
GeneralHyperlink Question Pin
Onyme20-Aug-02 9:13
sussOnyme20-Aug-02 9:13 
GeneralRe: Hyperlink Question Pin
dazinith20-Aug-02 9:36
dazinith20-Aug-02 9:36 
GeneralRe: Hyperlink Question Pin
jmkhael20-Aug-02 9:45
jmkhael20-Aug-02 9:45 
GeneralRe: Hyperlink Question Pin
Anonymous20-Aug-02 9:49
Anonymous20-Aug-02 9:49 
QuestionWhy was WinCE implementation better than Win32? Pin
djrisc20-Aug-02 8:50
djrisc20-Aug-02 8:50 
GeneralRemove taskbar icon to CWnd derived wnd Pin
BlackSmith20-Aug-02 8:39
BlackSmith20-Aug-02 8:39 
GeneralModal MessgeBox Problem Pin
moobob20-Aug-02 7:45
moobob20-Aug-02 7:45 
I have a problem with my app when displaying a MessageBox to indicate an error. I display the message box in a losingFocus callback, if the value of a dialog field is out of range. Most times the message box behaves correctly. The problem occurs when the user clicks in a window outside the application, the message box gets displayed and keeps reappearing when the OK button is pressed. This will continue for 10-20 times before the dialog will stop appearing. I have tried all three of the modality values (MB_APPLMODAL, MB_SYSTEMMODAL, MB_TASKMODAL) with the same results.

Any suggestions as to how I can make the messagebox behave properly when the user clicks outside my application?

Thanks in advance,
Bob
GeneralRe: Modal MessgeBox Problem Pin
Mustafa Demirhan20-Aug-02 9:08
Mustafa Demirhan20-Aug-02 9:08 
GeneralRe: Modal MessgeBox Problem Pin
moobob20-Aug-02 9:20
moobob20-Aug-02 9:20 
GeneralRe: Modal MessgeBox Problem Pin
moobob20-Aug-02 9:31
moobob20-Aug-02 9:31 
GeneralRe: Modal MessgeBox Problem Pin
Mustafa Demirhan20-Aug-02 10:07
Mustafa Demirhan20-Aug-02 10:07 
GeneralCEdit::ReplaceSel Help Needed Pin
Cerb20-Aug-02 7:10
Cerb20-Aug-02 7:10 
GeneralRe: CEdit::ReplaceSel Help Needed Pin
Ravi Bhavnani20-Aug-02 7:35
professionalRavi Bhavnani20-Aug-02 7:35 
GeneralRe: CEdit::ReplaceSel Help Needed Pin
Stephane Rodriguez.20-Aug-02 7:37
Stephane Rodriguez.20-Aug-02 7:37 
GeneralRe: CEdit::ReplaceSel Help Needed Pin
Cerb20-Aug-02 7:45
Cerb20-Aug-02 7:45 
GeneralSocket recv question Pin
Todd Smith20-Aug-02 6:51
Todd Smith20-Aug-02 6:51 
GeneralRe: Socket recv question Pin
Le centriste20-Aug-02 7:10
Le centriste20-Aug-02 7:10 
GeneralRe: Socket recv question Pin
Len Holgate20-Aug-02 7:09
Len Holgate20-Aug-02 7:09 
GeneralDirectshow Pin
Zizilamoroso20-Aug-02 6:45
Zizilamoroso20-Aug-02 6:45 
GeneralRe: Directshow Pin
Stephane Rodriguez.20-Aug-02 7:33
Stephane Rodriguez.20-Aug-02 7:33 
GeneralRe: Directshow Pin
Zizilamoroso20-Aug-02 22:47
Zizilamoroso20-Aug-02 22:47 
Generalbutton focus on w2k Pin
gdourmap@lemel.fr20-Aug-02 6:40
sussgdourmap@lemel.fr20-Aug-02 6:40 
Generaldifference between overwrite PretanslateMessage And OnDefWindowProc Pin
Rene De La Garza20-Aug-02 6:40
Rene De La Garza20-Aug-02 6:40 
GeneralShowing content of wnd while moving Pin
MaTrIX2k220-Aug-02 6:29
MaTrIX2k220-Aug-02 6:29 

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.