| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1616 人关注过本帖
标题:問個很奇怪的問題
只看楼主 加入收藏
banboo2004
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-6-19
收藏
 问题点数:0 回复次数:2 
問個很奇怪的問題
我在VC的對話框中創建一個CSpinButtonCtrl的控件,不要告訴我不知道這個控件.我不在資源的對話框裡進行填加控件,我只想動態的生成一個控件,用CSpinButtonCtrl的Create函數,但是我所創建的spinbutton不能更改寬度,只能更改長短,好像哪裡有限置,不知道大家有沒有遇到過????
搜索更多相关主题的帖子: 控件 Create spinbutton 
2006-07-20 13:23
十一月天
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:10
帖 子:3030
专家分:0
注 册:2006-4-19
收藏
得分:0 

Construction

Create: Creates a spin button control and attaches it to a CSpinButtonCtrl object.
CreateEx: Creates a spin button control with the specified Windows extended styles and attaches it to a CSpinButtonCtrl: object.
CSpinButtonCtrl: Constructs a CSpinButtonCtrl object.

Attributes

GetAccel: Retrieves acceleration information for a spin button control.
GetBase: Retrieves the current base for a spin button control.
GetBuddy: Retrieves a pointer to the current buddy window.
GetPos: Retrieves the current position of a spin button control.
GetPos32: Retrieves the 32-bit position of a spin button control.
GetRange: Retrieves the upper and lower limits (range) for a spin button control.
GetRange32: Retrieves the 32-bit range for a spin button control.
SetAccel: Sets the acceleration for a spin button control.
SetBase: Sets the base for a spin button control.
SetBuddy: Sets the buddy window for a spin button control.
SetPos: Sets the current position for the control.
SetPos32: Sets the 32-bit position for a spin button control.
SetRange: Sets the upper and lower limits (range) for a spin button control.
SetRange32: Sets the 32-bit range for a spin button control.


当头晕的时候我终于明白了什么叫爱情。
2006-07-21 10:18
十一月天
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:10
帖 子:3030
专家分:0
注 册:2006-4-19
收藏
得分:0 
上面是我能找到的CSpinButtonCtrl的所有属性和方法,好像没有你要的方法,你再看看。

在.NET里我真的没听说过CSpinButtonCtrl这个控件,应该是MFC里的控件吧

[此贴子已经被作者于2006-7-21 10:23:09编辑过]


当头晕的时候我终于明白了什么叫爱情。
2006-07-21 10:19
快速回复:問個很奇怪的問題
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014234 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved