SimpleEditorView.CreatePaneWindow 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建窗口。
public:
abstract int CreatePaneWindow(IntPtr hwndParent, int x, int y, int cx, int cy, [Runtime::InteropServices::Out] IntPtr % hwnd);
public abstract int CreatePaneWindow (IntPtr hwndParent, int x, int y, int cx, int cy, out IntPtr hwnd);
abstract member CreatePaneWindow : nativeint * int * int * int * int * nativeint -> int
Public MustOverride Function CreatePaneWindow (hwndParent As IntPtr, x As Integer, y As Integer, cx As Integer, cy As Integer, ByRef hwnd As IntPtr) As Integer
参数
- hwndParent
-
IntPtr
nativeint
指向父窗口的指针。
- x
- Int32
绝对 x 坐标。
- y
- Int32
绝对 y 坐标。
- cx
- Int32
窗口的宽度。
- cy
- Int32
窗口的高度。
- hwnd
-
IntPtr
nativeint
弄指向新窗口窗格的指针。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
实现
注解
此方法应由派生类实现。