GetPenResource

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.

  • The following sentence has been added to the Comments section of the SetPenAppFlags function.

If both RPA_DBCSPRIORITY and RPA_SBCSPRIORITY are specified, the RPA_SBCSPRIORITY is ignored.

  • In the TrainHREC function, the following sentence has been appended to the Comments section.

Training gestures depends on the recognizer. The Microsoft Handwriting Recognizer (GRECO.DLL in US, RODAN.DLL in Japan) does not support training for gestures.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database