From: Kevin Hise Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows trashes my 800x600 graphics mode program. Date: Mon, 03 May 1999 09:55:27 -0700 Organization: Cyplex, Inc. Lines: 28 Message-ID: <372DD4FF.F4C73D1@ridgecrest.ca.us> References: NNTP-Posting-Host: p-010.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en]C-DIAL (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Are you referring to this code snipet? > > ................................................................. > > Interrupt 2Fh Function 4001h > > > > mov ax, 4001h ; Notify Background Switch > > int 2fh ...this isn't a hook, it's a call. I didn't see any other code posted to this thread. Regards, Kevin. Eli Zaretskii wrote: > > On Wed, 28 Apr 1999, Kevin Hise wrote: > > > is this a interrupt that I hook/monitor in my > > code to detect when Windows has switched me into the background? > > Yes. > > A working code was posted in this thread; you can use it to fill in > the blanks.