fg_setdc()

Win32 DirectX Fastgraph/Light

Prototype

void fg_setdc (HDC hdc);

Sub fg_setdc (ByVal hdc As Long)

procedure fg_setdc (hdc : HDC);

Description

The fg_setdc() function establishes a device context for the window's client area. It is usually one of the first Fastgraph functions called in the WM_CREATE message handler.

Parameters

hdc is a Windows handle to the client area device context, usually obtained with the GetDC() function from the Windows API (or the hDC property in Visual Basic programs).

Return value

none

Restrictions

none

Examples

First and all the other example programs use this function.

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.