NO

Author Topic: Playing with yhe Mouse and the Math  (Read 1738 times)

Offline HellOfMice

  • Member
  • *
  • Posts: 85
  • Never be pleased, always improve
Playing with yhe Mouse and the Math
« 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
« Last Edit: February 17, 2023, 08:24:57 AM by HellOfMice »
--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 855
Re: Playing with yhe Mouse and the Math
« Reply #1 on: February 17, 2023, 11:22:03 AM »
Very neat...

John Z

Offline HellOfMice

  • Member
  • *
  • Posts: 85
  • Never be pleased, always improve
Re: Playing with yhe Mouse and the Math
« Reply #2 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.
--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 855
Re: Playing with yhe Mouse and the Math
« Reply #3 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

Offline HellOfMice

  • Member
  • *
  • Posts: 85
  • Never be pleased, always improve
Re: Playing with yhe Mouse and the Math
« Reply #4 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
« Last Edit: February 17, 2023, 05:36:41 PM by HellOfMice »
--------------------------------
Kenavo

Offline HellOfMice

  • Member
  • *
  • Posts: 85
  • Never be pleased, always improve
Re: Playing with yhe Mouse and the Math
« Reply #5 on: February 17, 2023, 11:35:38 PM »
--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 855
Re: Playing with yhe Mouse and the Math
« Reply #6 on: February 18, 2023, 02:17:35 PM »
The added screen grid is very helpful, thumbs UP ^


John Z