Develop and Download Open Source Software

Browse Subversion Repository

Contents of /old/tabs.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25 - (show annotations) (download)
Wed Jan 2 22:49:32 2008 UTC (16 years, 4 months ago) by tabasa
File MIME type: text/plain
File size: 759 byte(s)


1 _extern void AddTab(HWND hTab, char *name);
2 _extern void AddTab(HWND hTab, char *name,char*);
3 _extern void delAllTab(HWND);
4 _extern void SetTab(HWND hTab, int num, char *name);
5 void SetCurSel(HWND hTab, int po);
6 int GetCurSel(HWND hTab);
7 char *GetTabPath(int num);
8 int GetItemCount(HWND hTab);
9 void delTab( HWND hTab, int num );
10
11
12 #define PathLen MAX_PATH
13
14
15 class tabItem
16 {
17 char name[PathLen];
18 char path[PathLen];
19 public:
20 tabchar();
21 char *getPath(){return path;};
22 char *getName(){return name;};
23 void setName(char *n){ wsprintf(name,"%s",n);}
24 void setPath(char *p){ wsprintf(path,"%s",p);}
25 };
26
27
28 class tabs
29 {
30 int num;
31 public:
32 tabs(){init();};
33 void init(){num=0;};
34 int getnum(){return num;};
35 void numplus(){num++;};
36 void numplus(int i){num+=i;};
37 };

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision
svn:mime-type text/plain

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26