hi, what i am doing now is exactly what u said
登录 | 论坛导航 -> 华新鲜事 -> 社会百科 | 本帖共有 1 楼,分 1 页, 当前显示第 1 页 : 本帖树形列表 : 刷新 : 返回上一页
<<始页  [1]  末页>>
作者:maserati (等级:2 - 初出茅庐,发帖:274) 发表:2003-11-05 11:06:16  楼主  关注此帖评分:
GLUT and MFCIs there anybody with experience of wrapping (or converting) GLUT application to MFC-based one? The problem with GLUT coexisting with MFC is that both GLUT and MFC take over the main event loop completely that leaves no control of it to the programmer. In that sense, they both compete for the event loop... Anybody had any experience in this?
hi, what i am doing now is exactly what u said
it is working well currently on both GLUT and MFC.

What I suggest is that you let MFC handle the main loop. I guess you let the GLUT do the loop to do some animation that will refresh the scr. If that is the case, you can search for CView->OnTimer, SetTimer, KillTimer.

Hope the above can do some help
Speed Up...
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
论坛导航 -> 华新鲜事 -> 社会百科 | 返回上一页 | 本主题共有 1 篇文章,分 1 页, 当前显示第 1 页 | 回到顶部
<<始页  [1]  末页>>

请登录后回复:帐号   密码