🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #844

Re: Help with windows SDK!!

#844
From: Joel Spolsky
Date: Mon, 10 Dec 1990 00:34
27 lines
1831 bytes
In article <1990Dec9.204159.4199@csuf3b.CSUFresno.EDU> davidw@csuf3b.UUCP (David Warness) writes:
>   1) Is it possible to hidden page animation?  I have a few programs that
>      I would like to write in windows that would need this feature.
>      If not, does anyone know of any little tricks where this could be 
>      simulated?

Well, you could use CreateCompatableDC to get a device context that is
in memory, not on screen, and then bitblt that onto the screen for the
animation effect. Not as fast as page switching but it should do the
trick (unless you have very large images to animate).

>   2) Is it possible to write a program that can run in dos and in Windows?

Yes. Write the Windows and the DOS versions, then use the DOS version
as the stub of the Windows program. The "stub" of a windows program is
usually a very short .EXE that says "This Program Requires Microsoft
Windows" but it could be any program , including a full-blown text
version of your program.

>      If a program can't run in both dos and 
>      Windows is possible to make windows apart of my program?  I've seen
>      programs such as Excel and Aldus Page Maker do this.

Not anymore. Windows 3.0 does not have a run-time version.

Joel Spolsky
spolsky@cs.yale.edu
Technical Details
Message-ID: <27691@cs.yale.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!spolsky-joel
References: <1990Dec9.204159.4199@csuf3b.CSUFresno.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!spolsky-joel
From: spolsky-joel@cs.yale.edu (Joel Spolsky)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Help with windows SDK!!
Message-ID: <27691@cs.yale.edu>
Date: 10 Dec 90 00:34:11 GMT
References: <1990Dec9.204159.4199@csuf3b.CSUFresno.EDU>
Sender: news@cs.yale.edu
Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
Lines: 27
Nntp-Posting-Host: zoo-gw.cs.yale.edu
Originator: spolsky@suned.CS.Yale.Edu