VS 2008 - Magnify The Area Of The Screen Under Mouse

Jan 27, 2010

i am trying to get a project that will magnify the area of the screen under my mouse... and be displayed in the applacations window! so far all i have been able to do is track the X, Y positions of my mouse... i have some experiance but not very much useing visual basic.

View 6 Replies


ADVERTISEMENT

Magnify Contect Of Picturebox According To Mouse Position?

Oct 1, 2010

I have two pictureboxes in my form. When I hover my mouse over Picturebox1, I would like to make picturebox2 visible. Here is what I could not manage: This second picturebox should magnify the photo inside Picturebox1 according to the place of mouse. For an instance, if the mouse pointer is on the upperleft part of the Picturebox1, Picturebox2 should show the magnified status of this upperleft part.

View 7 Replies

Set The Viewable Area To A Smaller Screen Area?

Jun 11, 2012

Trying to set the viewable area to a smaller screen area and have it cycle through as the person moves using collision detection to move the backgroudn image. Here is the start but its off to a bad start so far.

Public Class Form1
Dim Mapx As Integer = 600
Dim Mapy As Integer = 2000

[code]....

Basically the forum size is set to 600x2000 but the client should only allow you to view 600x600. I want it to add +1 once you "collide with a invisable box I'll add and this will redraw the screen.

View 4 Replies

VS 2008 Select And Copy A Little Screen Area?

Nov 12, 2009

I would like to select and copy in the clipboard a text chat row (the last row), so to save, row after row, the whole chat in a file To select the row is sufficent a single clik into a row, so that my idea was to simulate the mouse clik in the last row and then simulate the Control+C key press

Private Sub Timer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer.Tick
mouse_event(MOUSEEVENTF_LEFTDOWN, Pos1, Pos2, 0, 0)where Pos1 e Pos2 are the coordinates of a whatever point the chat row BUT THIS WORK IS NOT GOOD the mouse cursor becomes unusable with the normal work, so that it is needed a different idea, that makes the job INDIPENDENT from any other work made at the PC in the same moment

now the question is: any idea as how to solve the problem?

View 2 Replies

VS 2008 - Autohide Panel Which Will Show When Mouse Enters Some Area

Oct 9, 2010

I'm trying to make some autohide panels, which will show when mouse enters some area, and hide when mouse leaves the panel. This is however not so straight forward. I can handle MouseMove event for the form, to trigger "show" panel, and I can handle MouseEnter event for the form, to trigger "hide" when mouse leaves the panel. But this is not consistent, since sometimes mouse will leave the panel directly onto another control, and sometimes it will leave the panel directly "from" a control on the panel, and not from the panel itself.

Of course I could do the slow work and make logic for each control, but that is not very neat. Is it possible in some way to capture the mousemove event regardless of which control mouse is above?

View 4 Replies

VS 2008 - Place Mouse At The Top Of Screen

Mar 4, 2010

If i place my mouse at the top of my screen , anywhere on top, i want my program to show. how would i do this?

View 4 Replies

VS 2008 : Move Mouse Pointer To A Certain Color On Screen?

Jul 21, 2009

Is there a code in which the software scans the screen and point a specified color out of that scan and mark it.

View 1 Replies

Get Coordinates On Screen By Holding Down Mouse And Placing It Over Different Parts Of The Screen

Feb 29, 2012

I'm trying to get coordinates on my screen by holding down my mouse and placing it over different parts of the screen. I'm using the mouse_up and down events in a button to kinda simulate the mouse being held down. The problem I'm running into is that anytime I go past the button's bounds, the coordinates I want stop. This is what I have so far:

[Code]...

View 2 Replies

Take A Screen Pic Of A Certain Area

Mar 26, 2010

oksice there is no way to grab an image using its source i was wondering if there is a way to taking a screen pic at a certain x,y coordinates in a webbrowser1 then displaying it in a picture box.

View 3 Replies

Custom Area In Screen?

Sep 6, 2010

In my program, there is an option for a custom size object. I want the user to be able to click on the upper-left corner and then click in the lower-right corner and save the location as integers. How can I do this?

View 3 Replies

Checking If A Mouse Was Clicked In A Specific Area?

Aug 26, 2009

how do i check if a mouse was clicked in a specific coordinate plane on the form"?

View 2 Replies

Move A Control With The Mouse By Clicking In A Certain Area?

Nov 10, 2011

I am trying to make a user control that can me moved around the form with the mouse.The control will look similar to this ...This is an example of my code for moving the control around.

Private Sub JobBox_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles JobBox.MouseDown
x = e.X

[code].....

View 3 Replies

Any Way To Capture Screen Of Form Area?

Mar 2, 2010

I was about to create a code for capturing screen of the area of a form.. Below code is capturing only the form size but from the top of the screen.. I want to capture the area of screen wherever it placed..
Code:
Dim loBmp As Bitmap = Nothing
'Dim Somebitmap As Bitmap
Dim screenSize As Size = New Size(Me.Bounds.Width, Me.Bounds.Height)
Dim screenGrab As New Bitmap(Me.Bounds.Width, Me.Bounds.Height)
Dim g As Graphics = Graphics.FromImage(screenGrab)
'Dim FiletoDelete
'MsgBox(lsFile)
g.CopyFromScreen(0, 0, 0, 0, screenSize) ("Need Some changes here!!")
screenGrab.Save(LogLib & lsFile)

View 5 Replies

Take Screen Shot Of Selected Area

Sep 8, 2009

i have made an application which will capture screen shot and frequently will saves in word doc autmatically. but it will take whole screen.now my req is to take snap particular area of the screen selected by mouse.

View 5 Replies

Show Some Label When Mouse Pointer Passing At Some Area

Apr 6, 2009

i'm writing an application that using a picture-box (raster image, like a map).I want to show some label when my mouse pointer passing at some area.

View 3 Replies

Ability For A User To Drag An Area On Screen

Mar 14, 2012

i want to give the ability for a user to drag an area on the screen that they want and a that area to be print screened. or alternativly they click anywhere and that location is the top left of the box and then when they next click that location is the bottom right of the box and that box is print screened. [code]

View 1 Replies

Monitor An Area Of The Screen For A Certain Color In Visual Basic?

Apr 5, 2012

I'm designing a player application to accompany our phone system. As our calltakers take calls, it makes recordings of each call. They can go to a list module, find a recording and double click, which opens my player. The issue i have is that if the calltaker gets another call, my player doesn't know it and will continue playing. I'm looking for a way to monitor the screen in a particular area and when it sees yellow or red instead of blue, it will pause my player.

The phone system does not have any API's that I can hook onto, so I have to try it another way.

The screen resolution never changes and the queue buttons where they receive calls will always be static. When they get a call, a small area changes from the background color blue to yellow or red to indicate a call.

**EDIT Final Code based on answers below and question Memory Leak using GetPixel/GetDC in Visual Basic

Private Function CheckforCall()
Dim hDC As IntPtr = GetDC(0)
Try

[Code].....

View 2 Replies

Make The Form Size Exceed The Screen Working Area?

Dec 13, 2009

make the form size exceed the screen working area? like setting the size to (1600,1600) doesn't work if the screen is not as big as it is.

View 4 Replies

VS 2005 Using An Application To Capture Selected Part Of Screen By Resizing The Form And Capturing Area Of It?

Mar 9, 2010

Hi.. Im using an application to capture selected part of screen by resizing the form and capturing area of it!! now i want to reset the form once my work id done!! i mean if i press a "RESET" button the form should be load as first time it was loaded.(the real form size..)

View 1 Replies

Zoom / Magnify Funtion For Unknown Control?

May 26, 2011

I have a Application that has a web control that loads a map from internet on a timer.what I need is to have a designated part of that blown up so I can see it better, think of it in this term, a map of the USA displayed and I want to draw a box around a state and display that in a seperate box and have it say.. 3x bigger.heres the original pic strait from the web now it displayes it just like it displayes it here, and I can draw a square around where I want it to zoom just so the user knows what area is zoomed, and this will be able to be turned off/on as it isnt really coded to do anything its just a visual aid and this pic below needs to be the result on the same form just out beside the webpage, I can have it load to a picbox, or another control that loads images Note that this was done with a photo program manually, I dont know how to code something like this.you Know Your Addicted To Computers When - Your main computer is a 7 terabyte, Core2Quad 3 Ghz +, with 4 or more gigs ram, over 200 programs installed, and you would rather sit with it programming than go to the movies!I've got 13 PC's in the House and 7 are in my bedroom and my main one exceeds this set of stats.

View 14 Replies

Crop Form Screenshot - Screen Capture Of Twindows Form And Display Only A Certain Specified Area

Aug 2, 2010

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)

[CODE]...

So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.

View 1 Replies

Use For The Mouse To Click Somewhere On The Screen?

Jul 8, 2011

What code do you use for the mouse to click somewhere on the screen?

View 1 Replies

Add The Mouse When Capturing The Screen Or Monitor?

Jul 18, 2012

I'm just wondering if it's possible to add the mouse when capturing the screen or monitor in vb.net?

because I'm doing a project that would record the screen and I'm actually successfull doing that by capturing the screen and include it in a timer, but my only problem is the mouse or the cursor isn't showing.

below is my sample code.
Dim ScreenSize As Size = New Size(TotalScreenWitdh, MonitorHeightArray(0))
Dim BMP As New Bitmap(TotalScreenWitdh, MonitorHeightArray(0))

[Code].....

View 5 Replies

Change The Mouse Position On The Screen

Sep 22, 2009

A simple example is: lets say that im trying to make a program that allows you to move the mouse only with the arrows (left/right/up/down) how can i change the position of the mouse on the screen programmatically? If i wanted when you press a button the mouse to change position to X=0,Y=0 of the hole screen/desktop not the window of the form how can i do it? [Code]

View 5 Replies

Get Mouse Events From Anyplace On The Screen?

Aug 30, 2010

Normally the event: PanelTransparentMarquee_MouseUp is only raised when the mouse is within the PanelTransparentMarquee panel. I'd like it raised where ever the mouse is on the screen.So in the load event for the usercontraol containing

PanelTransparentMarquee panel I inserted
PanelTransparentMarquee.Capture =
True

But I still only get the PanelTransparentMarquee_MouseUp event when the mouse is within the PanelTransparentMarquee panel.

View 1 Replies

Lock Mouse To Center Of Screen?

May 29, 2009

I thought of something quite cool i would like to try. Would it be possible to revert the mouse and the screen, so when you mouse your mouse up, the arrow stays still but the desktop moves towards it.

View 1 Replies

Make A Mouse Click Somewhere On The Screen?

Dec 29, 2009

in VB.NET. how do i make a mouse click somewhere on the screen?

View 4 Replies

Screen Capt With Mouse Cursor?

Feb 12, 2010

how can i add the cursor to my screen capt program

Public Class Form1
Dim bounds As Rectangle
Dim screenshot As System.Drawing.Bitmap

[Code].....

View 1 Replies

Capture Screen Without Locking The Mouse Pointer?

Aug 1, 2010

Any one know an alternative way to draw the screen to a bitmap without using the copy screen function.Trying to avoid locking up the mouse pointer.

View 3 Replies

Detect Mouse Click On Screen And Run Program?

Oct 27, 2011

How to make program to detect mouse click and run vb script for action?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved