Click here to Skip to main content
15,906,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldocument timing Pin
Tony Teveris14-Nov-03 4:41
Tony Teveris14-Nov-03 4:41 
GeneralRe: document timing Pin
Ravi Bhavnani14-Nov-03 4:52
professionalRavi Bhavnani14-Nov-03 4:52 
GeneralRe: document timing Pin
Joe Woodbury14-Nov-03 5:56
professionalJoe Woodbury14-Nov-03 5:56 
GeneralRe: document timing Pin
Roger Allen14-Nov-03 6:12
Roger Allen14-Nov-03 6:12 
GeneralI lose the messagebox and cant get it back! Pin
ns14-Nov-03 4:00
ns14-Nov-03 4:00 
GeneralRe: I lose the messagebox and cant get it back! Pin
Ravi Bhavnani14-Nov-03 4:48
professionalRavi Bhavnani14-Nov-03 4:48 
GeneralRe: I lose the messagebox and cant get it back! Pin
ns14-Nov-03 4:53
ns14-Nov-03 4:53 
GeneralRe: I lose the messagebox and cant get it back! Pin
Ravi Bhavnani14-Nov-03 4:59
professionalRavi Bhavnani14-Nov-03 4:59 
This sounds familiar - I recall you were trying to do something like this some months back.
  • It's unwise to display dialogs from within a view's OnInitialUpdate() handler. Instead, post an internal command to the view (eg: IDC_SHOW_MY_MESSAGE) at the end of OnInitialUpdate() and write a handler to for that command that does the AfxMessageBox().

  • Also consider doing the AfxMessageBox() from within InitInstance() if possible.
/ravi

Let's put "civil" back in "civilization"
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralRe: I lose the messagebox and cant get it back! Pin
ns14-Nov-03 5:44
ns14-Nov-03 5:44 
GeneralRe: I lose the messagebox and cant get it back! Pin
Roger Allen14-Nov-03 6:19
Roger Allen14-Nov-03 6:19 
GeneralRe: I lose the messagebox and cant get it back! Pin
ns14-Nov-03 7:05
ns14-Nov-03 7:05 
GeneralOutlook events Pin
derzellner14-Nov-03 3:55
derzellner14-Nov-03 3:55 
GeneralRe: Outlook events Pin
Adam Gritt14-Nov-03 9:13
Adam Gritt14-Nov-03 9:13 
GeneralRe: Outlook events Pin
derzellner16-Nov-03 7:13
derzellner16-Nov-03 7:13 
GeneralRe: Outlook events Pin
Amit Dey23-Nov-03 14:36
Amit Dey23-Nov-03 14:36 
GeneralRe: Outlook events Pin
Anonymous24-Nov-03 5:34
Anonymous24-Nov-03 5:34 
QuestionHow to show my window above all non topmost windows? Pin
julych14-Nov-03 3:20
julych14-Nov-03 3:20 
AnswerRe: How to show my window above all non topmost windows? Pin
Ravi Bhavnani14-Nov-03 4:54
professionalRavi Bhavnani14-Nov-03 4:54 
Generalvs.net 2003 DoModal Pin
(Steven Hicks)n+114-Nov-03 3:13
(Steven Hicks)n+114-Nov-03 3:13 
GeneralFind Data Pin
Anonymous14-Nov-03 2:43
Anonymous14-Nov-03 2:43 
GeneralRe: Find Data Pin
Ravi Bhavnani14-Nov-03 3:02
professionalRavi Bhavnani14-Nov-03 3:02 
GeneralRe: Find Data Pin
Anonymous14-Nov-03 4:05
Anonymous14-Nov-03 4:05 
GeneralRe: Find Data Pin
Ravi Bhavnani14-Nov-03 5:01
professionalRavi Bhavnani14-Nov-03 5:01 
GeneralRe: Find Data Pin
Anonymous14-Nov-03 5:10
Anonymous14-Nov-03 5:10 
GeneralRe: Find Data Pin
Ravi Bhavnani14-Nov-03 6:02
professionalRavi Bhavnani14-Nov-03 6: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.