home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / win3l / 12914 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.1 KB  |  54 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!TRHUN.BITNET!B_FERHAT
  3. Message-ID: <WIN3-L%93012608540779@UICVM.CC.UIC.EDU>
  4. Newsgroups: bit.listserv.win3-l
  5. Date:         Tue, 26 Jan 1993 08:54:08 -0600
  6. Sender:       Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
  7. From:         B_FERHAT@TRHUN.BITNET
  8. Subject:      Egghunt.
  9. Lines: 43
  10.  
  11. I don't know if anybody else has done it before but here is something
  12. I fished out of Windows. So, if you have the RC resource compiler and
  13. some tool like WRT that can extract resources from an executable, keep
  14. those eyes open. You will also need WINDOWS.H (if you are not
  15. masochistic, that is).
  16.  
  17. Step 1: look in your system.ini and identify your display driver.
  18.  
  19. Step 2: copy that driver to an .EXE file (it is an executable with
  20. a .DRV extension anyway).
  21.  
  22. Step 3: launch WRT and load that .EXE.
  23.  
  24. Step 4: copy all resources to a separate .RES file and edit that .RES
  25. file. (I have tried editing the .EXE files resources directly, bypassing
  26. Step 6. WRT corrupts the .EXE file. If anybody can do it with WRT or
  27. other application, drop me a line)
  28.  
  29. Step 5: the numbers for bitmaps, icons and cursors are defined in
  30. WINDOWS.H, eg. OBM_* for bitmaps. To change the system menu buttons,
  31. for example, find OBM_CLOSE. The number next to it is 32754. Edit the
  32. bitmap resource 32754. (Mine are now 3D).
  33.  
  34. Step 6: run RC with RC -r <.RES file> <.EXE file> to install your
  35. new resources into the display driver.
  36. *!!!    While running RC you may get warnings about some segment's
  37. *!!!    attributes. Merely disregard them, they cause nothing...
  38.  
  39. Step 7: copy the .EXE file onto .DRV file and restart Windows.
  40.  
  41. To backup the driver before the last step is a good idea, though I
  42. have done this a lot of times and nothing bad happened. Just in case,
  43. I have always been mildly paranoid...
  44.  
  45. If anybody will use this method to install in a X-Windows look, don't
  46. bother, just drop me a line. I am working on NeXt, too...
  47.  
  48. And I know it's way past Easter...
  49.  
  50.         b_ferhat@trhun aka Ferhat Savci (BSc. Computer Science)
  51.  
  52. Time is nature's way of making sure that everything doesn't happen
  53. at once.
  54.