主题:IP Address Contrl 控件的问题
在VS2005里面没有现成的IP Address控件可以用,请问诸位大侠都是怎么处理的?
是必须自己写一个控件吗?小弟初学C#,在MSDN里找到了以下构造方法,
但是还是不明白怎么构造,还望大虾们赐教!
谢谢了先!
Note The IP address control is implemented in version 4.71 and later of Comctl32.dll.
Using IP Address Controls
This section describes how to implement an IP address control in your application.
Initializing an IP Address Control
To use an IP address control, call InitCommonControlsEx with the ICC_INTERNET_CLASSES flag set in the dwICC member of the INITCOMMONCONTROLSEX structure.
Creating an IP Address Control
Use the CreateWindow or the CreateWindowExAPI to create an IP address control. The class name for the control is WC_IPADDRESS, which is defined in Commctrl.h. No IP address control-specific styles exist; however, because this is a child control, use the WS_CHILD style as a minimum.
网址:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/shellcc/platform/commctls/ipaddress/ipaddress.htm
是必须自己写一个控件吗?小弟初学C#,在MSDN里找到了以下构造方法,
但是还是不明白怎么构造,还望大虾们赐教!
谢谢了先!
Note The IP address control is implemented in version 4.71 and later of Comctl32.dll.
Using IP Address Controls
This section describes how to implement an IP address control in your application.
Initializing an IP Address Control
To use an IP address control, call InitCommonControlsEx with the ICC_INTERNET_CLASSES flag set in the dwICC member of the INITCOMMONCONTROLSEX structure.
Creating an IP Address Control
Use the CreateWindow or the CreateWindowExAPI to create an IP address control. The class name for the control is WC_IPADDRESS, which is defined in Commctrl.h. No IP address control-specific styles exist; however, because this is a child control, use the WS_CHILD style as a minimum.
网址:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/shellcc/platform/commctls/ipaddress/ipaddress.htm