Jump to content

Dialog box problem


Guest zero_divide_1

Recommended Posts

Guest zero_divide_1

I'm in a bit of a bind. I have a dialog-based program that I'm making for myself (and if it passes my tests, maybe I'll make available for everyone else ;) ), and its the first time that I've ever written software for the smartphone. But I have this question: In my WinMain I create a dialog by calling DialogBox(...) and it shows the dialog perfectly. My DlgProc function processes messages fine, except that when the dialog box is shown (as the main window), and I press the home key to return to the desktop, then try pressing the back button to return to the dialog box (and application) it doesn't show up. Many other programs are able to do this no problem, but this is becoming a real pain for me because it doesn't show up like its supposed to. Am I forgetting to catch any messages or do something? Right now my DlgProc catches the WM_INITDIALOG and WM_COMMAND messages. Is there anything else that I'm missing?

Link to comment
Share on other sites

  • 3 weeks later...
Guest javen
I'm in a bit of a bind. I have a dialog-based program that I'm making for myself (and if it passes my tests, maybe I'll make available for everyone else ;) ), and its the first time that I've ever written software for the smartphone. But I have this question: In my WinMain I create a dialog by calling DialogBox(...) and it shows the dialog perfectly. My DlgProc function processes messages fine, except that when the dialog box is shown (as the main window), and I press the home key to return to the desktop, then try pressing the back button to return to the dialog box (and application) it doesn't show up. Many other programs are able to do this no problem, but this is becoming a real pain for me because it doesn't show up like its supposed to. Am I forgetting to catch any messages or do something? Right now my DlgProc catches the WM_INITDIALOG and WM_COMMAND messages. Is there anything else that I'm missing?

<{POST_SNAPBACK}>

IDOK or IDCANCEL ?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.