home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5323 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!microsoft!wingnut!kensy
  3. From: kensy@microsoft.com (Ken Sykes)
  4. Subject: Re: The HIWORD Is 0x99, But...
  5. Message-ID: <1993Jan24.224434.14138@microsoft.com>
  6. Date: 24 Jan 93 22:44:34 GMT
  7. Organization: Microsoft Corporation
  8. References: <1993Jan22.184022.5155@nntp.hut.fi>
  9. Lines: 23
  10.  
  11. In article <1993Jan22.184022.5155@nntp.hut.fi> sakaria@vipunen.hut.fi (Sakari Aaltonen) writes:
  12. >I'm trying to move bitmaps and lines across the screen. For lines, the ROP2
  13. >mode NOTXORPEN seems to do the trick. However, the same (ternary) mode for 
  14. >ROP, that is, for the bitmaps, doesn't have a name, so it's not in <windows.h>,
  15. >say. According to a Petzold formula, the HIWORD of the mode should be 0x99. 
  16. >But what's the LOWORD? I have no idea what the low word even *means*. There 
  17. >seem to be about 65536 possible values...
  18. >
  19. >Would anyone be kind enough to look it up? No, I don't know where. Is this 
  20. >what is meant by "clueless"?
  21. >
  22. >Thanks in advance,
  23. >-- 
  24. >-----------------------------------------------------------------------------
  25. >Sakari Aaltonen                                 Email: sakaria@vipunen.hut.fi
  26. >"Unlike Gnu, a public-domain Unix look-alike system, MINIX is not vaporware."
  27. >                - Allen I.Holub, Dr.Dobb's, Jan '88 -
  28.  
  29. There is a section labeled "Ternary ROPs" in the SDK.  Look for 99 in the
  30. left-hand column and then use the 32bit number associated with it.  You may
  31. also find the discussion of computing custom ROPs based on how you want the
  32. Pattern, Source, and Destination to interact (in the same section.)
  33.    
  34.