source: dev/trunk/ab5.0/abdev/abdev/TabCtrl.h@ 681

Last change on this file since 681 was 626, checked in by dai_9181, 16 years ago

MdiInfoをリファクタリング

File size: 1.0 KB
RevLine 
[3]1
2
3class CMainTab{
4 HFONT hBoldFont;
5
[24]6 //アイテム文字列を元にインデックスを取得する
7 int SearchItemIndex( const char *lpszText );
[3]8
[24]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 );
17
[3]18public:
19 HWND hTab;
20
21 CMainTab(HWND hParent);
22 ~CMainTab();
23
[24]24 //アイテムを挿入
25 void InsertItem( const char *lpszText, bool isResize, COLORREF color = -1 );
[3]26
[24]27 //アイテムを削除
28 void DeleteItem( const char *lpszText, bool isResize );
[3]29
[24]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 );
40
[3]41 void SelChangeEvent();
[626]42 void MdiActiveEvent(const char *lpszText);
[3]43
44 void draw(HDC hdc);
45};
46extern CMainTab *pobj_MainTab;
Note: See TracBrowser for help on using the repository browser.