Index   Commented   Search   About

GetPenResource

2.0

The GetPenResource function retrieves a copy of a pen services resource. (Japanese version only.)

HANDLE GetPenResource( WPARAM wParam )

Parameters

wParam

Specifies the pen services resource for which to retrieve a handle. This may be one of the following:

Constant
Description
GPR_CURSPEN
Standard pen cursor.
GPR_CURSCOPY
Copy cursor.
GPR_CURSUNKNOWN
Unknown cursor.
GPR_CURSERASE
Erase cursor.
GPR_BMCRMONO
Monochrome Return bitmap.
GPR_BMLFMONO
Monochrome LineFeed bitmap.
GPR_BMTABMONO
Monochrome Tab bitmap.
GPR_BMDELETE
Delete bitmap.
GPR_BMLENSBTN
Lens buttonface bitmap.
GPR_BMHSPMONO
Hankaku space bitmap (Japanese version only).
GPR_BMZSPMONO
Zenkaku space bitmap (Japanese version only).

Comments

An application can use this function to get a copy of a cursor or bitmap used by pen services. It is the application's responsibility to destroy the object by calling either the DestroyCursor or DeleteObject Windows API.

Return Value

This function returns a handle to an object, depending on the index specified by wParam if successful. Otherwise the return value is NULL.

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)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.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