Pelles C forum

C language => User contributions => Topic started by: HellOfMice on February 16, 2023, 03:21:28 PM

Title: Playing with yhe Mouse and the Math
Post by: HellOfMice on February 16, 2023, 03:21:28 PM
A simple program to draxw a decagon.
Just define an area with the mouse.
To modify the decagon, select the 'Parameters' menu.

For the beginners:
You will see how to create and use an owner-draw combobox.
You will see how to draw an area for defining a rectangle
You will see how to capture the mouse without SetCapture
Title: Re: Playing with yhe Mouse and the Math
Post by: John Z on February 17, 2023, 11:22:03 AM
Very neat...

John Z
Title: Re: Playing with yhe Mouse and the Math
Post by: HellOfMice on February 17, 2023, 01:13:41 PM
I am creating an option to change the diagonals order, like this it will be possible to draw a decagram.
This is a new version preparing for decagram.
Title: Re: Playing with yhe Mouse and the Math
Post by: John Z on February 17, 2023, 01:34:25 PM
Hi Hello....

Very professional looking 'define it' window!

I'm going to study your "owner-draw combobox" I've stayed away from owner-draw anything so far....

John Z
Title: Re: Playing with yhe Mouse and the Math
Post by: HellOfMice on February 17, 2023, 05:32:53 PM
Thank You John, tell me if the words in text are wrong or if I had to say it using other words. :D
Title: Re: Playing with yhe Mouse and the Math
Post by: HellOfMice on February 17, 2023, 11:35:38 PM
The final release is at https://www.mediafire.com/file/r9h38h50by934tw/DKGoneV1.7z/file (https://www.mediafire.com/file/r9h38h50by934tw/DKGoneV1.7z/file)

Title: Re: Playing with yhe Mouse and the Math
Post by: John Z on February 18, 2023, 02:17:35 PM
The added screen grid is very helpful, thumbs UP ^


John Z