Index   Commented   Search   About

DrawDibUpdate

The DrawDibUpdate macro draws the last frame in the DrawDib off-screen buffer.

BOOL DrawDibUpdate(

HDRAWDIB hdd,

HDC hdc,

int xDst,

int yDst

);

Parameters

hdd

Handle of a DrawDib DC.

hdc

Handle of the DC.

xDst and yDst

The x- and y-coordinates, in MM_TEXT client coordinates, of the upper left corner of the destination rectangle.

Return Value

Returns TRUE if successful or FALSE otherwise.

Remarks

The DrawDibUpdate macro is defined as follows:

#define DrawDibUpdate( hdd, hdc, x, y) \

DrawDibDraw( hdd, hdc, x, y, 0, 0, NULL, NULL, 0, 0, \

0, 0, DDF_UPDATE)

This macro can be used to refresh an image or a portion of an image displayed by your application.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun