Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

BUTTON


Geotri
 Share

Recommended Posts

Hi Geotri,

This really depends on which engine you're using. The following may not all apply in DX7, but the idea is similar.

You will need to add and edit subs in your modInput (sub HandleMouseDown, HandleMouseUp, HandleMouseMove, and create/edit subs for the mouse down / mouse up / double click as needed), modGraphics/modDirectDraw (the actual rendering of the image), and modGeneral (in many engines, image rendering constants in Sub InitialiseGUI).

I suggest looking at and mimicking how the buttons already work, because you will essentially be making a large button. Copying the methods of your engine could be a better start than getting public advice, because it adds consistency to your engine and provides an excellent learning opportunity for how your engine already works. Let me know if you need support while doing this. For many engines a good search term within VB6 is "buttons("
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...