Last change
on this file since 703 was 700, checked in by イグトランス (egtra), 16 years ago |
CRequireFilesの管理をhash_setベースへ。保存時にFileIndexの記録を行っていなかった問題を修正。rev.669でコミットし忘れのcompiler_x86/NumOpe.cppを追加。
|
File size:
1.1 KB
|
Rev | Line | |
---|
[3] | 1 |
|
---|
| 2 |
|
---|
| 3 | class 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] | 18 | public:
|
---|
| 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 |
|
---|
[700] | 39 | COLORREF GetItemColor( char const *ItemText );
|
---|
[24] | 40 |
|
---|
[3] | 41 | void SelChangeEvent();
|
---|
[626] | 42 | void MdiActiveEvent(const char *lpszText);
|
---|
[3] | 43 |
|
---|
| 44 | void draw(HDC hdc);
|
---|
| 45 | };
|
---|
| 46 | extern CMainTab *pobj_MainTab;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.