本文整理汇总了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 );
}
}