Click here to Skip to main content
15,916,318 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DoModal returns -1 Pin
Michael Dunn20-Dec-04 7:25
sitebuilderMichael Dunn20-Dec-04 7:25 
GeneralRe: DoModal returns -1 Pin
AnsGe20-Dec-04 7:35
AnsGe20-Dec-04 7:35 
GeneralChecking an ocx is installed or not Pin
AnsGe20-Dec-04 4:21
AnsGe20-Dec-04 4:21 
GeneralRe: Checking an ocx is installed or not Pin
Blake Miller20-Dec-04 6:11
Blake Miller20-Dec-04 6:11 
GeneralRe: Checking an ocx is installed or not Pin
AnsGe20-Dec-04 6:47
AnsGe20-Dec-04 6:47 
GeneralRe: Checking an ocx is installed or not Pin
Blake Miller20-Dec-04 7:05
Blake Miller20-Dec-04 7:05 
GeneralRe: Checking an ocx is installed or not Pin
naren-vc21-Dec-04 22:32
naren-vc21-Dec-04 22:32 
Questionhelp: Windows MessageBox prevents custom dialog from showing? Pin
heman15420-Dec-04 3:19
heman15420-Dec-04 3:19 
I have a gui application that is launched via createprocess(...) from another gui application (that subsequently kills itself). This new application creates a secondary thread that creates a dialog (hidden) at thread creation. I am looking for windows shutdown requests on this secondary dialog (using onQueryEndSession()), and then attempt to show this dialog. It works correctly for most cases (e.g. when I press ctrl+alt+delete and then select shutdown), but sometimes I get a "System Settings Change" Message Box which appears after new devices installed. In this scenario, my application catches and prevents the shutdown request, but fails to throw up the dialog when I use ShowWindow(SW_SHOWNORMAL) (by the way, its modeless). Does anyone know why a messagebox like this would cause this behaviour? I found that uninstalling a device brings up a similar messagebox (same caption, different text), but in this test my modeless dialog does appear. Any suggestions would be appreciated.

Thanks,
Himanshu
GeneralAlphablend question Pin
__makaveli__20-Dec-04 3:03
__makaveli__20-Dec-04 3:03 
GeneralRe: Alphablend question Pin
Michael Dunn20-Dec-04 7:30
sitebuilderMichael Dunn20-Dec-04 7:30 
GeneralRe: Alphablend question Pin
__makaveli__20-Dec-04 8:02
__makaveli__20-Dec-04 8:02 
GeneralRe: Alphablend question Pin
Michael Dunn20-Dec-04 8:37
sitebuilderMichael Dunn20-Dec-04 8:37 
GeneralRe: Alphablend question Pin
__makaveli__20-Dec-04 8:39
__makaveli__20-Dec-04 8:39 
GeneralA (simple) dialogs question Pin
Dave Kerr19-Dec-04 23:17
Dave Kerr19-Dec-04 23:17 
GeneralRe: A (simple) dialogs question Pin
ThatsAlok20-Dec-04 0:50
ThatsAlok20-Dec-04 0:50 
GeneralRe: A (simple) dialogs question Pin
Dave Kerr20-Dec-04 2:28
Dave Kerr20-Dec-04 2:28 
GeneralProblems when converting from VC6++ to .Net Pin
Samuel Ranta-Eskola19-Dec-04 22:50
Samuel Ranta-Eskola19-Dec-04 22:50 
GeneralRe: Problems when converting from VC6++ to .Net Pin
Samuel Ranta-Eskola19-Dec-04 23:00
Samuel Ranta-Eskola19-Dec-04 23:00 
GeneralRe: Problems when converting from VC6++ to .Net Pin
benjymous19-Dec-04 23:18
benjymous19-Dec-04 23:18 
GeneralRe: Problems when converting from VC6++ to .Net Pin
Samuel Ranta-Eskola19-Dec-04 23:40
Samuel Ranta-Eskola19-Dec-04 23:40 
GeneralRecommendation of interpolation methods in visual C++ Pin
melachseng19-Dec-04 22:29
melachseng19-Dec-04 22:29 
GeneralRe: Recommendation of interpolation methods in visual C++ Pin
Anonymous20-Dec-04 9:17
Anonymous20-Dec-04 9:17 
GeneralHelp! about 2 threads share one com port Pin
stans8019-Dec-04 22:12
stans8019-Dec-04 22:12 
GeneralRe: Help! about 2 threads share one com port Pin
Blake Miller20-Dec-04 7:08
Blake Miller20-Dec-04 7:08 
GeneralThread Termination Pin
sudiptam19-Dec-04 21:17
sudiptam19-Dec-04 21:17 

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.