编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛  
全能 ASP / PHP / ASP.NET 主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付学习型 ASP/PHP/ASP.NET 主机 30元/年
发新话题
打印

問個很奇怪的問題

問個很奇怪的問題

我在VC的對話框中創建一個CSpinButtonCtrl的控件,不要告訴我不知道這個控件.我不在資源的對話框裡進行填加控件,我只想動態的生成一個控件,用CSpinButtonCtrl的Create函數,但是我所創建的spinbutton不能更改寬度,只能更改長短,好像哪裡有限置,不知道大家有沒有遇到過????

TOP

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.

当头晕的时候我终于明白了什么叫爱情。

TOP

上面是我能找到的CSpinButtonCtrl的所有属性和方法,好像没有你要的方法,你再看看。

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

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

当头晕的时候我终于明白了什么叫爱情。

TOP

发新话题