Click here to Skip to main content
15,888,251 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pls Help how to read from windows(edit box) Pin
14-Sep-05 0:55
suss14-Sep-05 0:55 
GeneralRe: Pls Help how to read from windows(edit box) Pin
ThatsAlok14-Sep-05 1:39
ThatsAlok14-Sep-05 1:39 
AnswerRe: Pls Help how to read from windows(edit box) Pin
ky_rerun14-Sep-05 16:22
ky_rerun14-Sep-05 16:22 
GeneralRe: Pls Help how to read from windows(edit box) Pin
ThatsAlok14-Sep-05 17:59
ThatsAlok14-Sep-05 17:59 
QuestionVisual Studio function comments Pin
MartinWA13-Sep-05 22:28
MartinWA13-Sep-05 22:28 
AnswerRe: Visual Studio function comments Pin
Anonymous13-Sep-05 23:20
Anonymous13-Sep-05 23:20 
Questionerror LNK2001 Pin
momer13-Sep-05 22:00
momer13-Sep-05 22:00 
QuestionMessageBox, Help needed Pin
pradish13-Sep-05 21:47
pradish13-Sep-05 21:47 
Confused | :confused: Hi all



I have this application, when ever a failure condition is encountered, i display a message box and
post a quit message to the window and exit.

but the message box is displayed only if i press on the
ALT key, i tried to change the MessageBox style to MB_TopMOST|MB_SYSTEMMODAL nothing is working for me

i want the messagebox to be displayed in foreground.

MyCode:

MessageBox(AfxGetMainWnd()->GetSafeHwnd(),"Fatal Error!!!,Application will terminate","ERROR", MB_OK|MB_ICONERROR|MB_TOPMOST);//notworking

or

MessageBox(HWND_DESKTOP,"Fatal Error!!!,Application will terminate","ERROR",MB_OK|MB_ICONERROR|MB_TOPMOST);//NOT WORKING

or

AfxMessageBox(-as above__)// not working


please help, urgent...





regards
pradish
AnswerRe: MessageBox, Help needed Pin
Nishad S13-Sep-05 23:26
Nishad S13-Sep-05 23:26 
AnswerRe: MessageBox, Help needed Pin
Frank K14-Sep-05 0:32
Frank K14-Sep-05 0:32 
AnswerRe: MessageBox, Help needed Pin
ThatsAlok14-Sep-05 1:45
ThatsAlok14-Sep-05 1:45 
Questionrefreshing the dialog window Pin
a_david12313-Sep-05 21:11
a_david12313-Sep-05 21:11 
AnswerRe: refreshing the dialog window Pin
toxcct13-Sep-05 21:16
toxcct13-Sep-05 21:16 
QuestionInteract with Windows Services Pin
13-Sep-05 21:02
suss13-Sep-05 21:02 
AnswerRe: Interact with Windows Services Pin
prasad_som14-Sep-05 0:03
prasad_som14-Sep-05 0:03 
QuestionRe: Interact with Windows Services Pin
ThatsAlok14-Sep-05 1:27
ThatsAlok14-Sep-05 1:27 
AnswerRe: Interact with Windows Services Pin
prasad_som14-Sep-05 21:00
prasad_som14-Sep-05 21:00 
GeneralRe: Interact with Windows Services Pin
ThatsAlok14-Sep-05 21:50
ThatsAlok14-Sep-05 21:50 
AnswerRe: Interact with Windows Services Pin
ThatsAlok14-Sep-05 0:46
ThatsAlok14-Sep-05 0:46 
Questionwhy does only a part of VARIANT change from VT_DATE to VT_BSTR? Pin
Anonymous13-Sep-05 20:47
Anonymous13-Sep-05 20:47 
Questionlock file Pin
wuz7313-Sep-05 20:30
wuz7313-Sep-05 20:30 
AnswerRe: lock file Pin
kakan13-Sep-05 23:54
professionalkakan13-Sep-05 23:54 
GeneralRe: lock file Pin
wuz7314-Sep-05 7:11
wuz7314-Sep-05 7:11 
GeneralRe: lock file Pin
kakan14-Sep-05 19:26
professionalkakan14-Sep-05 19:26 
QuestionRegistry wrapper class prevening writes to HKLM Pin
Chintoo72313-Sep-05 17:28
Chintoo72313-Sep-05 17:28 

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.