News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

How does the PIE function works??

Started by Dante, March 28, 2005, 10:38:41 PM

Previous topic - Next topic

Dante

I know it receives a certain number of parameters and I know how to pass all the parameters to the function...the thing is I don't know how to calculate the drawing area or how am I supposed to show it on screen...just calling the function does the trick??....I'm supposed to make it the most simple possible...I mean, no windows or anything...just the pie in the desktop....if anyone could explain me or help me I'll be very thankful.

Opps....i forgot.....it uses the 486 micro instructions set.

(Sorry if my english is not very good...I'm from Colombia in case you may wonder)

I'm learning and I'm not very good so, be patient if I don't understand.

Tedd

Use a window, it is much more simple to draw on.
When you have a window, for the WM_PAINT message, "BeginPaint" will give you "hDC", which you use in the "Pie" function to tell it where to draw.

If this is not clear, please find a basic tutorial for drawing into a window.
No snowflake in an avalanche feels responsible.