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