|
-
May 1st, 2004, 08:39 PM
#1
Thread Starter
Hyperactive Member
Draw a line
Hey,
I want to draw a line on the screen not on a form. How can this be done?
-
May 2nd, 2004, 08:31 AM
#2
I wonder how many charact
Well, windows is a window-based OS, so in effect, you should really use a window (form) to draw graphics.
You can use a clipped-region, stay-on-top form..
-
May 2nd, 2004, 09:25 AM
#3
Thread Starter
Hyperactive Member
-
May 2nd, 2004, 11:20 AM
#4
I wonder how many charact
How bout you describe why you want the line on the screen and I can tell you how it may be or may not be an option.
-
May 2nd, 2004, 11:34 AM
#5
Thread Starter
Hyperactive Member
It is not. OK? Is it too much to ask just for you guys to give me a anwser?
-
May 2nd, 2004, 11:41 AM
#6
I wonder how many charact
You cannot draw to the desktop using .Net without using API's.
So if you know how to do it in VB6, use the same method. My only concern would be Explorer may just overpaint next time somebody move's a window.
I can make a form that consists entirely of just a straight horizontal line... but if that's not an option (you haven't said why), then you will have to use the Win 32API's.
You will get the best answer to your question if you describe what you are trying to do and in what context.
Are you trying to draw a Media Player type of overlay, that hangs in front of everything?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|