Make A Form Draw A Cursor?
Apr 23, 2010I need a code that when put in a timer will create a cursor were your cursor is and then leave it there. So its like a place marker to let you know were you were when you clicked.
View 2 RepliesI need a code that when put in a timer will create a cursor were your cursor is and then leave it there. So its like a place marker to let you know were you were when you clicked.
View 2 RepliesI wonder how i could do so a form gets unclickable. I am doing a crosshair and when i test it out and put it on its place then when i trying to shoot the program inactivates.how i can make a forms startposition custom?
View 7 RepliesI was able to make a program that can draw on a form but if I draw very fast, the lines are cut. Check image below :
Another is I want to make my form be able to load a power point presentation. Is it possible? Also, I was wondering if it is possible to save the form as image file like what we do in screenshot?
I want to make a project that when form loads the form follow the mouse [delayed and smoothly]
View 16 RepliesI am working on a screen cropping program. The program works by expanding the current for to maximum and the opacity level set to 35% so the screencan be seen from behind. The cropping code is below:
Private Sub disect_mouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown
Me.Opacity = 0
[code]....
How to make the form follow the cursor or mouse smoothly?
View 9 Replieshow can i make my cursor to jump to the next textbox after i type the digit
View 3 Replieswhat code is needed in order to make an integer equal the horizontal location of the cursor on the form?
View 3 RepliesI am trying to use a cross cursor and make it the width and height of the form without any luck. I read in a thread i may have to use a custom cursor, is this true? I have tried to re size the Cursors.Cross
[Code]...
I got an issue again, Im using a program which automatically does the work I normally have to do, but it uses my mouse to click on a java application. Normally I would have to do it myself but now the program does it. I was wondering wether there was a way to create a second mouse cursor, to not interrupt the main mouse cursor, so I could do other work while my program is still doing its work. Like 2 mouses, 1 is the main cursor, the other one is programmed to do its work even if the form is not focused.
[Code]...
I am using a program which automatically does the work I normally have to do, but it uses my mouse to click on a java application. Normally I would have to do it myself but now the program does it. I was wondering whether there was a way to create a second mouse cursor, to not interrupt the main mouse cursor, so I could do other work while my program is still doing its work. Like 2 mouses, 1 is the main cursor, the other one is programmed to do its work even if the form is not focused. Or if this wouldnt be possible, is there a way to let my form click on certain places on itself without it being focused. E.g. my form is not focused but the process still goes on, there is still being clicked on it.
View 5 RepliesPrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Cursor = New Cursor("C:WINDOWSCursorsarrow_rl.cur")
Me.Cursor = Cursor
End Sub
can i use jpg or bitmap gif file for curser ....
I have a form and Onload the cursor blinks at a textbox called txtProdesc, I want to have no cursor blinking at all
View 1 RepliesHow do you make a program that moves your cursor to a selected color? So you start the program and then the cursor will auto move to the color red (if that is signified).
View 1 RepliesHow to make cursor image like this program? url...I want to make Launcher like this but i can't make it even with autoupdater.
View 14 RepliesIn VB.Net with Winforms how do I make an image follow the cursor even when it leaves the form? I want to do this during a drag and drop operation. BCL and/or GDI is better for my usecase than P/Invokes.
If you are familiar with PeaZip, it does something of this sort when dragging a file from it's interface.
I have a menu strip, which i want the drop down items to show when i move my cursor over it.
View 3 RepliesI have an automated electrical tester, I want to create a type of map file so that way the user can select a subset of devices to test. So basically I want to create a type of grid that the user will be able to highlight specific rectangles in the grid so that way the tester knows to test only those specific locations. To start I want to create a 4X4 grid and each individual rectangle in the grid will contain some coordinate information. Does anyone have a tiny example of how I can draw a 4X4 grid, or any thoughts on the best way to do this? The real final map I will be making will have over 50K devices.
View 1 RepliesI am about to make a simple Raffle Draw System.I can display the random ID's of participants, but what I really wanted to achieve is that the names are the ones to be displayed randomly..
Say when a user click the button, using a timer a certain label will randomly display names of participants from the database and by such time that he stop the timer, the name of the winner will eventually shown.[code]...
I have created a menu using a treeview to launch forms when the user clicks on a node. To complete the look-and-feel, I have set up the nodes to look like hyperlinks. I'd like to have the cursor change to a hand (like the one you see when you hover over a link) when the user hovers over a node, however so far I've only been able to have the cursor change on hovering inside the treeview, as opposed to over a node. As far as I can tell, a TreeNode doesn't have events such as MouseEnter, so I can't have them handle the events themselves.
I am attempting to use this function to loop through the nodes and check the Bounds property of the TreeNode against the Point property of the cursor, but so far the If block always evaluates to false, meaning that the cursor never changes.[code]...
I dont want to use tab or enter and i want tha cursor to jumb to the next tab order textbox when i type a number
View 4 RepliesI am currently using Visual Basic 2008 Express Edition.I want to make a program that will draw 700 random lines on it initially. I tried my code but the lines only appear in the same way such as straight line and diagonal line. Here's my code:
Public Class Form1
Private Sub Form1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
[Code].....
Currently I'm trying to make multi selection (draw shape) on the picturebox but no matter how i edit my code, it jus dn draw any square or circle when I click on my button (either circle or square).
Below are the codes that i'm currently working on:
Public Class Page_2
Public blnCircleClicked As Boolean 'Is The Circle Tool Clicked?
Public blnSquareClicked As Boolean 'Is The Square Tool Clicked?
[Code]......
i'd like to know the current cursor but out of a form, in all windows.i've done a litle app with a text box and a checkbox. when i click to the check box, the current cursor is displayed in the textbox1.[code]the current cursor writen in the textbox1 is correct when the cursor is in the form, but when the cursor go out of the form, in a other windows application, the textbox1 didn't write the current cursor.
View 3 RepliesIs it possible to make a simple Image Editor were you can draw and edit images in vb.net? If so how would you do that? (Its would also have to compile the image as well into an image format)
View 4 Repliesi am newbie in constructing layouts in crystal report.i have details section in left side of the page
Subject A |_______|________|________ | Subject B |_______|_________________| Subject C |_______|________|________ | Subject D |_______|_________________| Subject E |_______|____Total__|________ |
there can be different number of rows at the left side,meaning it depends on output of the query.And heres the problem, i need to make another table at the right side. how to make a table at the right side or draw lines without affecting details section? this is just purely table without fields on it.
This VS010 solution is not providing my intended outcome as a custom override of a 'crosshair' or 'reticle' cursor e.Graphics.DrawPath() is the function that isn't working. This
WORKING solution demonstrates how it's supposed to work. The additonal PictureBox added to a Panel is, for reasons I don't understand, not allowing the 'new' cursor to appear.
Option Explicit On
Option Strict On
Imports System.Drawing
[Code]....
How can i add a custom Cursor to my Form with Resources? if tried like 3 ways but none of them worked or made my programm crash
View 35 RepliesAny way to get the cursor style outside of the vb form?
View 1 RepliesI am currently creating a program that will change the cursor's image and let it stay like that until the user clicks use default image button. I do not mean like
Me.Cursor = New Cursor("C:\cursor.ico")
I mean as in even if the user's cursor leaves the form, it will still display the custom cursor only.
I have got only this much done so far, and the code is not 100% working either.
Private Sub ChangeCursorButton_Click()
System.Windows.Forms.Cursor.Hide() 'only hides the cursor when your mouse is on the form, need to fix that
Me.Cursor = New Cursor("cursor.ico") 'had no choice but to use this for now, even if when your cursor is out of the form it will revert to the original.
[Code] .....
The code only works if your cursor is on the form. If its not, it doesn't work as intended.
I need the code to work that the cursor will hide the original cursor and let the custom cursor I declared shown.