Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleDraw an arc using the AngleArc API function in Windows NT
Keywordsarc, angle, API
CategoriesGraphics, API
 
Use the AngleArc API function. Note that the angles are Singles not Doubles as the API viewer says.
 
Private Sub Form_Load()
    AutoRedraw = True
    ScaleMode = vbPixels
    Line (100, 10)-(50, 10)
    AngleArc hdc, 50, 50, 40, 90, 180
End Sub
 
Note that AngleArc is only supported in Windows NT (and probably later versions).
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated