Beispiel #1
0
// Overrides
BOOL CKeyBoardPropertyPage::OnSetActive()
{
	SetModified(TRUE);

	if (m_editNow.m_hWnd == NULL)
		m_editNow.Attach( GetDlgItem(IDC_EDIT_NOW_KEY) );

	if (m_editNew.m_hWnd == NULL)
		m_editNew.Attach( GetDlgItem(IDC_EDIT_NEW_KEY) );

	if (m_cmbCategory.m_hWnd == NULL)
		m_cmbCategory.Attach( GetDlgItem(IDC_CMB_CATEGORY) );

	if (m_cmbCommand.m_hWnd == NULL)
		m_cmbCommand.Attach( GetDlgItem(IDC_CMB_COMMAND) );

	if (m_ltAccel.m_hWnd == NULL) {
		m_ltAccel.Attach( GetDlgItem(IDC_LISTBOX1) );	//+++ラベル変更
	}

	if (m_editNow.m_hWnd && m_editNew.m_hWnd && m_cmbCategory.m_hWnd && m_cmbCommand.m_hWnd)
		_SetData();

	return DoDataExchange(FALSE);
}
Beispiel #2
0
bool CGridLabThresholdsSample::SetData(CLabThresholds *pData,
    const wxString &sKitName)
{
  const wxChar * const psLabels[] = 
  {
    FRACTION_MAX_PEAK,
    PULLUP_FRACTIONAL_FILTER,
    STUTTER_THRESHOLD,
    PLUS_STUTTER_THRESHOLD,
    ADENYLATION_THRESHOLD,
    wxS("Min. heterozygote balance (0 - 1.0) "),
    wxS("Min. homozygote threshold (RFU) "),
    NULL
  };
  bool bOK = _SetData(pData,sKitName,psLabels);
  if(bOK)
  {
    int nCols = GetNumberCols();
    int i;
    for(i = 0; i < nCols; i++)
    {
      SetCellEditor(
        ROW_MIN_BOUND_HOMOZYGOTE,i,new wxGridCellFloatEditor(-1,0));
    }
  }
  return bOK;
}
Beispiel #3
0
// Constructor
CMainPropertyPage2::CMainPropertyPage2(HWND hWnd, CRecentClosedTabList& rRecent) : 
	m_wnd(hWnd), 
	m_rRecentClosedTabList(rRecent),
	m_nMRUCountMin(CRecentClosedTabList::kMaxEntries_Min),
	m_nMRUCountMax(CRecentClosedTabList::kMaxEntries_Max)
{
	m_bInit 	     = FALSE;

	//+++ mainframe.cppのInitStatusBarでの初期値にあわせて150を125に変更.
	m_nSzPain1	     = 125;
	m_nSzPain2	     = 125;

	m_nChkSwapPain   = FALSE;

	m_nShowMenu      = FALSE;
	m_nShowToolBar   = FALSE;
	m_nShowAdress    = FALSE;
	m_nShowTab	     = FALSE;
	m_nShowLink      = FALSE;
	m_nShowSearch    = FALSE;
	m_nShowStatus    = FALSE;

	m_nMinBtn2Tray   = 0;		//+++

	_SetData();
}
Beispiel #4
0
// Overrides
BOOL CPluginPropertyPage::OnSetActive()
{
	if (NULL == m_listview.m_hWnd) {
		m_listview.SubclassWindow( GetDlgItem(IDC_LIST_PLUGIN) );
		_SetData();
	}

	return DoDataExchange(FALSE);
}
Beispiel #5
0
// Overrides
BOOL CDonutExecutablePropertyPage::OnSetActive()
{
	SetModified(TRUE);

	if (m_listview.m_hWnd == NULL) {
		m_listview.SubclassWindow( GetDlgItem(IDC_LIST_EXECUTABLE) );
		_SetData();
	}

	return _DoTypeDataExchange(FALSE);
}
Beispiel #6
0
LRESULT CDonutClipboardBar::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL & /*bHandled*/)
{
	DlgResize_Init(false, true, WS_CLIPCHILDREN);

	m_edit.Attach( GetDlgItem(IDC_EDIT_CB_EXT) );
	m_box.SubclassWindow( GetDlgItem(IDC_LIST_CB_CONT) );

	_GetProfile();
	_SetData();
	DoDataExchange(FALSE);

	return TRUE;
}
void CGridLabThresholdsLadder::SetData(
  CLabThresholds *pData, const wxString &sKitName)
{
  const wxChar * const psLabels[] = 
  {
    FRACTION_MAX_PEAK,
    PULLUP_FRACTIONAL_FILTER,
    STUTTER_THRESHOLD,
    ADENYLATION_THRESHOLD,
    NULL
  };
  _SetData(pData,sKitName,psLabels);
}
Beispiel #8
0
// Constructor
CMainPropertyPage::CMainPropertyPage(HWND hWnd)
	: m_wnd(hWnd)
	, m_bInit(false)
{
	_SetData();
}