Solved

Hot-spots in VB..

Posted on 1999-01-08
2
144 Views
Last Modified: 2012-05-04
I am developing a tic tac toe(noughts and crosses) game using VB and my question is: How can i best represent the points on the board so that they respond to mouse clicks by showing a cross or nought.That is what control can i use.
0
Comment
Question by:onalenna
2 Comments
 
LVL 2

Accepted Solution

by:
VBDesigns earned 80 total points
Comment Utility
I'd recommend using the Image control -- they are excellent lightweight controls that receive mousedown, mousemove, and click events.  They're transparent, and can hold graphics.  Should do exactly what you need.

Good luck!
0
 

Author Comment

by:onalenna
Comment Utility
It works just fine.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now