From: "A.Appleyard" Organization: Materials Science Centre To: DJGPP AT DELORIE DOT COM Date: Wed, 29 May 1996 15:54:18 GMT Subject: Windows for djgpp Message-ID: <16BEEA922D5@fs2.mt.umist.ac.uk> When I run a djgpp program from Windows, and I run it in a `DOS box' window and not full screen, the program thinks that the DOS box is the full screen. I just tried running in a DOS box under Windows a program that I wrote that makes graphics. When the program tried to change screen mode to the graphics mode, Windows swore at me and changed the job from box mode to full-screen mode. It seems to me that a start at implementing djgpp for Windows would be for me to know how a djgpp program could:- (0) Detect whether it was running under Windows or not. (1) Not create a DOS box but run directly under Windows. (2) Find the screen mode & the apparent address of the start of the screen: it could do all screen-saving and screen-restoring itself if it had to. (3) Call function n from Windows function-list qwerty, e.g. CHECKRADIOBUTTON (checks a specified button and removes checks from all others) is #96 in Windows function-list USER.EXE (4) Access Windows fonts etc: this I suspect is included in (3). (5) Access Windows's various standard internal mode etc parameters. P.S. I have a list of Windows function names and what number in what file they are (but not their parameter patterns); I found it in WINASS (Assembler for Windows) which I bought.