Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!sjsca4!poffen From: poffen@sj.ate.slb.com (Russ Poffenberger) Newsgroups: comp.windows.ms Subject: Re: MicroEmacs for Windows (Suggestions) Message-ID: <1991Mar22.183539.26218@sj.ate.slb.com> Date: 22 Mar 91 18:35:39 GMT References: <2571@odin.cs.hw.ac.uk> <1991Mar20.231011.32273@ccad.uiowa.edu> Reply-To: poffen@SunOS (Russ Poffenberger) Organization: Schlumberger Technologies, ATE division, San Jose, Ca. Lines: 58 In article <1991Mar20.231011.32273@ccad.uiowa.edu> cadsi@ccad.uiowa.edu (CADSI) writes: >From article <2571@odin.cs.hw.ac.uk>, by scott@cs.hw.ac.uk (Scott Telford): >> In article <1991Mar18.025027.20867@ccad.uiowa.edu> cadsi@ccad.uiowa.edu >> (CADSI) writes: >> >> Copyright doesn't mean you can't distribute the source. All previous >> versions of MicroEMACS have been copyrighted *and* had the source >> available (and have usually been distributed as source-only). The >> "About..." box just gives the uEMACS for Windows author's name (can't >> remember it right now, but it sounded French) but doesn't say anything >> about how to get the source for the Windows version. >> > >Bzzzzt.. Copyrights can take many forms. Some require that source >code NOT be distributed freely, some allow it. In general, unless >stated otherwise in the copyright, you are required to contact author >(copyright holder) before doing anything with source. >I say contact the author >because he doesn't have to redistribute his code at all. The original >uEmacs author specifies that you can have HIS source code. That says >absolutely nothing about additions. If its just source to uEmacs, >without the Windows source, there are a couple sites. Mail me if you want >those. > >> I *have* got my own (for Program Manager) ;-) But if I remember correctly, >> you can't change the desktop (Minimized) icon to anything other than the >> built-in one (for a Windows app) or the DOS-box icon (for a DOS app). > >Nope. In order to get Windows to use your icon instead of the >application's, just change the icon in the File/Properties dialog box >of the Program Manager. >BTW, you can get lots of icons from ftp sites and bulletin boards, >in addition to making your own with publicly available utilities. > To coin a phrase.. Bzzzzt. Nope. I don't know how many times this has come up, but so many times people reply with this answer, and it just IS NOT true. I challenge you to explain to me step by step how this is performed. What you describe will ONLY change the icon as it appears in the MDI of program manager. Once you actually launch (run) the program, then minimize it, it ONLY displays the icon that was bound to the .EXE file by the resource compiler. In fact, the application must register the icon before it will display, and the application itself may even draw its own icon. The clock program supplied by uSoft is an example of a program that dynamically draws its own icon. This is why a DOS application can only get that ugly DOS icon. There is no way to bind an icon to the DOS application like the resource compiler (comes with SDK) can to a TRUE windows application. Windows supplies the DOS icon internally and you can't change it. For a windows app, if you had the .RC or .RES file, and all the other resources needed by the app, you could possibly use the resource compiler (RC from SDK or BC++) to change the icon. Russ Poffenberger DOMAIN: poffen@sj.ate.slb.com Schlumberger Technologies UUCP: {uunet,decwrl,amdahl}!sjsca4!poffen 1601 Technology Drive CIS: 72401,276 San Jose, Ca. 95110 (408)437-5254