本文整理匯總了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 );
}
}
示例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 ) );
}
}
示例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 ) );
}
}
示例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 ) );
}
}
示例5: OnEnChangeEditContactfriction
void DialogAFBody::OnEnChangeEditContactfriction() {
if( EditControlEnterHit( ( CEdit * ) GetDlgItem( IDC_EDIT_CONTACTFRICTION ) ) ) {
UpdateFile();
} else {
m_contactFriction = EditVerifyFloat( ( CEdit * ) GetDlgItem( IDC_EDIT_CONTACTFRICTION ), false );
}
}
示例6: OnEnChangeEditTotalmass
void DialogAFProperties::OnEnChangeEditTotalmass()
{
if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_TOTALMASS ) ) )
{
UpdateFile();
}
}
示例7: OnEnChangeEditSkin
void DialogAFProperties::OnEnChangeEditSkin() {
if ( EditControlEnterHit( &m_editSkin ) ) {
UpdateFile();
// reload the .af file
AFDialogReloadFile();
}
}
示例8: OnEnChangeEditAngularacceleration
void DialogAFProperties::OnEnChangeEditAngularacceleration()
{
if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_ANGULARACCELERATION ) ) )
{
UpdateFile();
}
}
示例9: OnEnChangeEditMaximummovetime
void DialogAFProperties::OnEnChangeEditMaximummovetime()
{
if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_MAXIMUM_MOVE_TIME ) ) )
{
UpdateFile();
}
}
示例10: OnEnChangeEditAngularvelocity
void DialogAFProperties::OnEnChangeEditAngularvelocity()
{
if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_ANGULARVELOCITY ) ) )
{
UpdateFile();
}
}
示例11: OnEnChangeEditAngulartolerance
void DialogAFProperties::OnEnChangeEditAngulartolerance()
{
if ( EditControlEnterHit( (CEdit *) GetDlgItem( IDC_EDIT_ANGULAR_TOLERANCE ) ) )
{
UpdateFile();
}
}
示例12: OnEnChangeEditModel
void DialogAFProperties::OnEnChangeEditModel()
{
if ( EditControlEnterHit( &m_editModel ) )
{
UpdateFile();
}
}
示例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 ) );
}
}
示例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 );
}
}
示例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 );
}
}