Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 4 of 5) 122 Result(s) found 

 

Path API Demo (BeginPath, EndPath, AbortPath)
Total Hit (4243) This is very simple demo to demonstrate how to use path API in grawing. To learn more about path Please visit following URL «a href='http://msdn.microsoft.com/library/en-us/gdi/paths_8acz.asp'»http://msdn.microsoft.com/library/en-us/gdi/paths_8acz.asp«/a» «b»To implement Quick Demo, Copy/Past ....Read More
Rating
How to use AlphaBlend function to display transparent or semitransparent images ?
Total Hit (5765) In this article we will see how to use new AlphaBlend API which is only available in win 2k and later , Win 98 and later. In this example we have function called DoAlphablend and this function takes 3 arguments : source picturebox, destination picture box and AlphaVal. Alphavalue determine the trans ....Read More
Rating
Working with Arc API (Arc, ArcTo, AngleArc)
Total Hit (4938) In this article we will explore 3 APIs (Arc, ArcTo and AngleArc). An arc is a portion or segment of an ellipse, meaning an arc is a non-complete ellipse. Because an arc must confirm to the shape of an ellipse, it is defined as it fits in a rectangle and can be illustrated as follows: «BR»«P Al ....Read More
Rating
How to use AnimateWindow API to animate form on Load/Unload events
Total Hit (7043) The AnimateWindow function enables you to produce special effects when showing or hiding windows. There are three types of animation: roll, slide, and alpha-blended fade. «b»Step-By-Step Example«/b» - Create a standard exe project - Add a new form called Form2 (Form1 is added by default) - A ....Read More
Rating
Drawing Chord using API
Total Hit (2457) «b»About Chords«/b» A chord is a region bounded by the intersection of an ellipse and a line segment called a secant. The following illustration shows a chord drawn by using the Chord function. When calling Chord, an application supplies the coordinates of the upper-left and lower-right corne ....Read More
Rating
How to draw left/center/right aligned text for a given rectangle area ?
Total Hit (3943) This sample code will show you how to use DrawText and DrawTextEx along with some Rectangle menupulation APIs like SetRect, SetRectEmpty, OffsetRect and CopyRect. DrawText is very useful api when you want to draw text within a rectangle boundary and you want to specify various option (i.e alignment ....Read More
Rating
Example of rectangle APIs
Total Hit (2451) This sample code will show you how to work with basic Rectangle manipulation APIs to do some math operations with Rectangles. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one timer control on the form1 - Add the following code in form1 «code LangId=1»Option Explicit ....Read More
Rating
Working with GDI Brush Object
Total Hit (5275) A brush is a graphics tool that applications use to paint the interior of polygons, ellipses, and paths. Drawing applications use brushes to paint shapes; word processing applications use brushes to paint rules; computer-aided design (CAD) applications use brushes to paint the interiors of cross-sec ....Read More
Rating
Rotate graphics (Plygon, line, ellipse, image...) using world transformation technique
Total Hit (5945) In this article I will show two different techniques to rotate an ellipse. First technique uses polygone points to draw an ellipse and second technique uses world transformation method which only applies to Win NT/2k/XP. «b»Step-By-Step Example«/b» - Create a standard exe project - Add two co ....Read More
Rating
Scale, Translate, Shear, Reflect and Rotate graphics using World Transformation technique
Total Hit (6010) «b»Step-By-Step Example«/b» - Create a standard exe project - Add six commandbutton controls on form1 - Add one picturebox controls on the form1 - Add the following code in form1 «code LangId=1»Private Declare Function SetWorldTransform Lib "gdi32" ( _ ByVal hDC As Long, ByRef lpXf ....Read More
Rating
Working with Basic Filled Shapes using GDI API
Total Hit (5657) Filled shapes are geometric forms that are outlined by using the current pen and filled by using the current brush. There are five filled shapes: «UL»«LI»Ellipse «LI»Chord «LI»Pie «LI»Polygon «LI»Rectangle «/UL» Applications use filled shapes for a variety of tasks. Spreadsheet applicat ....Read More
Rating
Rotating Image using PlgBlt API (Win 9x/ME not supported)
Total Hit (8276) - Create a standard exe project - Place two picture box and one timer control onth form1 - Assign some image (relatively small image would do betetr) to Picture1. - Add the following code in form1 «code LangId=1»Private Declare Function PlgBlt Lib "GDI32.dll" (ByVal hDCDest As Long, _ ....Read More
Rating
High quality image scaling
Total Hit (2734) Have you ever tried to use StretchBlt to resize image. Yep its easy to use with VB but if you use it without setting correct "Stretch Mode" it wont be a high quality image. To get high quality stretched image you can call SetStretchBltMode and set HALFTONE mode for highest quality image resizing. Fo ....Read More
Rating
Capture Screen or any Active Window and print it to fit in one page
Total Hit (4126) «b»Step-By-Step Example«/b» - Create a standard exe project - Add 2 command button controls, one picturebox and one timer control on the form1 - Add the following code in form1 «code LangId=1»Option Explicit Private Const INVERSE = 6 Private Const SOLID = 0 Private Const DOT = 2 Priva ....Read More
Rating
Using LineDDA api to control each point of line.
Total Hit (3245) This small code snippet will show you the use of LineDDA api which is very useful when you want to control each point of line. LineDDA use a callback method which gives x and y cordinates of the point to be drawn. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one module t ....Read More
Rating
How to produce mirror effect using World transform technique (Win9x/Me not supported)
Total Hit (6855) World transformation technique is a very useful technique in some cases for example if you want to rotate graphics/text or produce mirror effect then you can use this technique. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one picturebox on the form1 - Add the following ....Read More
Rating
Using GetPath and PolyDraw API to extract and draw path segments.
Total Hit (5470) GDI Paths are different than most of GDI objects. Path doesn't have handle but they always bound to device context. Path can be generated by calling BeginPath and EndPath API. Here the example how path can be generated. «code LangId=1»BeginPath(Me.hDc) '//.... '//Draw Lines '//Draw Polygon '/ ....Read More
Rating
clsEMF : A class to Create/Play/Save Enhanced Meta File (EMF).
Total Hit (6180) Internally, a metafile is an array of variable-length structures called metafile records. The first records in the metafile specify general information such as the resolution of the device on which the picture was created, the dimensions of the picture, and so on. The remaining records, which consti ....Read More
Rating
Working with Meta Files (EMF,WMF and APM)
Total Hit (11917) A metafile is a mechanism for storing a graphics device interface (GDI) "picture"—a series of GDI functions that are used to draw an image. A metafile consists of a series of records, each representing a GDI function. When the metafile is played back, each stored function is executed using its recor ....Read More
Rating
Extract and Play individual record stored in WMF/EMF file
Total Hit (6937) A metafile is a collection of structures that store a picture in a device-independent format. Device independence is the one feature that sets metafiles apart from bitmaps. Unlike a bitmap, a metafile guarantees device independence. There is a drawback to metafiles however, they are generally drawn ....Read More
Rating
How to extract associated icon of a file and draw in various state (i.e enabled, disabled & dithered)
Total Hit (3206) This sample demonstrates how simple it is to draw disabled, colourised and dithered icons, image or string. This task can be accomplished by DrawState API. DrawState can draw string, image or icon in normal, disabled, colourised or dithered state. «b»Step-By-Step Example«/b» - Create a standar ....Read More
Rating
This is a link to a different site Creating a Transparent Bitmap
Total Hit (1452) Start a new project, and to the form add two controls - a single command button and a single PictureBox containing the picture to make transparent (Source), as shown in the illustration. The 'Transparent Result' in this example is displayed on the form's hdc, not in another picture or image control. ....Read More
Rating
This is a link to a different site Displaying Bitmaps as Icons in Windows' Explorer View
Total Hit (637) As the Visual Basic developer designs more and more apps that utilize tiny bitmaps for toolbars and other things, it quickly becomes apparent that keeping track of exactly what each bitmap looks like is a task in itself.
Rating
This is a link to a different site Filling Polygonal Regions Using ExtFloodFill
Total Hit (1448) Here's a quickie one-form demo that shows how to use the ExtFloodFill API to construct a child's drawing canvas that can save and reload a picture. When the left mouse is pressed, lines are drawn on the picturebox in response to a drag. When the right mouse is pressed, a random colour fills the in ....Read More
Rating
This is a link to a different site Manipulating Image Brightness with SetPixelV
Total Hit (1227) Here's an interesting bit of code by Tanner Helland that takes any image assigned to a picturebox and rapidly adjusts the image brightness. As the new image is displayed, it progressively wipes overtop the old image (the demo picture shows the progress half-way across the girl). This code could be e ....Read More
Rating
This is a link to a different site Obtaining Bitmap Info Without APIs
Total Hit (1297) Using binary file access, read the BITMAPFILEHEADER and BITMAPINFOHEADER structures of a file to obtain the image details.
Rating
This is a link to a different site Mimicking the PrintScreen Function Using OLE
Total Hit (593) This code makes use of the OLE standard interface in Windows95/Windows98 to copy the contents of the desktop (the screen) into a PictureBox and save it to disk. To use this code, you must assure that the Standard OLE Types Reference to file \Windows\System\OLEPRO32.DLL is included in the project's r ....Read More
Rating
This is a link to a different site Mimicking the PrintScreen Function Using BitBlt
Total Hit (576) The following code will copy the contents of the desktop (the screen) into a PictureBox on a form
Rating
This is a link to a different site Variations on Mimicking the PrintScreen Function Using BitBlt
Total Hit (622) Extending the PrintScreen code to add Print Form and Print Any Window capabilities.
Rating
This is a link to a different site Calling the Windows PrintScreen Function Using keybd_event
Total Hit (614) The following code will copy the contents of the desktop (the screen) into a PictureBox or image control on a form. Unlike the examples listed at the top of this page, this method uses the Windows API to actually PrintScreen to the clipboard first, and then retrieve that bitmap into the image con ....Read More
Rating


(Page 4 of 5) 122 Result(s) found  1 2 3 4 5

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.