⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myfunc.h

📁 支持Windows 3.x、Windows 9x平台上的中文(GB、Big5)、日文(Shift JIS、EUC JIS)、韩文(KS C 5601)、HZ码的显示与输入,智能内码识别
💻 H
字号:
#ifdef __cplusplus
extern "C" {
#endif

BOOL __export FAR PASCAL MyTextOut( 
					HDC hdc , int nXStart , int nYStart , 
				   LPCSTR lpString , int cbString ) ;  
BOOL __export FAR PASCAL MyExtTextOut( 
					HDC hdc , int nXStart , int nYStart , 
				   UINT fuOptions , const RECT FAR* lprc ,
				   LPCSTR lpString , UINT cbString ,
				   int FAR* lpDx ) ;
int __export FAR PASCAL MyDrawText(	
						HDC hdc ,	/* handle of device context	*/
						LPCSTR lpsz ,	/* address of string to draw	*/
						int cb ,	/* string length	*/
						RECT FAR* lprc ,	/* address of structure with formatting dimensions	*/
						UINT fuFormat )	;/* text-drawing flags	*/
BOOL __export FAR PASCAL MyGetCharWidth(
							HDC hdc ,	/* handle of device context	*/
							UINT uFirstChar,	/* first character in range to query	*/
							UINT uLastChar,	/* last character in range to query	*/
							int FAR* lpnWidths ) ;	/* address of buffer for widths	*/
BOOL __export FAR PASCAL MyGetCharABCWidths(
							HDC hdc ,	/* handle of device context	*/
							UINT uFirstChar,	/* first character in range to query	*/
							UINT uLastChar,	/* last character in range to query	*/
							LPABC lpabc ) ;	/* address of buffer for widths	*/
DWORD __export FAR PASCAL MyGetTextExtent(
										HDC hdc,	/* handle of device context	*/
										LPCSTR lpszString,	/* address of string	*/
										int cbString ) ;	/* number of bytes in string	*/
int __export FAR PASCAL MyGetSystemMetrics( int nIndex ) ;										
//BOOL __export FAR PASCAL MyGetTextMetrics(
//	HDC hdc ,	/* handle of device context	*/
//	TEXTMETRIC FAR* lptm ) ;	/* pointer to structure for font metrics	*/
//---------------------------------------------------------------------//
int	GetOneLine( HDC hdc , int nStart , LPCSTR lpsz , int cb , 
				int nRectWidth , UINT fuFormat ) ;

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -