Results 1 to 2 of 2

Thread: .hdc property

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Posts
    31
    hey everyone I was wondering could someone tell me about the .hdc property, like how it is used..
    thanks.

  2. #2
    Fanatic Member faisalkm's Avatar
    Join Date
    Oct 2000
    Location
    Germany
    Posts
    752
    MSDN says:--

    This property is a Windows operating environment device context handle. The Windows operating environment manages the system display by assigning a device context for the Printer object and for each form and PictureBox control in your application. You can use the hDC property to refer to the handle for an object's device context. This provides a value to pass to Windows API calls.

    device context:
    A link between a Windows-based application, a device driver, and an output device such as a display, printer, or plotter.


    This property is assigned by Windows to ur form and u can this property to use with API drawing Functions
    Faisal Muhammed
    Homepage:I Started making it in 1994 ...Still Under Construction
    Using

    Visual Basic 6.0 Enterprise SP5
    Embedded Visual Basic 3.0
    SQL Server 2000
    Windows 2000 Proff
    Delphi 6.0


    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width