MFC - Fullscreen dialog as the background
-
Hi, I am writing a Point of Sale system. I have incorperated a dialog with a fullscreen dialog behind. The main window is just a normal dialog with topmost set. In the initdialog I have a ShellExecute function to launch another app called Fullscreen.exe. The reason I made a separate program was because I wanted this program to have a differant background colour to the main window. What I want to know it how I can have the main window which I call CNPOSDLG as the very topmost dialog and then have the fullscreen dialog the second topmost dialog so that when I click into the CNPOSDLG it wont bring up the start menu down the bottom on top of the fullscreen window. Also, how can I kill fullscreen.exe when I close my main program? That sounded very umm.....confusing but I know what I am trying to say lol! If anyone can help me, I'd really appreciate it! Thanks Ashman
-
Hi, I am writing a Point of Sale system. I have incorperated a dialog with a fullscreen dialog behind. The main window is just a normal dialog with topmost set. In the initdialog I have a ShellExecute function to launch another app called Fullscreen.exe. The reason I made a separate program was because I wanted this program to have a differant background colour to the main window. What I want to know it how I can have the main window which I call CNPOSDLG as the very topmost dialog and then have the fullscreen dialog the second topmost dialog so that when I click into the CNPOSDLG it wont bring up the start menu down the bottom on top of the fullscreen window. Also, how can I kill fullscreen.exe when I close my main program? That sounded very umm.....confusing but I know what I am trying to say lol! If anyone can help me, I'd really appreciate it! Thanks Ashman
Ashman wrote: Also, how can I kill fullscreen.exe when I close my main program?
FindWindow()
and send it anWM_CLOSE
message. Thats what i would try anyways. :) The word of the day is legs, let's go back to my house and spread the word ;P