At 16:31 2002-11-13 -0500, Jonathan Southwick wrote:
How difficult is it to paint on a Graphics control? The graphics stuff is new to me.

It's the same thing as paiting on a DC (because that's what you actually do :).

The Graphics control doesn't seem too well documented (and I have forgot the exact syntax), but this is the Design window in The GUI Loft (slightly edited):

sub ::grCanvas_Paint {
    my($dcDev) = @_;
    #Now you paint on the $dcDev which is a DC object.


Look at the documentation for the DC control, and at the Win32::GUI::AdHoc module for additional ways to paint stuff on a DC. The Win32 SDK documentation is also useful to read.


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "Perfect Productivity - Tony Bowden Understandin..."
http://www.tmtm.com/insanity/2002/11/12.html
dmoz (1 of 22): /Society/Activism/Media/Radio/ 63



Reply via email to