I am writing a MFC application which is dialog base. After my application was executed, the application window that I designed is smaller than destop window.
My problems are:
(1)How can I change the area on the screen outside my application window to whole black, and not allow the mouse move outside my application window ?
(2)How to detect the screen resolution and always change it to my preference(let's say 800 x 600) before my application window shows up, and then restore it after my application is quitted ?
(3)How to set the accelerator keys to the menu of my dialog base application ? I know it is simple to set them in SDI or MDI forms, but it wouldn't work for dialog.
Thanks for your help. Your comments or answers will be highly appreciated.