|
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.
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|