Date: Mon, 24 Nov 1997 13:26:36 +0200 (IST) From: Eli Zaretskii To: Ashod cc: djgpp AT delorie DOT com Subject: Re: Question regarding application display In-Reply-To: <01bcf893$c15b5340$63206ccb@ashod> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 23 Nov 1997, Ashod wrote: > I'm writing an app which runs in a dos-window, written in > DJGPP. I need to know how I can tell windows, > to make my window swap from full screen to windowed dos > box, how to maximise/minimise it, make its title flash > when a I ask it to while your in windows gui and the > app is minimised to the task bar,,, Get Ralf Brown's Interrupt List from SimTel.NET and look inside interNNc.zip (NN is the version number) for functions of interrupt 2Fh around 1680h. There are some functions there you should be able to use. For example, the function below is the way to switch your window between full-screen and windowed display (simulate Alt-Enter press): --------W-2F1684BX7FE0----------------------- INT 2F - MS Windows - VSWITCHD - GET API ENTRY POINT AX = 1684h BX = 7FE0h (virtual device ID for VSWITCHD device) (see #2329) ES:DI = 0000h:0000h Return: ES:DI -> VxD API entry point (see #2402) 0000h:0000h if the VxD does not support an API (Table 2402) Call VSWITCHD entry point with: AX = function 0000h toggle windowed mode (simulate Alt-Enter keypress) Return: nothing 0001h get windowed mode Return: CF clear if VM is windowed CF set if VM is full-screen SeeAlso: #2399,#2403