Interface And Graphics :: Make Image Grey And Rectangle Area Colour

Jan 26, 2011

I am using the following code to place a rectangle around a form / form control, however what I want to do is make my screen grey and only the form / form control area be displayed in colour.

Code:

I have googled for ages trying to find something on this, but with no luck.

To illistrate this better they are using the same functionality in snagit 10, please see below link to a page that has a video link showing this (23 sec into video)[url]

View 4 Replies


ADVERTISEMENT

Interface And Graphics :: How Do You Make A GUI Program That Is Not A Square/rectangle

Jan 31, 2010

I can't seem to make a GUI in the shape a circle...

something other than square/rectangle.

View 1 Replies

Interface And Graphics :: Create An Image That Is To Mimic A Single Clock Rotating Hand Within A Square Area?

Aug 20, 2011

I have to create an image that is to mimic a single clock rotating hand within a square area,and the user has to choose the width and speed of the rotation and the direction.i managed to create the square area with a hand inside,with this codes and variables,

(Dim Mygraphics As graphics = e.graphics
mygrqaphics.Draw Rectangle(pens.color x1,x2,y1,y2)

mygraphics draw line(pens.color,x1,x2,y1,y2),now i have to find codes and variables to rotate the hand or line within a square area.one point remaining constant the other moving.

View 1 Replies

Interface And Graphics :: Make A Thumbnail From An Image?

Jul 11, 2004

I am trying to incorporate in my vbdotnet application a form in which I would like to make a thumbnail from an image. So what I have is two picture boxes, one with the source image and the other with the destination image, I would like to crop the image from picture box 1 and display it on picture box 2, but the way I wan to crop it is not giving the coordinates of the selected area box but to simulate a selection area box in which the mouse can move the box and select the area of the picture to be cropped. This selection area box would give me the coordinates i need in order to proceed the cropping. The problem is I don't know how to create this selection area box. It is like doing the cropping on a graphic design software like Macromedia Fireworks, Adobe photoshop, even paint.

View 5 Replies

Interface And Graphics :: Listview Sort By Colour?

Mar 27, 2009

Does anybody have any idea how i can sort a listview by the items backround colour? At the monent the listview looks very messy with all the colours in different places and i dont think the users will be too pleased!!! Iv been trawling the net but cant find anything.

View 4 Replies

Ake Image Under Rectangle To Be Clear And Outside Area Translucent?

Mar 27, 2011

I am currently working on image cropping software. Any idea how to make image under rectangle to be clear and outside area translucent?

View 5 Replies

Interface And Graphics :: Drawing A Rectangle Or A Point On A Form?

Jun 8, 2010

I'm just getting started, and it's as simple as that: I need guidance to draw a rectangle or place a dot or a point on Form1, in VB 2008 Express. I knew how in VB6 -- let's build on that.

View 3 Replies

Interface And Graphics :: Clickable Transparent Area On PictureBox

Jul 25, 2011

i'm working on Virtual K770i project - there is a picture of mobile, now i want to create clickable areas on "keypad" of mobile....I'm got idea about transparent label or something but transparency dont work on any object but Form1 - so how to make transparent clickable areas on picture box (see a picture)

View 2 Replies

Interface And Graphics :: Flood Fill An Area Of A Bitmap?

May 27, 2010

faster way to flood fill an area of a bitmap? It basically acts just like the fill flood bucket in MS Paint. clsBitmapImage is a Bitmap variable.

Code:

Code:
Public Sub FloodFill(ByVal AtPoint As Point, ByVal newColor As Color)
Dim oldColor As Color = clsBitmapImage.GetPixel(AtPoint.X, AtPoint.Y)
If oldColor.ToArgb <> newColor.ToArgb Then

[code].....

View 1 Replies

Interface And Graphics :: Restrict A Controls Text Area?

Apr 8, 2009

If I have a control, in this case a button, can I restrict the area it considers valid for text?

In the attached image, the left and right arrows are custom drawn in the paint even, I also have a scroll timer that scrolls the text if the length exceeds the buttons width as measured by Graphics.MeasureString.

I want to restrict the text from red line to red line so when the text scrolls it does not interfere with the arrow indicators, can the text area be overridden to some custom region?

View 4 Replies

Interface And Graphics :: (.Net 2008, Framework 3.5). When A Button Is Focused By Pressing Tab Key, A Rectangle Appears On

Nov 13, 2010

When a button is focused by pressing Tab key, a rectangle appears on it. Even if the button's TabStop property is set to false, when the button is clicked with mouse the rectangle appears. Is it possible to
stop the rectangle from appearing?

View 2 Replies

Make A Program That Will Calculate The Area Of A Rectangle Based On The Length And Width Given By The User

Nov 20, 2009

im trying to make a a rogram that will calculate the area of a rectangle based on the lenght and

width given by the user

[code...]

View 4 Replies

How To Color The Black Grey Area On A Tabcontrol

Mar 22, 2011

i have been searching for 2 days on how to color the black grey area on a tabcontrol, i found a few examples but they never worked for me does anyone know how to color this area?Btw this is a webbrowser project

Edit: Ohh and does anyone know how to make a toolstrip combobox automatically resize when the user changes the form size?

View 2 Replies

Interface And Graphics :: Making A Custom Class That Mocks The System.Drawing.Rectangle Class?

Jul 6, 2010

I'm making a custom class that mocks the System.Drawing.Rectangle class because the Rectangle class doesn't have a name property. I need a name property because I am adding all of my rectangles to a collection and I need a little more info stored than just their locale and size. So I changed the _onPaint event but nothing is working out when I run the program?

Public Class Rectanglar : Inherits UserControl
Public BackgroundColor As Color = Color.Blue
Public Sub New(ByVal name As String, ByVal XY As Point, ByVal Widthy As Integer, ByVal Heighty As Integer)

[code].....

View 5 Replies

Remove DotNET Menu Dropdown Grey Area For Icons?

Oct 5, 2009

How do I remove the area in a dropdown menu where the menu item icons are typically displayed?

I just need to remove the grey area in this particular dropdown, other dropdowns of menu items in the same menu bar need to retain this area because they do have icons.

Edit: This is WinForms.

View 1 Replies

Interface And Graphics :: Keep Graphics Over Image

Oct 28, 2011

I load my picturebox with a jpeg. If I put my DrawObjects() sub into picturebox paint event.When ever a picturebox.refresh or picturebox.visible = true (vb.net seems to draw my DrawObjects() first, then load the jpeg Image over my drawing - erasing drawing) Is there a way to get the picturebox to redraw the jpg image first then draw on it, in picturebox paint event?

View 10 Replies

Interface And Graphics :: Possible To Do Image Map

Apr 4, 2011

Just want to know if it is possible to do an image mapping in VB2010?..

View 3 Replies

Interface And Graphics :: How To Rotate An Image

Aug 21, 2011

I can get the image to rotate the problem is that on every step throught the loop the image goes to it inverse or draw backwards.

Code:
Public Class Form1
Public K As New Grid_Tiles
Public D As Integer

[code]....

View 1 Replies

Interface And Graphics :: Rotate A Jpg Image?

May 28, 2009

I have an application that downloads a .jpg snapshot from an IP camera, writes it to the server hard drive, attaches it to an email and sends it out to my users. Pretty simple until one guy had to mount his camera upside down and that's how he received the image via email.

It gets a bit annoying after a while, so he asked me if I could rotate it 180 degrees before attaching it to the email. I have absolutely no idea - hence my post. The app is on a hosted ASP.Net v3.5 web server.

View 7 Replies

Interface And Graphics :: Converting Image To Grayscale?

Dec 10, 2010

I'm creating a Image viewer and was wondering if anyone could help me with resizing an image, and converting the image to grayscale? My knowledge of visual basics is very limited so any code snippets.I am wanting to resize the original image to a 3 x 3.

View 1 Replies

Interface And Graphics :: Added Image Quality Ran Off

Mar 1, 2010

I'm using below code 2 add image into a picturebox during the run time. i could add image but when i clicked the picture to make it become smaller, the picture quality is blur which not as the initial picture.

[Code]...

View 4 Replies

Interface And Graphics :: Changing Images In Image Box?

Sep 11, 2009

how do i change the picture inside a picture box.I wanna make 5 dice that change when you press roll.. the number generator is easy i just wanna use graphics rather than a label to display the numbers.

View 1 Replies

Interface And Graphics :: Changing Picture Box Image

Mar 29, 2012

anyone know how to do this, but wit a browse for folder aspect..like i open up my browse for folder window, select the folder i want and it displays the .png file in picturebox..i'm trying to figure it out..here is what i have so far..i have it setup where i'm opening up a folder and loading certain files in my checkedboxlist..but i also want a .png file that is in the subfolders(the only .png file in the entire directory) to be displayed in the picturebox..but the folder is going to be changed depending on which folder is selected..so it can't be a set directory or path..basically has to change like the checkedboxlist.

[Code]...

View 1 Replies

Interface And Graphics :: Draw Image From Database?

May 13, 2009

I am trying to draw an image from a MS Access database by use of e.Graphics.DrawImage(New Bitmap()). In my database Row 0 Item 1 holds the path to the image I want to draw.

My current code looks like this:

Code:
Private Sub pnlStart2_Paint(ByVal sender As Object, ByVal e As_ System.Windows.Forms.PaintEventArgs) Handles pnlStart2.Paint
e.Graphics.DrawImage(New Bitmap(ds.Tables("Track1").Rows(0).Item(1)), 3, 3)
End Sub

When I run my program I get the following message in my code: Illegal characters in path how I can draw the image from the database?

View 6 Replies

Interface And Graphics :: Getting A Black Jpeg Image?

Nov 16, 2010

What am i doing wrong on this code? im trying to get my form into a jpeg picture, but everytime it only saves a black screen of what im doing

Code:
Private Shared Function BitBlt(ByVal hdcDest As IntPtr, ByVal nXDest As Integer, _
ByVal nYDest As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, _
ByVal hdcSrc As IntPtr, ByVal nXSrc As Integer, ByVal nYSrc As Integer, ByVal _

[Code].....

View 6 Replies

Interface And Graphics :: Image Has Been Loaded Into The Picturebox1?

Sep 23, 2008

I am trying to verify that an image has been loaded into the picturebox1. I am loading the image from the web and need to verify it has arrived before I can save it to disk. If I save it to soon I will save nothing and that will crash the app. I have tried to use 'if PictureBox1.image = nothing then' ... 'End If', but that isn't a valid check. I can obviously not check picturebox1.image if it is empty or has an image.

So the question is, how do I verify that the file has finished loading?

View 4 Replies

Interface And Graphics :: Open Very Large Image

Aug 13, 2008

I have a map image and i want to open it look like ACDSEE (very fast)my image is 12756 x 8504 pixel and i try backbuffer but not work for me.

View 3 Replies

Interface And Graphics :: Printing Image To A Printer?

Aug 5, 2009

We are trying to get an image to a printer.Does someone any idea how to do that, or maybe someone has code?

View 3 Replies

Interface And Graphics :: ScaleTransform - How To Edit Image

Jan 22, 2011

I vagely understand how to edit an image using Graphics. I can rescale an image using scaletransform but I want to be able to use a dynamic scale i.e., given an image with (x,y) coordinates, I want x_new = x_old + y*Factor so that when the image is stretched one end is stretched more than another.

View 6 Replies

Interface And Graphics Image Pixel Viewer

May 3, 2011

I would like to create a pixel viwer (i.e. zoom into a picture to view the image's pixel information - Similar to windows paint or Photoshop). I have created an image zooming code, but it enlarges the image and sadly, doesn't show the blocks of pixels I was hoping for.I have thought of several ideas, but each worse than the next. As an example, re-create the image, increasing each pixel's area based on the zoom-level. But I can tell already that this process would be slow and judging by photoshop (or paint) there is a quicker method.

View 2 Replies







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