45464
来源:互联网 发布:新手如何装修淘宝店铺 编辑:程序博客网 时间:2024/06/08 19:06
void CFrameView::OnLButtonUp(UINT nFlags, CPoint point){
if (!gl3d.bCanMove)
{
AfxMessageBox("请先归位后在拖动");
return;
}
}
void CFrameView::OnRButtonDown(UINT nFlags, CPoint point) {
gl3d.bCanMove = false;
}
void CLineView::OnBTBeginDrag()
{
// TODO: Add your control notification handler code here
CFrameView* pView = (CFrameView*)GetFrameView();
// 停止旋转
if (pView->m_bRotate)
{
KillTimer(1);
pView->m_bRotate = false;
}
// 旋转至某角度
gl3d.m_RotateAngle = 15.0f;
gl3d.bCanMove = true;
// 刷新视图
GetFrameView()->InvalidateRect(NULL,FALSE);
}
- 45464
- Struts2整合FreeMarker实例
- 小心pthread_cond_signal和SetEvent之间的差异
- 写在MyUML发布090515_2版之际
- Eclipse常用快捷健总结
- 项目能够顺利完成的关键因素
- 45464
- 提问的智慧
- java日期时间小结
- kernel 启动过程之一, uimge, zimage,arch/arm/boot/compressed/head.S
- ABAP OUTPUT DATA IN LIST
- Delphi format的用法
- I/O Completeion Port API
- 也来写个js树形菜单
- 甲骨文再出损招 OpenOffice阵营面临瓦解