當前位置: 首頁>>代碼示例>>C++>>正文


C++ EditControlEnterHit函數代碼示例

本文整理匯總了C++中EditControlEnterHit函數的典型用法代碼示例。如果您正苦於以下問題:C++ EditControlEnterHit函數的具體用法?C++ EditControlEnterHit怎麽用?C++ EditControlEnterHit使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了EditControlEnterHit函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: OnEnChangeEditAngularfriction

void DialogAFBody::OnEnChangeEditAngularfriction() {
	if( EditControlEnterHit( ( CEdit * ) GetDlgItem( IDC_EDIT_ANGULARFRICTION ) ) ) {
		UpdateFile();
	} else {
		m_angularFriction = EditVerifyFloat( ( CEdit * ) GetDlgItem( IDC_EDIT_ANGULARFRICTION ), false );
	}
}
開發者ID:revelator,項目名稱:Revelation,代碼行數:7,代碼來源:DialogAFBody.cpp

示例2: OnEnChangeEditAnglesRoll

void DialogAFBody::OnEnChangeEditAnglesRoll() {
	if( EditControlEnterHit( ( CEdit * ) GetDlgItem( IDC_EDIT_ANGLES_ROLL ) ) ) {
		UpdateFile();
	} else {
		cm_angles_roll = EditVerifyFloat( ( CEdit * ) GetDlgItem( IDC_EDIT_ANGLES_ROLL ) );
	}
}
開發者ID:revelator,項目名稱:Revelation,代碼行數:7,代碼來源:DialogAFBody.cpp

示例3: OnEnChangeEditAnglesPitch

void DialogAFBody::OnEnChangeEditAnglesPitch() {
	if( EditControlEnterHit( ( CEdit * ) GetDlgItem( IDC_EDIT_ANGLES_PITCH ) ) ) {
		UpdateFile();
	} else {
		cm_angles_pitch = EditVerifyFloat( ( CEdit * ) GetDlgItem( IDC_EDIT_ANGLES_PITCH ) );
	}
}
開發者ID:revelator,項目名稱:Revelation,代碼行數:7,代碼來源:DialogAFBody.cpp

示例4: OnEnChangeEditAfVectorZ

void DialogAFBody::OnEnChangeEditAfVectorZ() {
	if( EditControlEnterHit( ( CEdit * ) GetDlgItem( IDC_EDIT_AF_VECTOR_Z ) ) ) {
		UpdateFile();
	} else {
		cm_origin_z = EditVerifyFloat( ( CEdit * ) GetDlgItem( IDC_EDIT_AF_VECTOR_Z ) );
	}
}
開發者ID:revelator,項目名稱:Revelation,代碼行數:7,代碼來源:DialogAFBody.cpp

示例5: OnEnChangeEditContactfriction

void DialogAFBody::OnEnChangeEditContactfriction() {
	if( EditControlEnterHit( ( CEdit * ) GetDlgItem( IDC_EDIT_CONTACTFRICTION ) ) ) {
		UpdateFile();
	} else {
		m_contactFriction = EditVerifyFloat( ( CEdit * ) GetDlgItem( IDC_EDIT_CONTACTFRICTION ), false );
	}
}
開發者ID:revelator,項目名稱:Revelation,代碼行數:7,代碼來源:DialogAFBody.cpp

示例6: OnEnChangeEditTotalmass

void DialogAFProperties::OnEnChangeEditTotalmass()
{
    if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_TOTALMASS ) ) )
    {
        UpdateFile();
    }
}
開發者ID:revelator,項目名稱:Revelator-Doom3,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例7: OnEnChangeEditSkin

void DialogAFProperties::OnEnChangeEditSkin() {
	if ( EditControlEnterHit( &m_editSkin ) ) {
		UpdateFile();
		// reload the .af file
		AFDialogReloadFile();
	}
}
開發者ID:BielBdeLuna,項目名稱:StormEngine2,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例8: OnEnChangeEditAngularacceleration

void DialogAFProperties::OnEnChangeEditAngularacceleration()
{
    if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_ANGULARACCELERATION ) ) )
    {
        UpdateFile();
    }
}
開發者ID:revelator,項目名稱:Revelator-Doom3,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例9: OnEnChangeEditMaximummovetime

void DialogAFProperties::OnEnChangeEditMaximummovetime()
{
    if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_MAXIMUM_MOVE_TIME ) ) )
    {
        UpdateFile();
    }
}
開發者ID:revelator,項目名稱:Revelator-Doom3,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例10: OnEnChangeEditAngularvelocity

void DialogAFProperties::OnEnChangeEditAngularvelocity()
{
    if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_ANGULARVELOCITY ) ) )
    {
        UpdateFile();
    }
}
開發者ID:revelator,項目名稱:Revelator-Doom3,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例11: OnEnChangeEditAngulartolerance

void DialogAFProperties::OnEnChangeEditAngulartolerance()
{
    if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_ANGULAR_TOLERANCE ) ) )
    {
        UpdateFile();
    }
}
開發者ID:revelator,項目名稱:Revelator-Doom3,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例12: OnEnChangeEditModel

void DialogAFProperties::OnEnChangeEditModel()
{
    if ( EditControlEnterHit( &m_editModel ) )
    {
        UpdateFile();
    }
}
開發者ID:revelator,項目名稱:Revelator-Doom3,代碼行數:7,代碼來源:DialogAFProperties.cpp

示例13: OnEnChangeEditBasLimitAxisYaw

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitAxisYaw() {
	if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_BAS_LIMIT_AXIS_YAW ) ) ) {
		UpdateFile();
	}
	else {
		m_limitAxisYaw = EditVerifyFloat( (CEdit *) GetDlgItem( IDC_EDIT_BAS_LIMIT_AXIS_YAW ) );
	}
}
開發者ID:Kaan88,項目名稱:doom3.gpl,代碼行數:8,代碼來源:DialogAFConstraintBallAndSocket.cpp

示例14: EditVerifyFloat

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitPyramidAngle2() {
	if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_BAS_LIMIT_PYRAMID_ANGLE2 ) ) ) {
		UpdateFile();
	}
	else {
		m_pyramidAngle2 = EditVerifyFloat( (CEdit *) GetDlgItem( IDC_EDIT_BAS_LIMIT_PYRAMID_ANGLE2 ), false );
	}
}
開發者ID:Kaan88,項目名稱:doom3.gpl,代碼行數:8,代碼來源:DialogAFConstraintBallAndSocket.cpp

示例15: OnEnChangeEditBasLimitConeAngle

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitConeAngle() {
	if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_BAS_LIMIT_CONE_ANGLE ) ) ) {
		UpdateFile();
	}
	else {
		m_coneAngle = EditVerifyFloat( (CEdit *) GetDlgItem( IDC_EDIT_BAS_LIMIT_CONE_ANGLE ), false );
	}
}
開發者ID:Kaan88,項目名稱:doom3.gpl,代碼行數:8,代碼來源:DialogAFConstraintBallAndSocket.cpp


注:本文中的EditControlEnterHit函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。