DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
//-------------------------------------------------------------------------------------- // File: ImeUi.h // // Copyright (c) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #ifndef _IMEUI_H_ #define _IMEUI_H_ #if _WIN32_WINNT < 0x0400 #error IMEUI requires _WIN32_WINNT to be 0x0400 or higher. Please add "_WIN32_WINNT=0x0400" to your project's preprocessor setting. #endif #include
class CImeUiFont_Base { public: virtual void SetHeight( UINT uHeight ) { uHeight; }; // for backward compatibility virtual void SetColor( DWORD color ) = 0; virtual void SetPosition( int x, int y ) = 0; virtual void GetTextExtent( LPCTSTR szText, DWORD* puWidth, DWORD* puHeight ) = 0; virtual void DrawText( LPCTSTR pszText ) = 0; }; typedef struct { // symbol (Henkan-kyu) DWORD symbolColor; DWORD symbolColorOff; DWORD symbolColorText; BYTE symbolHeight; BYTE symbolTranslucence; BYTE symbolPlacement; CImeUiFont_Base* symbolFont; // candidate list DWORD candColorBase; DWORD candColorBorder; DWORD candColorText; // composition string DWORD compColorInput; DWORD compColorTargetConv; DWORD compColorConverted; DWORD compColorTargetNotConv; DWORD compColorInputErr; BYTE compTranslucence; DWORD compColorText; // caret BYTE caretWidth; BYTE caretYMargin; } IMEUI_APPEARANCE; typedef struct // D3DTLVERTEX compatible { float sx; float sy; float sz; float rhw; DWORD color; DWORD specular; float tu; float tv; } IMEUI_VERTEX; // IME States #define IMEUI_STATE_OFF 0 #define IMEUI_STATE_ON 1 #define IMEUI_STATE_ENGLISH 2 // IME const #define MAX_CANDLIST 10 // IME Flags #define IMEUI_FLAG_SUPPORT_CARET 0x00000001 bool ImeUi_Initialize( HWND hwnd, bool bDisable = false ); void ImeUi_Uninitialize(); void ImeUi_SetAppearance( const IMEUI_APPEARANCE* pia ); void ImeUi_GetAppearance( IMEUI_APPEARANCE* pia ); bool ImeUi_IgnoreHotKey( const MSG* pmsg ); LPARAM ImeUi_ProcessMessage( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM& lParam, bool * trapped ); void ImeUi_SetScreenDimension( UINT width, UINT height ); void ImeUi_RenderUI( bool bDrawCompAttr = true, bool bDrawOtherUi = true ); void ImeUi_SetCaretPosition( UINT x, UINT y ); void ImeUi_SetCompStringAppearance( CImeUiFont_Base* pFont, DWORD color, const RECT* prc ); bool ImeUi_GetCaretStatus(); void ImeUi_SetInsertMode( bool bInsert ); void ImeUi_SetState( DWORD dwState ); DWORD ImeUi_GetState(); void ImeUi_EnableIme( bool bEnable ); bool ImeUi_IsEnabled( void ); void ImeUi_FinalizeString( bool bSend = false ); void ImeUi_ToggleLanguageBar( BOOL bRestore ); bool ImeUi_IsSendingKeyMessage(); void ImeUi_SetWindow( HWND hwnd ); UINT ImeUi_GetInputCodePage(); DWORD ImeUi_GetFlags(); void ImeUi_SetFlags( DWORD dwFlags, bool bSet ); WORD ImeUi_GetPrimaryLanguage(); DWORD ImeUi_GetImeId(UINT uIndex); WORD ImeUi_GetLanguage(); LPTSTR ImeUi_GetIndicatior(); bool ImeUi_IsShowReadingWindow(); bool ImeUi_IsShowCandListWindow(); bool ImeUi_IsVerticalCand(); bool ImeUi_IsHorizontalReading(); TCHAR* ImeUi_GetCandidate(UINT idx); TCHAR* ImeUi_GetCompositionString(); DWORD ImeUi_GetCandidateSelection(); DWORD ImeUi_GetCandidateCount(); BYTE* ImeUi_GetCompStringAttr(); DWORD ImeUi_GetImeCursorChars(); extern void (CALLBACK *ImeUiCallback_DrawRect )( int x1, int y1, int x2, int y2, DWORD color ); extern void* (__cdecl *ImeUiCallback_Malloc )( size_t bytes ); extern void (__cdecl *ImeUiCallback_Free )( void* ptr ); extern void (CALLBACK *ImeUiCallback_DrawFans )( const IMEUI_VERTEX* paVertex, UINT uNum ); extern void (CALLBACK *ImeUiCallback_OnChar )( WCHAR wc ); #endif //_IMEUI_H_
ImeUi.h
Page URL
File URL
Prev
21/29
Next
Download
( 3 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.