怎么用OpenGL和c++编写一个滚动条?

水兰夭夭 2014-05-28 10:33:29
写了一个液体模拟的程序,想在窗口中编写几个滚动条来控制液体的各个参数,怎么用OpenGL和c++编写滚动条?vs中也没有响应的控件好像,glut或者glui中有相应的函数吗?
...全文
146 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
赵4老师 2014-05-28
  • 打赏
  • 举报
回复
CSpinButtonCtrl The CSpinButtonCtrl class provides the functionality of the Windows common spin button control. A spin button control, also known as an up-down control, is a pair of arrow buttons that a user can tap with the stylus to increment or decrement a value. An up-down control is most often used with a companion control, called a buddy window, in which the current value is displayed. At a Glance Header File Afxcmn.h Platforms Versions 1.0 and later Complete documentation Visual C++ documentation Remarks In Windows CE, spin button controls can only be "buddies" with edit controls. See Also CSpinButtonCtrl Member Functions, Control Classes, CSliderCtrl, CSpinButtonCtrl::SetBuddy CSliderCtrl A slider control (also known as a trackbar) is a window containing a slider and optional tick marks. When the user moves the slider, using either the mouse or the direction keys, the control sends notification messages to indicate the change. At a Glance Header file: Afxcmn.h Platforms: Versions: 1.0 and later Complete documentation: Visual C++ documentation See Also CSliderCtrl Member Functions, Control Classes, CProgressCtrl
www_adintr_com 2014-05-28
  • 打赏
  • 举报
回复
CEGUI

65,208

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧