home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2002 January / VPR0201B.ISO / APUPDATE / VC / TXC0601M / TXC0601M.LZH / _IDMLIB.H < prev    next >
C/C++ Source or Header  |  2000-01-05  |  3KB  |  83 lines

  1. #ifndef _IDMLIB_H
  2. #define _IDMLIB_H
  3.  
  4. #include "_list.h"
  5.  
  6. #ifdef _LIST_H
  7. typedef struct tagJH_ITEM {
  8.     LISTITEM head;    // 必ず先頭にこれを入れる
  9. // mydata
  10.     mchar szname[CCHWORD];
  11.     int npara;
  12.     mchar szfilename[CCHPATHNAME];
  13. } JH_ITEM;
  14. #endif
  15.  
  16. #if __TXC__
  17. extern "_idmlib" {
  18. extern mchar _szuiwz[];
  19. extern mchar szclassList[];
  20. extern wchar wszclassList[];
  21. extern mchar szclassListH[];
  22. extern wchar wszclassListH[];
  23. extern wchar wszclassText[];
  24. extern wchar wszclassPartition[];
  25. int txCmpIParatopLen(TX* text,mchar* szstr,int lch);
  26. int txCmpParaOffset(TX* text,mchar* szstr,IBUFF offset);
  27. int txCmpIParatop(TX* text,mchar* szstr);
  28. BOOL txIbuffIsNspace(TX* text,IBUFF ibuff,int n);
  29. BOOL txSelectGetOverwrite(TX* text);
  30. void txFlushMenuCheckAll(TX* text);
  31. void txRulerFlushDisp(TX* text);
  32. TX* textmsgopenWzapp(mchar* szName);
  33. void searchoptSetupMode(SEARCHOPT* opt);
  34. SEARCHMODE searchoptToSearchmode(SEARCHOPT* opt);
  35. void searchoptFromSearchmode(SEARCHOPT* opt,SEARCHMODE searchmode);
  36. void dialogAddSearchopt(HDIALOG hd,SEARCHOPT* opt,int mode);
  37. void wndSetEnableSearchOption(HWND hwnd);
  38. mchar* sepastrGetIndexStr(mchar* str,int i,int* pLch);
  39. void strDeleteTailSpaceTab(mchar* sz);
  40. #if UNICODE
  41. int sprintf_A(LPSTR szDst,LPCSTR szFormat,...);
  42. BOOL WINAPI SetWindowText_A(HWND hwnd,LPCSTR lpsz);
  43. int WINAPI GetWindowText_A(HWND hwnd,LPSTR lpsz,int cchMax);
  44. BOOL SetDlgItemText_A(HWND hwndDlg,int idControl,LPCSTR lpsz);
  45. BOOL GetDlgItemText_A(HWND hwndDlg,int idControl,LPSTR lpsz,int cchMax);
  46. void ListBox_AddString_A(HWND hctrl,mchar* sz);
  47. int ListBox_FindStringExact_A(HWND hctrl,int i,mchar* sz);
  48. BOOL WinExecEx_W(wchar* wszfilenameExe,wchar* wszCmdline);
  49. #endif
  50. #if defined(__TXC__) && WINDOWSCE
  51. BOOL IsIconic(HWND hwnd);
  52. #endif
  53. BOOL wndGetRect(HWND hwnd,RECT* r);
  54. mchar* GetWindowTextAlloc_A(HWND hwnd);
  55. #if !UNICODE
  56. BOOL CopyFile_W(LPCWSTR lpszSrc,LPCWSTR lpszDst,BOOL fFailIfExists);
  57. BOOL MoveFile_W(LPCWSTR lpszSrc,LPCWSTR lpszDst);
  58. BOOL DeleteFile_W(LPCWSTR lpszFileName);
  59. BOOL CreateDirectory_W(LPCWSTR lpszPath,LPSECURITY_ATTRIBUTES lpsa);
  60. #endif
  61. #ifdef _LIST_H
  62. void histjumpstrAnalyze(mchar* sz,JH_ITEM* item);
  63. #endif
  64. void jumphistAdd(TX* text);
  65. void strToRect(mchar* p,RECT* r);
  66. void sprintSizePrim(mchar* szbuff,UINT size);
  67. mchar* wpathExtractRejectMask(wchar* wszpath,mchar* szReject,int cch);
  68. BOOL txJumpTagPrim(TX* text,int mode);
  69. BOOL txJumpFileLink(TX* text);
  70. BOOL subdlgprocSblist(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam,HSTRBLK sb);
  71. void txIsearchStatprintf(TX* text,BOOL find,SEARCHMODE searchmode);
  72. BOOL txIsearchIsContinueIdm(TX* text,int idm);
  73. BOOL txIsearchQuit(TX* text);
  74. void txIsearchQuitEm(TX* text);
  75. int questionOverwrite(wchar* wszfilename);
  76. BOOL wpathIsBinaryFiletype(wchar* wszfilename);
  77. BOOL wpathIsCszFiletype(wchar* wszfilename,mchar* cszExt);
  78. void filetimeAdd(FILETIME* ft,FILETIME* ftAdd);
  79. }
  80. #endif    // __TXC__
  81.  
  82. #endif    // !_IDMLIB_H
  83.