Home › Forums › C# Programming › How to detect our session mode in Windows: WINDOWED mode or FULLSCREEN mode
- This topic has 1 reply, 1 voice, and was last updated 17 years, 8 months ago by julius.
- AuthorPosts
- April 18, 2007 at 2:38 pm #1968juliusParticipant
Dear colleagues,
I have a BIG headache when I wish to toggle window mode from full screen to windowed and vice-versa with DOS applications. I need first to know in which window mode is being exhibited in one session. I mean in WINDOWED mode or FULLSCREEN mode. And I do not know how to do it. Some help in language C will be appreciated. Normally It will be used for MS-DOS proposes.
I will be very gratefully your help.
Messages, could be exchanged at [email protected] is my main email address.
Thank you for your attention, - April 24, 2007 at 1:09 pm #3224juliusParticipant
Sorry, my English terms are probably not so good. But I will try to explain what I looking for.
I need to develop an application, with which I would check first in which screen mode is my session beeing shown (FULLSCREEN or WINDOWED). After getting results, I would like to show a message to the users, in order advising that they need to press ALT ENTER to change screen mode (this in case the screen mode is being shown in the intended mode).
The second step (I means, when I have got screen mode), is to force screen mode, changing from FULLSCREEN to WINDOWED and from WINDOWED to FULLSCREEN.
I will tell you, why I needing this. I work with MS-DOS softwares. But I also need to work with GUI apps. In others words, my system is hybrid (DOS & GUI). Sometimes I need to execute a GUI from my DOS apps, but my DOS apps become minimized window. After this I wish to return to DOS apps in the original screen mode. In DOS apps, user usually works or prefer to works in FULLSCREEN not in WINDOWED, and this makes difficult to restore window after a GUI apps.
It is really difficult to get a solutions, due my C language knowledges. But if I can count with you to clearfy which way I could take, or what to use, I would get a extra help.
I understand is not so easy to detect screen mode. And all your advising will be appreciated and cooperations will be announced like as a new solution of old problem with DOS apps.
B.Rgds
- AuthorPosts
- The forum ‘C# Programming’ is closed to new topics and replies.