Recent

Author Topic: The mouse and using ptcgraph  (Read 621 times)

TBMan

  • Sr. Member
  • ****
  • Posts: 337
The mouse and using ptcgraph
« on: January 15, 2025, 08:14:47 pm »
Right now I am more comfortable using the simple program model and use a graphic window for what I am doing (game clones). Is there code floating around that allows the use of the mouse within the boundaries of the graphic window created using initgraph similar to the old DOS code using int 33? 
I love programming.


Newest game (clone),
Missile Commander:
https://www.youtube.com/watch?v=tgKz0cxog-k

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: The mouse and using ptcgraph
« Reply #1 on: January 15, 2025, 08:20:11 pm »
As long as you use ptc you can use unit ptcmouse
Today is tomorrow's yesterday.

TBMan

  • Sr. Member
  • ****
  • Posts: 337
Re: The mouse and using ptcgraph
« Reply #2 on: January 15, 2025, 09:15:40 pm »
As long as you use ptc you can use unit ptcmouse

Thank you!
I love programming.


Newest game (clone),
Missile Commander:
https://www.youtube.com/watch?v=tgKz0cxog-k

 

TinyPortal © 2005-2018