Page 1 of 1

How to draw a line on a resource form

Posted: Tue Mar 16, 2021 6:30 pm
by Rick Lipkin
To All

I can create a Roundbox() ... etc but how can I just create a simple line between two coordinates >> I do not want to create a field on a form with a line ..

Any ideas ?

Thanks
Rick Lipkin

Re: How to draw a line on a resource form

Posted: Wed Mar 17, 2021 3:56 pm
by Marcelo Via Giglio
Hola,

did you try some thing like:

Code: Select all


    Moveto (hDC, nPLeft, nPTop)

    LineTo (hDC, nPRight , nPBottom )

saludos

Re: How to draw a line on a resource form

Posted: Wed Mar 17, 2021 9:00 pm
by Rick Lipkin
Marcelo

Thank you for your response ... appreciate your help!

Rick Lipkin