点击或拖拽改变大小

KernelSetConsoleWindowInfo 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.Kernel.SetConsoleWindowInfo(System.IntPtr,System.Int32,Sweet.Common.Win32.SMALL_RECT@)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int SetConsoleWindowInfo(
	IntPtr hConsoleOutput,
	int bAbsolute,
	ref SMALL_RECT lpConsoleWindow
)

参数

hConsoleOutput
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.Kernel.SetConsoleWindowInfo(System.IntPtr,System.Int32,Sweet.Common.Win32.SMALL_RECT@)" 的 <param name="hConsoleOutput"/> 文档]

bAbsolute
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.SetConsoleWindowInfo(System.IntPtr,System.Int32,Sweet.Common.Win32.SMALL_RECT@)" 的 <param name="bAbsolute"/> 文档]

lpConsoleWindow
类型:Sweet.Common.Win32SMALL_RECT

[缺少 "M:Sweet.Common.Win32.Kernel.SetConsoleWindowInfo(System.IntPtr,System.Int32,Sweet.Common.Win32.SMALL_RECT@)" 的 <param name="lpConsoleWindow"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.Kernel.SetConsoleWindowInfo(System.IntPtr,System.Int32,Sweet.Common.Win32.SMALL_RECT@)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架