473,396 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help with Graphics primitives

Please help this vb.net newbie! I would like to draw a graphics
primitive. For example, a line, and have that line be it's own object
(so that I can have a collection of lines) and have that line be
clickable by the user. Can anyone help?!?! I can create a graphics
object and have that graphics object draw a line. That is no problem.
Now, how do I allow the user to click on that line?
I have heard about metadraw as a possible solution, but that solution
is out of our budget, and seems to be overkill anyway. Surely this is
a simple, common task that should be easily accomplished, I just don't
know the proper way to do it?
Any help would be greatly appreciated!
Nov 20 '05 #1
2 1442
"Ashley" <am**@msstate.edu> schrieb
Please help this vb.net newbie! I would like to draw a graphics
primitive. For example, a line, and have that line be it's own
object (so that I can have a collection of lines) and have that line
be clickable by the user. Can anyone help?!?! I can create a
graphics object and have that graphics object draw a line. That is no
problem. Now, how do I allow the user to click on that line?
I have heard about metadraw as a possible solution, but that
solution is out of our budget, and seems to be overkill anyway.
Surely this is a simple, common task that should be easily
accomplished, I just don't know the proper way to do it?
Any help would be greatly appreciated!


An old one:
http://msdn.microsoft.com/library/en...n_hittest2.asp
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
* am**@msstate.edu (Ashley) scripsit:
Please help this vb.net newbie! I would like to draw a graphics
primitive. For example, a line, and have that line be it's own object
(so that I can have a collection of lines) and have that line be
clickable by the user. Can anyone help?!?! I can create a graphics
object and have that graphics object draw a line. That is no problem.
Now, how do I allow the user to click on that line?


Quick and dirty:

<URL:http://www.google.de/groups?selm=uevBGo6%23CHA.2296%40TK2MSFTNGP10.phx. gbl>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Fred | last post by:
Are primitives objects? int i = 3; System.out.println(i.getClass()); doesn't compile. Get an error message "int can't be dereferenced" But yet the docs for class Object say: Class Object...
5
by: Sean McIlroy | last post by:
The subject line essentially says it all. Is there a way to do it? If so, where do I look to find out how? Any help will be much appreciated. Thx, STM
2
by: Student | last post by:
Hi, I would like to use some simple graphics primitives (plot a point, a line, change colors, etc...) from visual C++, in C or C++ language. It is for illustrative purpose only and I find the...
3
by: Dr. Zharkov | last post by:
Hello. Inform, please, how to find the programs on building the 3D-graphics of function z=f (x, y) and only for Visual Studio .NET: Visual C# .NET, Visual Basic .NET or Visual C++ .NET and GDI+...
1
by: Bad_Kid | last post by:
(c++) I have to present a wave which is stored in a file (int numbers, I know sample's freq) on some kind of graph. I've never been using drawing in c++. Any suggestions, the easiest way to do...
2
by: Lorenzo Thurman | last post by:
I'm interested in producing presentation style graphics using PHP. Things like pie charts, bar graphs, etc. I have a couple of PHP books, but they only address basic drawing primitives. Does...
8
by: Oberfuhrer | last post by:
I am an old mathematician, who in my sparetime work on a topic oriented math application. I have converted from old, dry Fortran to the more intuitive and juicy VB.net and Windows. In...
12
by: Xah Lee | last post by:
Of Interest: Introduction to 3D Graphics Programing http://xahlee.org/3d/index.html Currently, this introduction introduces you to the graphics format of Mathematica, and two Java Applet...
11
by: achiever | last post by:
I am a IIIrd electronics Engg student i want to know what is the role of graphics in c is it ok to spend a lot of time on learning c graphic or to start the new language like JAVA. Thanks in...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.