Changeset 24 in dev for ProjectEditor/TabCtrl.h


Ignore:
Timestamp:
Dec 30, 2006, 10:18:01 AM (17 years ago)
Author:
dai_9181
Message:

保存されていないドキュメントのタブに(*)をつける機能に対応。
MDITEXTEDITINFOをCMdiTextEditに変更。今後、オブジェクト指向化を進める。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/TabCtrl.h

    r3 r24  
    44    HFONT hBoldFont;
    55
    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 );
    717
    818public:
     
    1222    ~CMainTab();
    1323
    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 );
    1726
    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 );
    1940
    2041    void SelChangeEvent();
Note: See TracChangeset for help on using the changeset viewer.