programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: BeginPaint, EndPaint

From: Rick VanNorman <rick_at_neverslow.com>
Date: Tue, 27 Aug 2002 21:07:32 -0700

Geez, Mike,

I was still typing the exact same answer when yours arrived!

Cool!

Rick

On Tuesday, August 27, 2002, at 09:03 PM, Mike Ghan wrote:

>
> Elliot,
>
> ps is an object and expects a method. BeginPaint requires the
> *address* of ps so you would use
> ps ADDR as follows:
>
> [SWITCH MESSAGE-HANDLER DEFWINPROC ( -- res )
> WM_PAINT RUN:
> DISPLAY HWND ps ADDR 2DUP BeginPaint EndPaint ;
> SWITCH]
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Tue Aug 27 2002 - 21:07:36 PDT

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:24 PST