Changeset 24 in dev for ProjectEditor/TabCtrl.h
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/TabCtrl.h
r3 r24 4 4 HFONT hBoldFont; 5 5 6 int search(char *lpszText); 6 //アイテム文字列を元にインデックスを取得する 7 int SearchItemIndex( const char *lpszText ); 8 9 //アイテム文字列を変更する 10 void SetItemText( int index, const char *ItemText ); 11 12 //アイテム文字列を取得する 13 void GetItemText( int index, char *ItemText ); 14 15 //アスタリスク表示かどうかを調べる(true/変更あり, false/変更なし) 16 bool IsModified( int index ); 7 17 8 18 public: … … 12 22 ~CMainTab(); 13 23 14 void insert(char *lpszText,BOOL bResize,COLORREF color=-1); 15 void delete_item(char *lpszText,BOOL bResize); 16 void reset_item(char *lpszOldText,char *lpszNewText); 24 //アイテムを挿入 25 void InsertItem( const char *lpszText, bool isResize, COLORREF color = -1 ); 17 26 18 COLORREF GetItemColor(char *lpszText); 27 //アイテムを削除 28 void DeleteItem( const char *lpszText, bool isResize ); 29 30 //アイテムの名前を変更 31 void RenameItem( const char *lpszOldText, const char *lpszNewText ); 32 33 //変更あり通知 34 void NofityModifyDocument( const char *ItemText ); 35 36 //変更なし通知 37 void NofityUnModifyDocument( const char *ItemText ); 38 39 COLORREF GetItemColor( char *ItemText ); 19 40 20 41 void SelChangeEvent();
Note:
See TracChangeset
for help on using the changeset viewer.