Interface And Graphics :: Panels - Drag Objects Without A Windows Frame?

Oct 1, 2010

How do you drag objects without a windows frame?

View 5 Replies


ADVERTISEMENT

Interface And Graphics - Photo Frame In AVI File

May 27, 2010

How can I pull a single frame from a .Avi file and save it as a .jpg/.bmp etc? I want to give VB.net a frame number, and have it save an image file of that frame - anyone?

View 1 Replies

Interface And Graphics :: Locking The Child Frame?

Aug 21, 2008

I have an application containing parent and child frame. Child frame is accessed by parents. I want to limit moving of childs frame only in parent frame.

View 2 Replies

Interface And Graphics :: Use A Graphical User Interface That Contains A Drag And Drop Form?

Oct 19, 2008

I'm working on a design project where I have to use a Graphical User Interface that contains a drag and drop form. It consists of having a window dropped on a wall. Both of them are images to scale. I would like to know what kind of code I would have to use to show the x and y coordinates of one of the points of my window when dragged so when I drop it, I'm dropping in it on the desired coordinate of the wall.

View 2 Replies

Interface And Graphics :: Resize Panels Manually While An Application Is Running

Sep 16, 2011

I want to know if there is a way I can resize panels manually while an application is running. Basically I have one master panel you click a button add more panels to it. I want the child panels to be movable and resizable in the parent panel.

View 1 Replies

Interface And Graphics :: How To Prevent Drag'n'drop Between Components

Jan 2, 2009

How can I check if the data in a drag'n'drop event originates from the same component?I've created a component containing two ListViews and the ability to drag'ndrop between them.The problem occurs when a progrem uses more than one of these components, it is possible to drag from one component to another, I don't want that to be possible.[code]I thought the "And (m_DragSource Is lviewSelection Or m_DragSource Is lviewSelected)" in the first if would prevent dropping from other components but it doesn't. How to do this?

View 4 Replies

Interface And Graphics :: Drag Text From Ie8 And Drop It Onto A TextBox In VB 2008?

Feb 21, 2010

I'm running Windows 7 x 64 and the latest version of VS 2008.I have spent forever trying to get the following VB6 code snippet to work in a VB 2008 Windows Forms application. The VB6 application works like a charm, even on Win 7 x64.Here is the relevant (I hope) VB6 code. It allows me to select text in IE8's browser window and then drag and drop it onto a TextBox called txtLink in a very simple VB6 application.

Code:
Private Sub txtLink_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)

[code]....

View 4 Replies

Interface And Graphics :: Resize Objects Dynamically In .net?

Oct 13, 2009

I need to let the end user move and resize objects (like a textbox or button). There are several examples that demonstrate this in VB, but not in VB Express 2008, based upon VB.net.It looks like earlier you needed to access Windows API, but these calls does not work in VB.net. I understand that these call are replaced by "native" .net calls, but I cannot find any that does the job.

A typial example from old VB is:

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

This does not work in VB.net.

View 3 Replies

Interface And Graphics :: Drawing Objects To Picturebox With Floating Point Numbers?

Jul 17, 2009

If I try to draw a circle by using e.g.

Code:
e.Graphics.DrawEllipse(Pens.Red, 50.133, 100.321, 0.1, 0.1)

I will get an error message. I tried something like

Code:
Public ObjectPoint As PointF
Dim cpoint As New PointF()
cpoint.ObjectPoint = New PointF(startX, startY)
e.Graphics.DrawEllipse(Pens.Blue, cpoint.ObjectPoint, 0.4, 0.4)

but it didn't work for the location and the circle size. How to draw a circle(and rectangle) by using floating point numbers?

View 6 Replies

Interface And Graphics :: Add Visualizations To Sink With Windows Media Player?

Aug 11, 2011

im building a mp3 player in vb 2010 i am using windows player to play files but the visualizations do not suit my design. how i can add visualizations to sink with windows media player?

View 2 Replies

Layer Panels And Other Objects?

May 15, 2011

I'm having a bit of trouble creating draggable panels that will stay on top of all the other panels and not 'hide' behind them. My code for dragging works fine, I just need to set the layer of a panel to the top of all the different controls

View 1 Replies

Interface And Graphics :: E.Graphics.Drawstring Length Overflow Page?

Nov 19, 2010

Im working on a project that needs to print a report of one client.Everything went smooth untill i came across my multiline input text data.When i display it in the PrintPagePreview the text go's outside my page. Even when im printing it only the halve of my text is displayed. I googled and looked everywhere but i can't get a clear fix for it.

[Code]...

View 3 Replies

Interface And Graphics :: Passing Bitmaps & Graphics To Subroutines As Arguments

Jan 22, 2011

I used to program with Visual Basic 6, so I have alot of old programs that I'm updating, plus I'm learning the new VB2008 methods. I'm writing a program that replaces the old "BitBlit" function which is no longer supported by Visual Basic 2008. It involves three picture boxes, one holds the sprite bitmap, a second holds the mask (silhouette) of the sprite bitmap, and a third has a background image.

[Code]...

View 3 Replies

Interface And Graphics :: System.Drawing.Graphics.DrawString On Other Window?

Aug 14, 2009

drawing text on a window which is not the current form's window.I remember doing this in Win32 api with getwindowdc(handle) to obtain a DC for the Window, then textout() on the DC.

View 2 Replies

Interface And Graphics :: Create A User Interface In A Game Such As The Application XFire Using VB?

Jan 12, 2010

how to create a user interface in a game such as the application XFire using Visual Basic?

View 3 Replies

Interface And Graphics :: Creating A Class Holding Some Graphics?

Jan 12, 2011

Ok, I want to create a class that will handle a special rectangle graphic.In my form, I want to have two of these special rectangles. So, basically, I need two instances of that class in my form, right?I manage to initialize two, alright. But, how exactly am I supposed tomanage drawing/graphics etc in a class, and the results to be displayed in my form?

View 13 Replies

Interface And Graphics :: Error - Graphics Paths For Designing

Oct 29, 2008

Using graphics paths for designing...but am getting an error when trying to add a shape to : _shapelist.add(createshape())

It says : Value of type 'system.drawing.drawing2d.graphicspath' cannot be converted to '1-dimensional array of system.drawing.drawing2d.graphicspath'

View 2 Replies

Open New Interface Panels In Main Form?

Apr 12, 2010

Have a set of buttons across the top of my form and when the user clicks one id like the botom of the form to change to reflect that click. Kind of like the Office 2k7 ribbon but apply that to the whole form.

View 3 Replies

Interface And Graphics :: How To Procede With An Interface Design Approach

May 18, 2012

I was wondering if I could elicit some tips on how to procede with an interface design approach.That is. What is a good way to go about establishing a "work area" where one can have multiple "floating forms" in this area.Can you have a form which occupies the entire windows desk top and the other forms "float" in this space? the "floating" forms would need to interact with each other where pressing buttons etc on them would affect other forms on the "workspace") Or what would be a good way to start accomplishing that? Or is there a better way to get the same effect?

View 4 Replies

Interface And Graphics :: Link A Class / Object To An Interface?

Apr 21, 2010

I'm trying to make a .dll that contains a lot of basic functionality that a program can use. Currently i am trying to use interfaces to make a lot of this functionallity independend of the program using it but i hit a snag. The Basic idea is that a programmer will create his own object using the interface discribed in my .DLL file. Then implements those functions as he likes. He can then instanciate a controller (found in the same DLL) and sends his custom object implementing the interface to that Controller. The controller can then be started and will take over all the work. I do not know what type of object is send to the controller and idealy i want to program it in such a fashion that i shouldn't care as long as the object send implements that interface.In code I am trying to achieve the following: (quite simplyfied)

.Dll:
Code:
Public Interface MyInterface '<----Decleration of the interfaceFunction GetData() As Integer
Function SetData(Data As Integer)
end interface

[code]....

this propperly. I know that the second i set the interface adaptor in the Controller VS comes nagging that it can not be converted to a "MyInterface" Class. Obviously i am doing something wrong. I can change the datatype that the controller expects to the "MyController" type but that would completely ruin the whole idea of flexibillity. I am hoping someone sees what i am trying to do and can point out where i made the thinking error.

View 6 Replies

Interface And Graphics :: Picture Of Interface And Get Feedback On Changes For Easier Use?

May 21, 2012

Is this where i would post a picture of my interface and get feedback on changes for easier use? If not is there someplace on this forum or any other forum to do this?

View 1 Replies

VS 2008 Open New Interface Panels In Main Form?

Sep 26, 2009

Ok Guys what id like to do is Have a set of buttons across the top of my form and when the user clicks one id like the botom of the form to change to reflect that click. Kind of like the Office 2k7 ribbon but apply that to the whole for

View 3 Replies

Interface And Graphics :: Draw On Tabpage's Graphics?

Jan 19, 2011

So I decided to make my famous tile selector project, but instead of drawing in a form's graphics, do it inside a tabpage.Well, I managed to get it working, but it seems to... flicker.Normally, setting the form's DoubleBuffered property to True would help a lot there, but apparently, the tabpage has no such property.

When I invalidate the tabpage, I draw two images and fill one rectangle.Following past advice, those two images were created before, just once, and are stored in a variable so I don't create them every time I invalidate the tabpage.

View 1 Replies

Interface And Graphics :: Save Graphics As Png With Transparency?

Aug 1, 2010

Ok I have this: This makes a sub called 'graphicspaint' then writes "demo version" to a picturebox1

Code:
Imports System.Drawing
Imports System.Windows.Forms

[code]......

View 8 Replies

Interface And Graphics :: [VB2010] - Some Graphics Effects?

Dec 5, 2011

i whant do my own shadow effect. i can do the shandow. but how can i plus 2 bitmap images(1 above the other)?

View 15 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

.net - Drag And Drop Objects?

Mar 26, 2012

How to implement Drag and Drop multiple objects in the form in Visual Basic. The drag-able object will be provided within the same form but in a different panel. I must be able to delete the object also.

View 1 Replies

Drag And Drop Objects On A Window Form?

Oct 29, 2009

how to drag and drop objects on a Window form? If I have two labels - one says "1" and the other says "2" on their texts, and I want two other matching labels to be able to be dragged from one end of the form to the other so that say label 1 of one text can be matched to label 1 of the other text. I am designing a grammar learning program that will use drag/drop concept

View 2 Replies

VS 2008 - Drag And Drop Image Objects

Feb 12, 2012

I have a form with 2 pictureboxes. 1 is for the canvas and the other is for holding about a dozen images (about 60x60 pixels each), pretty much icons. I would like to drag the images to the canvas and be able to move them around or delete them if necessary. Like setting up a board. Since I am using pictureboxes, what would be the best way to load the images and also the best method to be able to drag them around 1 by 1. This is almost like a paint program with brushes that can be moved around.

View 2 Replies

Interface (drag Image And Copy)

Jan 4, 2010

I have 6 picture boxes 5 of which shows the players and 1 picture box for the basketball. What I would like to do is to drag those picture boxes on the court at run time but when I drag them inside the court the images should not be moved instead they should only be copy inside the court. how do I do it? Im having a hard time solving this problem. what I have right now is that when I drag the images the image are moved to the court and not copied. Also after dragging the first picture box that picture box from the source should be hidden then the 2nd picture box will now be visible and so on...

[Code]...

View 1 Replies







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