Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dlg 配下のいくつかのファイルを UTF-8 (BOM付) に単純変換 #94

Merged
merged 2 commits into from
Jun 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 86 additions & 86 deletions sakura_core/dlg/CDialog.cpp

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions sakura_core/dlg/CDialog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! @file
@brief Dialog Box���N���X�w�b�_�t�@�C��
/*! @file
@brief Dialog Box基底クラスヘッダファイル

@author Norio Nakatani
*/
Expand Down Expand Up @@ -62,14 +62,14 @@ struct SComboBoxItemDeleter
};

/*-----------------------------------------------------------------------
�N���X�̐錾
クラスの宣言
-----------------------------------------------------------------------*/
/*!
@brief �_�C�A���O�E�B���h�E�������N���X
@brief ダイアログウィンドウを扱うクラス

�_�C�A���O�{�b�N�X�����Ƃ��ɂ͂�������p��������D
ダイアログボックスを作るときにはここから継承させる.

@date 2002.2.17 YAZAKI CShareData�̃C���X�^���X�́ACProcess�ɂЂƂ‚���̂݁B
@date 2002.2.17 YAZAKI CShareDataのインスタンスは、CProcessにひとつあるのみ。
*/
class CDialog
{
Expand All @@ -82,10 +82,10 @@ class CDialog
/*
|| Attributes & Operations
*/
virtual INT_PTR DispatchEvent( HWND, UINT, WPARAM, LPARAM ); /* �_�C�A���O�̃��b�Z�[�W���� */
INT_PTR DoModal( HINSTANCE, HWND, int, LPARAM ); /* ���[�_���_�C�A���O�̕\�� */
HWND DoModeless( HINSTANCE, HWND, int, LPARAM, int ); /* ���[�h���X�_�C�A���O�̕\�� */
HWND DoModeless( HINSTANCE, HWND, LPCDLGTEMPLATE, LPARAM, int ); /* ���[�h���X�_�C�A���O�̕\�� */
virtual INT_PTR DispatchEvent( HWND, UINT, WPARAM, LPARAM ); /* ダイアログのメッセージ処理 */
INT_PTR DoModal( HINSTANCE, HWND, int, LPARAM ); /* モーダルダイアログの表示 */
HWND DoModeless( HINSTANCE, HWND, int, LPARAM, int ); /* モードレスダイアログの表示 */
HWND DoModeless( HINSTANCE, HWND, LPCDLGTEMPLATE, LPARAM, int ); /* モードレスダイアログの表示 */
void CloseDialog( INT_PTR );

virtual BOOL OnInitDialog( HWND, WPARAM wParam, LPARAM lParam );
Expand All @@ -99,16 +99,16 @@ class CDialog
virtual BOOL OnTimer( WPARAM wParam ){return TRUE;}
virtual BOOL OnKeyDown( WPARAM wParam, LPARAM lParam ){return TRUE;}
virtual BOOL OnDeviceChange( WPARAM wParam, LPARAM lParam ){return TRUE;}
virtual int GetData( void ){return 1;}/* �_�C�A���O�f�[�^�̎擾 */
virtual void SetData( void ){return;}/* �_�C�A���O�f�[�^�̐ݒ� */
virtual int GetData( void ){return 1;}/* ダイアログデータの取得 */
virtual void SetData( void ){return;}/* ダイアログデータの設定 */
virtual BOOL OnBnClicked( int );
virtual BOOL OnStnClicked( int ){return FALSE;}
virtual BOOL OnEnChange( HWND hwndCtl, int wID ){return FALSE;}
virtual BOOL OnEnKillFocus( HWND hwndCtl, int wID ){return FALSE;}
virtual BOOL OnLbnSelChange( HWND hwndCtl, int wID ){return FALSE;}
virtual BOOL OnLbnDblclk( int wID ){return FALSE;}
virtual BOOL OnCbnSelChange( HWND hwndCtl, int wID ){return FALSE;}
virtual BOOL OnCbnEditChange( HWND hwndCtl, int wID ){return FALSE;} // @@2005.03.31 MIK �^�O�W�����vDialog
virtual BOOL OnCbnEditChange( HWND hwndCtl, int wID ){return FALSE;} // @@2005.03.31 MIK タグジャンプDialog
virtual BOOL OnCbnDropDown( HWND hwndCtl, int wID );
static BOOL OnCbnDropDown( HWND hwndCtl, bool scrollBar );
// virtual BOOL OnCbnCloseUp( HWND hwndCtl, int wID ){return FALSE;}
Expand All @@ -131,36 +131,36 @@ class CDialog

public:
HWND GetHwnd() const{ return m_hWnd; }
//����C���^�[�t�F�[�X (�g�p�͍D�܂����Ȃ�)
//特殊インターフェース (使用は好ましくない)
void _SetHwnd(HWND hwnd){ m_hWnd = hwnd; }

public:
HINSTANCE m_hInstance; /* �A�v���P�[�V�����C���X�^���X�̃n���h�� */
HWND m_hwndParent; /* �I�[�i�[�E�B���h�E�̃n���h�� */
HINSTANCE m_hInstance; /* アプリケーションインスタンスのハンドル */
HWND m_hwndParent; /* オーナーウィンドウのハンドル */
private:
HWND m_hWnd; /* ���̃_�C�A���O�̃n���h�� */
HWND m_hWnd; /* このダイアログのハンドル */
public:
HWND m_hwndSizeBox;
LPARAM m_lParam;
BOOL m_bModal; /* ���[�_�� �_�C�A���O�� */
bool m_bSizable; // �•σ_�C�A���O���ǂ���
int m_nShowCmd; // �ő剻/�ŏ���
BOOL m_bModal; /* モーダル ダイアログか */
bool m_bSizable; // 可変ダイアログかどうか
int m_nShowCmd; // 最大化/最小化
int m_nWidth;
int m_nHeight;
int m_xPos;
int m_yPos;
// void* m_pcEditView;
DLLSHAREDATA* m_pShareData;
BOOL m_bInited;
HINSTANCE m_hLangRsrcInstance; // ���b�Z�[�W���\�[�XDLL�̃C���X�^���X�n���h�� // 2011.04.10 nasukoji
HINSTANCE m_hLangRsrcInstance; // メッセージリソースDLLのインスタンスハンドル // 2011.04.10 nasukoji

protected:
void CreateSizeBox( void );
BOOL OnCommand( WPARAM, LPARAM );

HWND GetItemHwnd(int nID){ return ::GetDlgItem( GetHwnd(), nID ); }

// �R���g���[���ɉ�ʂ̃t�H���g��ݒ� 2012/11/27 Uchi
// コントロールに画面のフォントを設定 2012/11/27 Uchi
HFONT SetMainFont( HWND hTarget );
};

Expand Down
Loading