Browse Subversion Repository
Contents of /old/myfilemv.h
Parent Directory
| Revision Log
Revision 27 -
( show annotations)
( download)
Wed Jan 2 22:51:26 2008 UTC
(16 years, 4 months ago)
by tabasa
File MIME type: text/plain
File size: 1524 byte(s)
| 1 |
// myftp.h |
| 2 |
|
| 3 |
#include "stdio.h" |
| 4 |
#include <windows.h> |
| 5 |
#include <commctrl.h> |
| 6 |
#include "dir.h" |
| 7 |
|
| 8 |
#define ID_LIST 100 |
| 9 |
#define ID_DirEdit 101 |
| 10 |
#define ID_LISTL 102 |
| 11 |
#define ID_DirEditL 103 |
| 12 |
#define ID_STATUSBAR 104 |
| 13 |
#define ID_BUTTON 105 |
| 14 |
#define ID_DIR 106 |
| 15 |
#define ID_DIRL 107 |
| 16 |
#define ID_EDIT 108 |
| 17 |
#define ID_UP 109 |
| 18 |
#define ID_DOWN 110 |
| 19 |
|
| 20 |
#define CONTEXT_GETFILE 100 |
| 21 |
#define CONTEXT_CONNECT 200 |
| 22 |
#define CONTEXT_PUTFILE 300 |
| 23 |
#define MAX_INFO MAX_PATH*5 |
| 24 |
|
| 25 |
#define ASCII 1 |
| 26 |
#define BINARY 0 |
| 27 |
|
| 28 |
#define MAX_FILTER 2000 |
| 29 |
|
| 30 |
typedef struct _tagAccount{ |
| 31 |
char szUserName[1]; |
| 32 |
char szPassWord[1]; |
| 33 |
char memo[1]; |
| 34 |
} ACCOUNT; |
| 35 |
|
| 36 |
typedef struct _tagHWNDSET{ |
| 37 |
HWND hwnd1; |
| 38 |
HWND hwnd2; |
| 39 |
HIMAGELIST hImage; |
| 40 |
|
| 41 |
} HWNDSET; |
| 42 |
|
| 43 |
|
| 44 |
typedef struct _tagSTATUSCALLBACK |
| 45 |
{ |
| 46 |
HWND hwndStatus; |
| 47 |
DWORD dwFrom; |
| 48 |
} STATUSCALLBACK; |
| 49 |
|
| 50 |
_extern char *filefilter; |
| 51 |
_extern int localitemnum; |
| 52 |
|
| 53 |
|
| 54 |
int CALLBACK MyCompProc(LPARAM, LPARAM, LPARAM); |
| 55 |
ATOM InitApp(HINSTANCE); |
| 56 |
BOOL InitInstance(HINSTANCE, int); |
| 57 |
|
| 58 |
//’ljÁ |
| 59 |
void settitle(HWND &); |
| 60 |
void resettitle(); |
| 61 |
void resettitle(char*, int); |
| 62 |
void resettitle(int); |
| 63 |
void resettitle(HWND &hWnd); |
| 64 |
void settransfermode(); |
| 65 |
void MyCreatDir(HWND, dirw*); |
| 66 |
BOOL MyCreatFile(HWND, dirw *); |
| 67 |
BOOL MyCreatBlankFile(); |
| 68 |
long MyDelFile(HWND,dirw &); |
| 69 |
BOOL MyRename(dirw &dir); |
| 70 |
BOOL MyRemoveDir(HWND); |
| 71 |
void settransfermode(int); |
| 72 |
|
| 73 |
|
| 74 |
char *GetLPath(); |
| 75 |
char *GetRPath(); |
| 76 |
char *GetNXPath(); |
| 77 |
char *GetNPath(); |
| 78 |
char *GetNFile(); |
| 79 |
dirw *GetNDir(); |
| 80 |
dirw *GetNXDir(); |
| 81 |
dirw *GetLDir(); |
| 82 |
dirw *GetRDir(); |
| 83 |
int GetNTab(); |
| 84 |
HWND getMainEdit(); |
| 85 |
|
| 86 |
#include "mes.h" |
| 87 |
|
Properties
| svn:eol-style |
native
|
| svn:keywords |
Id Revision
|
| svn:mime-type |
text/plain
|
|