diff --git a/Bin/Debug/CommonControls/.NET4 示例/Itrycn_Project.exe b/Bin/Debug/CommonControls/.NET4 示例/Itrycn_Project.exe
index 7576e2e..0461e63 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/Itrycn_Project.exe and b/Bin/Debug/CommonControls/.NET4 示例/Itrycn_Project.exe differ
diff --git a/Bin/Debug/CommonControls/.NET4 示例/MyDb.dll b/Bin/Debug/CommonControls/.NET4 示例/MyDb.dll
index 573be85..b8e9fbf 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/MyDb.dll and b/Bin/Debug/CommonControls/.NET4 示例/MyDb.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4 示例/MyDb.xml b/Bin/Debug/CommonControls/.NET4 示例/MyDb.xml
index 7c2a910..6aef8d4 100644
--- a/Bin/Debug/CommonControls/.NET4 示例/MyDb.xml
+++ b/Bin/Debug/CommonControls/.NET4 示例/MyDb.xml
@@ -5118,14 +5118,14 @@
-
+ 删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
-
+ 选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
@@ -5133,14 +5133,14 @@
-
+ 创建一个与指定设备兼容的内存设备上下文环境(DC)。
-
+ 为一个设备创建设备上下文环境。
@@ -5150,7 +5150,7 @@
-
+ 删除指定的设备上下文环境(Dc)。
@@ -5182,7 +5182,7 @@
-
+ 返回hWnd参数所指定的窗口的设备环境。
@@ -5201,7 +5201,9 @@
-
+ 将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
+ 通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
+ 在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
@@ -5212,16 +5214,25 @@
-
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+
+
+
+
-
+ 设置弹出式窗口,层叠窗口或子窗口的父窗口
@@ -5229,31 +5240,43 @@
- The GetParent function retrieves a handle to the specified window's parent or owner.
+ 获得一个指定子窗口的父窗口句柄
Handle to the window whose parent window handle is to be retrieved.
If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
+ 获取系统菜单的句柄
-
-
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作
+
+
+ 获取系统菜单的句柄
+
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作。
+ 如果此参数为FALSE,GetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同,但可以被修改。
+ 如果此参数为TRUE,GetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单,将被销毁。
+
+ 如果参数bRevert为FALSE,返回值是窗口菜单的拷贝的句柄:如果参数bRevert为TRUE,返回值是NULL。
+
-
+ 从指定菜单删除一个菜单项或分离一个子菜单。
+ 备注:只要一个菜单被修改,无论它是否在显示窗口里,应用程序都必须调用函数DrawMenuBar。
-
-
+ 将被修改的菜单的句柄。
+ 指定将被删除的菜单项,其含义由参数wFlags决定。
-
+ 如果函数调用成功,返回非零值;如果函数调用失败,返回值是零。若想获得更多的错误信息,请调用GetLastError函数。
-
+ 设置前台窗口
@@ -5268,7 +5291,7 @@
获得当前活动窗体
-
+ 活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。
@@ -5312,7 +5335,7 @@
-
+ 发送消息
@@ -5322,7 +5345,7 @@
-
+ 发送消息
@@ -5332,7 +5355,7 @@
-
+ 发送消息
@@ -5361,14 +5384,14 @@
-
+ 从文件中载入指针
-
+ 判断窗口是否可见
@@ -5410,7 +5433,7 @@
-
+ 获取指定窗口的有关信息,也可用于获取窗口内存中指定偏移的32位度整型值。
@@ -5418,14 +5441,14 @@
-
+ 检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄,以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
-
+ 释放设备上下文环境(DC)供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境,对于类或私有的则无效。
@@ -5433,7 +5456,7 @@
-
+ 获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
@@ -5441,7 +5464,7 @@
-
+ 返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
@@ -5449,7 +5472,7 @@
-
+ 更新一个分层窗口的位置,大小,形状,内容和半透明度
@@ -5462,20 +5485,10 @@
-
-
-
-
-
-
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
A handle to the window.
A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
@@ -5488,7 +5501,8 @@
-
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
diff --git a/Bin/Debug/CommonControls/.NET4 示例/MyDb_SQLite.dll b/Bin/Debug/CommonControls/.NET4 示例/MyDb_SQLite.dll
index 0d39ed8..fb56940 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/MyDb_SQLite.dll and b/Bin/Debug/CommonControls/.NET4 示例/MyDb_SQLite.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4 示例/RyPrint.dll b/Bin/Debug/CommonControls/.NET4 示例/RyPrint.dll
index 3b59629..493799b 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/RyPrint.dll and b/Bin/Debug/CommonControls/.NET4 示例/RyPrint.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4 示例/RyWeb.dll b/Bin/Debug/CommonControls/.NET4 示例/RyWeb.dll
index 1bbfac1..f84898f 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/RyWeb.dll and b/Bin/Debug/CommonControls/.NET4 示例/RyWeb.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4 示例/ryControls.dll b/Bin/Debug/CommonControls/.NET4 示例/ryControls.dll
index 12b2ffb..f15e26d 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/ryControls.dll and b/Bin/Debug/CommonControls/.NET4 示例/ryControls.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4 示例/ryControls.xml b/Bin/Debug/CommonControls/.NET4 示例/ryControls.xml
index 2efb282..c0f7ba4 100644
--- a/Bin/Debug/CommonControls/.NET4 示例/ryControls.xml
+++ b/Bin/Debug/CommonControls/.NET4 示例/ryControls.xml
@@ -5707,55 +5707,6 @@
Specified WM_THEMECHANGED enumeration value.
-
-
- The GetParent function retrieves a handle to the specified window's parent or owner.
-
- Handle to the window whose parent window handle is to be retrieved.
- If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
-
-
- The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
-
- Handle to the parent window whose child windows are to be searched.
- Handle to a child window.
- Specifies class name.
- Pointer to a null-terminated string that specifies the window name (the window's title).
- If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.
-
-
-
- The InvalidateRect function adds a rectangle to the specified window's update region.
-
- Handle to window.
- Rectangle coordinates.
- Erase state.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
-
- Handle to window.
- Validation rectangle coordinates.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
-
- A handle to the window.
- A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
- Specifies the new position of the left side of the window, in client coordinates.
- Specifies the new position of the top of the window, in client coordinates.
- Specifies the new width of the window, in pixels.
- Specifies the new height of the window, in pixels.
- Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.
- If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.
-
diff --git a/Bin/Debug/CommonControls/.NET4 示例/ryUpdate.dll b/Bin/Debug/CommonControls/.NET4 示例/ryUpdate.dll
index d74b599..d22bd9b 100644
Binary files a/Bin/Debug/CommonControls/.NET4 示例/ryUpdate.dll and b/Bin/Debug/CommonControls/.NET4 示例/ryUpdate.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/MyDb.dll b/Bin/Debug/CommonControls/.NET4/MyDb.dll
index 573be85..b8e9fbf 100644
Binary files a/Bin/Debug/CommonControls/.NET4/MyDb.dll and b/Bin/Debug/CommonControls/.NET4/MyDb.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/MyDb.xml b/Bin/Debug/CommonControls/.NET4/MyDb.xml
index 7c2a910..6aef8d4 100644
--- a/Bin/Debug/CommonControls/.NET4/MyDb.xml
+++ b/Bin/Debug/CommonControls/.NET4/MyDb.xml
@@ -5118,14 +5118,14 @@
-
+ 删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
-
+ 选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
@@ -5133,14 +5133,14 @@
-
+ 创建一个与指定设备兼容的内存设备上下文环境(DC)。
-
+ 为一个设备创建设备上下文环境。
@@ -5150,7 +5150,7 @@
-
+ 删除指定的设备上下文环境(Dc)。
@@ -5182,7 +5182,7 @@
-
+ 返回hWnd参数所指定的窗口的设备环境。
@@ -5201,7 +5201,9 @@
-
+ 将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
+ 通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
+ 在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
@@ -5212,16 +5214,25 @@
-
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+
+
+
+
-
+ 设置弹出式窗口,层叠窗口或子窗口的父窗口
@@ -5229,31 +5240,43 @@
- The GetParent function retrieves a handle to the specified window's parent or owner.
+ 获得一个指定子窗口的父窗口句柄
Handle to the window whose parent window handle is to be retrieved.
If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
+ 获取系统菜单的句柄
-
-
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作
+
+
+ 获取系统菜单的句柄
+
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作。
+ 如果此参数为FALSE,GetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同,但可以被修改。
+ 如果此参数为TRUE,GetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单,将被销毁。
+
+ 如果参数bRevert为FALSE,返回值是窗口菜单的拷贝的句柄:如果参数bRevert为TRUE,返回值是NULL。
+
-
+ 从指定菜单删除一个菜单项或分离一个子菜单。
+ 备注:只要一个菜单被修改,无论它是否在显示窗口里,应用程序都必须调用函数DrawMenuBar。
-
-
+ 将被修改的菜单的句柄。
+ 指定将被删除的菜单项,其含义由参数wFlags决定。
-
+ 如果函数调用成功,返回非零值;如果函数调用失败,返回值是零。若想获得更多的错误信息,请调用GetLastError函数。
-
+ 设置前台窗口
@@ -5268,7 +5291,7 @@
获得当前活动窗体
-
+ 活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。
@@ -5312,7 +5335,7 @@
-
+ 发送消息
@@ -5322,7 +5345,7 @@
-
+ 发送消息
@@ -5332,7 +5355,7 @@
-
+ 发送消息
@@ -5361,14 +5384,14 @@
-
+ 从文件中载入指针
-
+ 判断窗口是否可见
@@ -5410,7 +5433,7 @@
-
+ 获取指定窗口的有关信息,也可用于获取窗口内存中指定偏移的32位度整型值。
@@ -5418,14 +5441,14 @@
-
+ 检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄,以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
-
+ 释放设备上下文环境(DC)供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境,对于类或私有的则无效。
@@ -5433,7 +5456,7 @@
-
+ 获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
@@ -5441,7 +5464,7 @@
-
+ 返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
@@ -5449,7 +5472,7 @@
-
+ 更新一个分层窗口的位置,大小,形状,内容和半透明度
@@ -5462,20 +5485,10 @@
-
-
-
-
-
-
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
A handle to the window.
A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
@@ -5488,7 +5501,8 @@
-
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
diff --git a/Bin/Debug/CommonControls/.NET4/MyDb_MSSQL.dll b/Bin/Debug/CommonControls/.NET4/MyDb_MSSQL.dll
index a82bc6a..a7ada95 100644
Binary files a/Bin/Debug/CommonControls/.NET4/MyDb_MSSQL.dll and b/Bin/Debug/CommonControls/.NET4/MyDb_MSSQL.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/MyDb_MySQL.dll b/Bin/Debug/CommonControls/.NET4/MyDb_MySQL.dll
index bcacbaf..0cba401 100644
Binary files a/Bin/Debug/CommonControls/.NET4/MyDb_MySQL.dll and b/Bin/Debug/CommonControls/.NET4/MyDb_MySQL.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/MyDb_SQLite.dll b/Bin/Debug/CommonControls/.NET4/MyDb_SQLite.dll
index 0d39ed8..fb56940 100644
Binary files a/Bin/Debug/CommonControls/.NET4/MyDb_SQLite.dll and b/Bin/Debug/CommonControls/.NET4/MyDb_SQLite.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/RyPrint.dll b/Bin/Debug/CommonControls/.NET4/RyPrint.dll
index 3b59629..493799b 100644
Binary files a/Bin/Debug/CommonControls/.NET4/RyPrint.dll and b/Bin/Debug/CommonControls/.NET4/RyPrint.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/RyWeb.dll b/Bin/Debug/CommonControls/.NET4/RyWeb.dll
index 6b15bdc..2e111ca 100644
Binary files a/Bin/Debug/CommonControls/.NET4/RyWeb.dll and b/Bin/Debug/CommonControls/.NET4/RyWeb.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/ryControls.dll b/Bin/Debug/CommonControls/.NET4/ryControls.dll
index 12b2ffb..f15e26d 100644
Binary files a/Bin/Debug/CommonControls/.NET4/ryControls.dll and b/Bin/Debug/CommonControls/.NET4/ryControls.dll differ
diff --git a/Bin/Debug/CommonControls/.NET4/ryControls.xml b/Bin/Debug/CommonControls/.NET4/ryControls.xml
index 2efb282..c0f7ba4 100644
--- a/Bin/Debug/CommonControls/.NET4/ryControls.xml
+++ b/Bin/Debug/CommonControls/.NET4/ryControls.xml
@@ -5707,55 +5707,6 @@
Specified WM_THEMECHANGED enumeration value.
-
-
- The GetParent function retrieves a handle to the specified window's parent or owner.
-
- Handle to the window whose parent window handle is to be retrieved.
- If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
-
-
- The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
-
- Handle to the parent window whose child windows are to be searched.
- Handle to a child window.
- Specifies class name.
- Pointer to a null-terminated string that specifies the window name (the window's title).
- If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.
-
-
-
- The InvalidateRect function adds a rectangle to the specified window's update region.
-
- Handle to window.
- Rectangle coordinates.
- Erase state.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
-
- Handle to window.
- Validation rectangle coordinates.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
-
- A handle to the window.
- A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
- Specifies the new position of the left side of the window, in client coordinates.
- Specifies the new position of the top of the window, in client coordinates.
- Specifies the new width of the window, in pixels.
- Specifies the new height of the window, in pixels.
- Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.
- If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.
-
diff --git a/Bin/Debug/CommonControls/.NET4/ryUpdate.dll b/Bin/Debug/CommonControls/.NET4/ryUpdate.dll
index d74b599..d22bd9b 100644
Binary files a/Bin/Debug/CommonControls/.NET4/ryUpdate.dll and b/Bin/Debug/CommonControls/.NET4/ryUpdate.dll differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/Itrycn_Project.exe b/Bin/Release/CommonControls/.NET4 示例/Itrycn_Project.exe
index dfd3f66..0499193 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/Itrycn_Project.exe and b/Bin/Release/CommonControls/.NET4 示例/Itrycn_Project.exe differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/MyDb.dll b/Bin/Release/CommonControls/.NET4 示例/MyDb.dll
index 63095e1..3103f99 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/MyDb.dll and b/Bin/Release/CommonControls/.NET4 示例/MyDb.dll differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/MyDb.xml b/Bin/Release/CommonControls/.NET4 示例/MyDb.xml
index 7c2a910..6aef8d4 100644
--- a/Bin/Release/CommonControls/.NET4 示例/MyDb.xml
+++ b/Bin/Release/CommonControls/.NET4 示例/MyDb.xml
@@ -5118,14 +5118,14 @@
-
+ 删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
-
+ 选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
@@ -5133,14 +5133,14 @@
-
+ 创建一个与指定设备兼容的内存设备上下文环境(DC)。
-
+ 为一个设备创建设备上下文环境。
@@ -5150,7 +5150,7 @@
-
+ 删除指定的设备上下文环境(Dc)。
@@ -5182,7 +5182,7 @@
-
+ 返回hWnd参数所指定的窗口的设备环境。
@@ -5201,7 +5201,9 @@
-
+ 将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
+ 通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
+ 在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
@@ -5212,16 +5214,25 @@
-
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+
+
+
+
-
+ 设置弹出式窗口,层叠窗口或子窗口的父窗口
@@ -5229,31 +5240,43 @@
- The GetParent function retrieves a handle to the specified window's parent or owner.
+ 获得一个指定子窗口的父窗口句柄
Handle to the window whose parent window handle is to be retrieved.
If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
+ 获取系统菜单的句柄
-
-
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作
+
+
+ 获取系统菜单的句柄
+
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作。
+ 如果此参数为FALSE,GetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同,但可以被修改。
+ 如果此参数为TRUE,GetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单,将被销毁。
+
+ 如果参数bRevert为FALSE,返回值是窗口菜单的拷贝的句柄:如果参数bRevert为TRUE,返回值是NULL。
+
-
+ 从指定菜单删除一个菜单项或分离一个子菜单。
+ 备注:只要一个菜单被修改,无论它是否在显示窗口里,应用程序都必须调用函数DrawMenuBar。
-
-
+ 将被修改的菜单的句柄。
+ 指定将被删除的菜单项,其含义由参数wFlags决定。
-
+ 如果函数调用成功,返回非零值;如果函数调用失败,返回值是零。若想获得更多的错误信息,请调用GetLastError函数。
-
+ 设置前台窗口
@@ -5268,7 +5291,7 @@
获得当前活动窗体
-
+ 活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。
@@ -5312,7 +5335,7 @@
-
+ 发送消息
@@ -5322,7 +5345,7 @@
-
+ 发送消息
@@ -5332,7 +5355,7 @@
-
+ 发送消息
@@ -5361,14 +5384,14 @@
-
+ 从文件中载入指针
-
+ 判断窗口是否可见
@@ -5410,7 +5433,7 @@
-
+ 获取指定窗口的有关信息,也可用于获取窗口内存中指定偏移的32位度整型值。
@@ -5418,14 +5441,14 @@
-
+ 检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄,以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
-
+ 释放设备上下文环境(DC)供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境,对于类或私有的则无效。
@@ -5433,7 +5456,7 @@
-
+ 获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
@@ -5441,7 +5464,7 @@
-
+ 返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
@@ -5449,7 +5472,7 @@
-
+ 更新一个分层窗口的位置,大小,形状,内容和半透明度
@@ -5462,20 +5485,10 @@
-
-
-
-
-
-
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
A handle to the window.
A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
@@ -5488,7 +5501,8 @@
-
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
diff --git a/Bin/Release/CommonControls/.NET4 示例/MyDb_SQLite.dll b/Bin/Release/CommonControls/.NET4 示例/MyDb_SQLite.dll
index a4ce395..1cd62ef 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/MyDb_SQLite.dll and b/Bin/Release/CommonControls/.NET4 示例/MyDb_SQLite.dll differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/RyPrint.dll b/Bin/Release/CommonControls/.NET4 示例/RyPrint.dll
index f880c28..ef8b97b 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/RyPrint.dll and b/Bin/Release/CommonControls/.NET4 示例/RyPrint.dll differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/RyWeb.dll b/Bin/Release/CommonControls/.NET4 示例/RyWeb.dll
index 1bbfac1..f84898f 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/RyWeb.dll and b/Bin/Release/CommonControls/.NET4 示例/RyWeb.dll differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/ryControls.dll b/Bin/Release/CommonControls/.NET4 示例/ryControls.dll
index fb36f08..7230dac 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/ryControls.dll and b/Bin/Release/CommonControls/.NET4 示例/ryControls.dll differ
diff --git a/Bin/Release/CommonControls/.NET4 示例/ryControls.xml b/Bin/Release/CommonControls/.NET4 示例/ryControls.xml
index 2efb282..c0f7ba4 100644
--- a/Bin/Release/CommonControls/.NET4 示例/ryControls.xml
+++ b/Bin/Release/CommonControls/.NET4 示例/ryControls.xml
@@ -5707,55 +5707,6 @@
Specified WM_THEMECHANGED enumeration value.
-
-
- The GetParent function retrieves a handle to the specified window's parent or owner.
-
- Handle to the window whose parent window handle is to be retrieved.
- If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
-
-
- The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
-
- Handle to the parent window whose child windows are to be searched.
- Handle to a child window.
- Specifies class name.
- Pointer to a null-terminated string that specifies the window name (the window's title).
- If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.
-
-
-
- The InvalidateRect function adds a rectangle to the specified window's update region.
-
- Handle to window.
- Rectangle coordinates.
- Erase state.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
-
- Handle to window.
- Validation rectangle coordinates.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
-
- A handle to the window.
- A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
- Specifies the new position of the left side of the window, in client coordinates.
- Specifies the new position of the top of the window, in client coordinates.
- Specifies the new width of the window, in pixels.
- Specifies the new height of the window, in pixels.
- Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.
- If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.
-
diff --git a/Bin/Release/CommonControls/.NET4 示例/ryUpdate.dll b/Bin/Release/CommonControls/.NET4 示例/ryUpdate.dll
index 89f9eef..3c4d130 100644
Binary files a/Bin/Release/CommonControls/.NET4 示例/ryUpdate.dll and b/Bin/Release/CommonControls/.NET4 示例/ryUpdate.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/MyDb.dll b/Bin/Release/CommonControls/.NET4/MyDb.dll
index 63095e1..3103f99 100644
Binary files a/Bin/Release/CommonControls/.NET4/MyDb.dll and b/Bin/Release/CommonControls/.NET4/MyDb.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/MyDb.xml b/Bin/Release/CommonControls/.NET4/MyDb.xml
index 7c2a910..6aef8d4 100644
--- a/Bin/Release/CommonControls/.NET4/MyDb.xml
+++ b/Bin/Release/CommonControls/.NET4/MyDb.xml
@@ -5118,14 +5118,14 @@
-
+ 删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
-
+ 选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
@@ -5133,14 +5133,14 @@
-
+ 创建一个与指定设备兼容的内存设备上下文环境(DC)。
-
+ 为一个设备创建设备上下文环境。
@@ -5150,7 +5150,7 @@
-
+ 删除指定的设备上下文环境(Dc)。
@@ -5182,7 +5182,7 @@
-
+ 返回hWnd参数所指定的窗口的设备环境。
@@ -5201,7 +5201,9 @@
-
+ 将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
+ 通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
+ 在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
@@ -5212,16 +5214,25 @@
-
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+ 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+
+
+
+
+
+
-
+ 设置弹出式窗口,层叠窗口或子窗口的父窗口
@@ -5229,31 +5240,43 @@
- The GetParent function retrieves a handle to the specified window's parent or owner.
+ 获得一个指定子窗口的父窗口句柄
Handle to the window whose parent window handle is to be retrieved.
If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
+ 获取系统菜单的句柄
-
-
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作
+
+
+ 获取系统菜单的句柄
+
+ 拥有窗口菜单拷贝的窗口的句柄
+ 标志位,指定将执行的操作。
+ 如果此参数为FALSE,GetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同,但可以被修改。
+ 如果此参数为TRUE,GetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单,将被销毁。
+
+ 如果参数bRevert为FALSE,返回值是窗口菜单的拷贝的句柄:如果参数bRevert为TRUE,返回值是NULL。
+
-
+ 从指定菜单删除一个菜单项或分离一个子菜单。
+ 备注:只要一个菜单被修改,无论它是否在显示窗口里,应用程序都必须调用函数DrawMenuBar。
-
-
+ 将被修改的菜单的句柄。
+ 指定将被删除的菜单项,其含义由参数wFlags决定。
-
+ 如果函数调用成功,返回非零值;如果函数调用失败,返回值是零。若想获得更多的错误信息,请调用GetLastError函数。
-
+ 设置前台窗口
@@ -5268,7 +5291,7 @@
获得当前活动窗体
-
+ 活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。
@@ -5312,7 +5335,7 @@
-
+ 发送消息
@@ -5322,7 +5345,7 @@
-
+ 发送消息
@@ -5332,7 +5355,7 @@
-
+ 发送消息
@@ -5361,14 +5384,14 @@
-
+ 从文件中载入指针
-
+ 判断窗口是否可见
@@ -5410,7 +5433,7 @@
-
+ 获取指定窗口的有关信息,也可用于获取窗口内存中指定偏移的32位度整型值。
@@ -5418,14 +5441,14 @@
-
+ 检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄,以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
-
+ 释放设备上下文环境(DC)供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境,对于类或私有的则无效。
@@ -5433,7 +5456,7 @@
-
+ 获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
@@ -5441,7 +5464,7 @@
-
+ 返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
@@ -5449,7 +5472,7 @@
-
+ 更新一个分层窗口的位置,大小,形状,内容和半透明度
@@ -5462,20 +5485,10 @@
-
-
-
-
-
-
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
A handle to the window.
A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
@@ -5488,7 +5501,8 @@
-
+ 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
diff --git a/Bin/Release/CommonControls/.NET4/MyDb_MSSQL.dll b/Bin/Release/CommonControls/.NET4/MyDb_MSSQL.dll
index 7a984fa..908c086 100644
Binary files a/Bin/Release/CommonControls/.NET4/MyDb_MSSQL.dll and b/Bin/Release/CommonControls/.NET4/MyDb_MSSQL.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/MyDb_MySQL.dll b/Bin/Release/CommonControls/.NET4/MyDb_MySQL.dll
index 5699718..e2cb500 100644
Binary files a/Bin/Release/CommonControls/.NET4/MyDb_MySQL.dll and b/Bin/Release/CommonControls/.NET4/MyDb_MySQL.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/MyDb_SQLite.dll b/Bin/Release/CommonControls/.NET4/MyDb_SQLite.dll
index a4ce395..1cd62ef 100644
Binary files a/Bin/Release/CommonControls/.NET4/MyDb_SQLite.dll and b/Bin/Release/CommonControls/.NET4/MyDb_SQLite.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/RyPrint.dll b/Bin/Release/CommonControls/.NET4/RyPrint.dll
index f880c28..ef8b97b 100644
Binary files a/Bin/Release/CommonControls/.NET4/RyPrint.dll and b/Bin/Release/CommonControls/.NET4/RyPrint.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/RyWeb.dll b/Bin/Release/CommonControls/.NET4/RyWeb.dll
index 2fb8d07..a2ca198 100644
Binary files a/Bin/Release/CommonControls/.NET4/RyWeb.dll and b/Bin/Release/CommonControls/.NET4/RyWeb.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/ryControls.dll b/Bin/Release/CommonControls/.NET4/ryControls.dll
index fb36f08..7230dac 100644
Binary files a/Bin/Release/CommonControls/.NET4/ryControls.dll and b/Bin/Release/CommonControls/.NET4/ryControls.dll differ
diff --git a/Bin/Release/CommonControls/.NET4/ryControls.xml b/Bin/Release/CommonControls/.NET4/ryControls.xml
index 2efb282..c0f7ba4 100644
--- a/Bin/Release/CommonControls/.NET4/ryControls.xml
+++ b/Bin/Release/CommonControls/.NET4/ryControls.xml
@@ -5707,55 +5707,6 @@
Specified WM_THEMECHANGED enumeration value.
-
-
- The GetParent function retrieves a handle to the specified window's parent or owner.
-
- Handle to the window whose parent window handle is to be retrieved.
- If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
-
-
-
- The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
-
- Handle to the parent window whose child windows are to be searched.
- Handle to a child window.
- Specifies class name.
- Pointer to a null-terminated string that specifies the window name (the window's title).
- If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.
-
-
-
- The InvalidateRect function adds a rectangle to the specified window's update region.
-
- Handle to window.
- Rectangle coordinates.
- Erase state.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
-
- Handle to window.
- Validation rectangle coordinates.
- If the function succeeds, the return value is true.If the function fails, the return value is false.
-
-
-
- Changes the size, position, and Z order of a child, pop-up, or top-level window.
- These windows are ordered according to their appearance on the screen.
- The topmost window receives the highest rank and is the first window in the Z order.
-
- A handle to the window.
- A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
- Specifies the new position of the left side of the window, in client coordinates.
- Specifies the new position of the top of the window, in client coordinates.
- Specifies the new width of the window, in pixels.
- Specifies the new height of the window, in pixels.
- Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.
- If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.
-
diff --git a/Bin/Release/CommonControls/.NET4/ryUpdate.dll b/Bin/Release/CommonControls/.NET4/ryUpdate.dll
index 89f9eef..3c4d130 100644
Binary files a/Bin/Release/CommonControls/.NET4/ryUpdate.dll and b/Bin/Release/CommonControls/.NET4/ryUpdate.dll differ
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fb151a2..5188804 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,10 @@
-### 2021-02-27更新
+### 2021-02-28更新
+------
+#### ryControls V2.1.2102.2801
+- *.[新增]新增部分WinAPI的注释。
+- *.[修复]修复Gdu.WinformUI在开发环境中有时无法拖动修改窗体大小的BUG。
+
+### 2021-02-27更新
------
#### ryControls V2.1.2102.2701
- *.[新增]按钮的渐变属性支持全局定义。
diff --git a/Source/.vs/公用控件组V4/v16/.suo b/Source/.vs/公用控件组V4/v16/.suo
index 1beaa46..f403493 100644
Binary files a/Source/.vs/公用控件组V4/v16/.suo and b/Source/.vs/公用控件组V4/v16/.suo differ
diff --git a/Source/MyDb/WinAPI/GDI32.cs b/Source/MyDb/WinAPI/GDI32.cs
index 2e34991..35902e4 100644
--- a/Source/MyDb/WinAPI/GDI32.cs
+++ b/Source/MyDb/WinAPI/GDI32.cs
@@ -12,14 +12,14 @@ namespace WinAPI
public class GDI32
{
///
- ///
+ /// 删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
///
///
///
[DllImport("gdi32")]
public static extern bool DeleteObject(IntPtr hObject);
///
- ///
+ /// 选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
///
///
///
@@ -27,14 +27,14 @@ namespace WinAPI
[DllImport("gdi32")]
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
///
- ///
+ /// 创建一个与指定设备兼容的内存设备上下文环境(DC)。
///
///
///
[DllImport("gdi32", SetLastError = true)]
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);
///
- ///
+ /// 为一个设备创建设备上下文环境。
///
///
///
@@ -48,7 +48,7 @@ namespace WinAPI
String output,
IntPtr lpInitData);
///
- ///
+ /// 删除指定的设备上下文环境(Dc)。
///
///
///
diff --git a/Source/MyDb/WinAPI/User32.cs b/Source/MyDb/WinAPI/User32.cs
index 07f5cd0..af90cb4 100644
--- a/Source/MyDb/WinAPI/User32.cs
+++ b/Source/MyDb/WinAPI/User32.cs
@@ -34,7 +34,7 @@ namespace WinAPI
[DllImport("user32.dll", EntryPoint = "keybd_event", SetLastError = true)]
public static extern void keybd_event(Keys bVk, byte bScan, uint dwFlags, uint dwExtraInfo);
///
- ///
+ /// 返回hWnd参数所指定的窗口的设备环境。
///
///
///
@@ -53,7 +53,9 @@ namespace WinAPI
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern bool MoveWindow(IntPtr hWnd, int x, int y, int width, int height, bool repaint);
///
- ///
+ /// 将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
+ /// 通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
+ /// 在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
///
///
///
@@ -64,7 +66,7 @@ namespace WinAPI
[DllImport("User32.dll")]
public extern static IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
///
- ///
+ /// 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
///
///
///
@@ -72,9 +74,20 @@ namespace WinAPI
///
[DllImport("User32.dll")]
public static extern IntPtr SetWindowLong(IntPtr hwnd, int nIndex, IntPtr dwNewLong);
-
///
- ///
+ /// 用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
+ ///
+ ///
+ ///
+ ///
+ ///
+ [DllImport("user32", CharSet = CharSet.Auto)]
+ public static extern uint SetWindowLong(
+ IntPtr hWnd,
+ int nIndex,
+ int dwNewLong);
+ ///
+ /// 设置弹出式窗口,层叠窗口或子窗口的父窗口
///
///
///
@@ -83,31 +96,43 @@ namespace WinAPI
public static extern IntPtr SetParent(IntPtr hwndChild, IntPtr hwndParent);
///
- /// The GetParent function retrieves a handle to the specified window's parent or owner.
+ /// 获得一个指定子窗口的父窗口句柄
///
/// Handle to the window whose parent window handle is to be retrieved.
/// If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr GetParent(IntPtr hwnd);
///
- ///
+ /// 获取系统菜单的句柄
///
- ///
- ///
+ /// 拥有窗口菜单拷贝的窗口的句柄
+ /// 标志位,指定将执行的操作
///
[DllImport("USER32.DLL")]
public static extern int GetSystemMenu(IntPtr hwnd, int bRevert);
///
- ///
+ /// 获取系统菜单的句柄
///
- ///
- ///
+ /// 拥有窗口菜单拷贝的窗口的句柄
+ /// 标志位,指定将执行的操作。
+ /// 如果此参数为FALSE,GetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同,但可以被修改。
+ /// 如果此参数为TRUE,GetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单,将被销毁。
+ ///
+ /// 如果参数bRevert为FALSE,返回值是窗口菜单的拷贝的句柄:如果参数bRevert为TRUE,返回值是NULL。
+ [DllImport("USER32.DLL")]
+ public static extern int GetSystemMenu(IntPtr hwnd, bool bRevert);
+ ///
+ /// 从指定菜单删除一个菜单项或分离一个子菜单。
+ /// 备注:只要一个菜单被修改,无论它是否在显示窗口里,应用程序都必须调用函数DrawMenuBar。
+ ///
+ /// 将被修改的菜单的句柄。
+ /// 指定将被删除的菜单项,其含义由参数wFlags决定。
///
- ///
+ /// 如果函数调用成功,返回非零值;如果函数调用失败,返回值是零。若想获得更多的错误信息,请调用GetLastError函数。
[DllImport("USER32.DLL")]
public static extern int RemoveMenu(int hMenu, int nPosition, int wFlags);
///
- ///
+ /// 设置前台窗口
///
///
///
@@ -122,7 +147,7 @@ namespace WinAPI
///
/// 获得当前活动窗体
///
- ///
+ /// 活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。
[DllImport("user32.dll")]
public static extern IntPtr GetActiveWindow();//获得当前活动窗体
///
@@ -172,7 +197,7 @@ namespace WinAPI
int nMaxCount //最大值
);
///
- ///
+ /// 发送消息
///
///
///
@@ -186,7 +211,7 @@ namespace WinAPI
int wParam,
int lParam);
///
- ///
+ /// 发送消息
///
///
///
@@ -200,7 +225,7 @@ namespace WinAPI
IntPtr wParam,
IntPtr lParam);
///
- ///
+ /// 发送消息
///
///
///
@@ -229,14 +254,14 @@ namespace WinAPI
[DllImport("user32.dll")]
public static extern void PostMessage(IntPtr hWnd, int msg, int wParam, ref COPYDATASTRUCT IParam);
///
- ///
+ /// 从文件中载入指针
///
///
///
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr LoadCursorFromFile(string filename);
///
- ///
+ /// 判断窗口是否可见
///
///
///
@@ -291,7 +316,7 @@ namespace WinAPI
IntPtr hwnd,
ref Rectangle rect);
///
- ///
+ /// 获取指定窗口的有关信息,也可用于获取窗口内存中指定偏移的32位度整型值。
///
///
///
@@ -301,7 +326,7 @@ namespace WinAPI
IntPtr hWnd,
int dwStyle);
///
- ///
+ /// 检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄,以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
///
///
///
@@ -309,7 +334,7 @@ namespace WinAPI
public static extern IntPtr GetDC(
IntPtr hwnd);
///
- ///
+ /// 释放设备上下文环境(DC)供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境,对于类或私有的则无效。
///
///
///
@@ -318,7 +343,7 @@ namespace WinAPI
public static extern int ReleaseDC(
IntPtr hwnd,
IntPtr hdc);
-
+
//[DllImport("user32", SetLastError = false)]
//internal static extern IntPtr GetDesktopWindow();
@@ -327,7 +352,7 @@ namespace WinAPI
// IntPtr hwnd,
// int nBar);
///
- ///
+ /// 获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
///
///
///
@@ -335,9 +360,9 @@ namespace WinAPI
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int GetClientRect(
IntPtr hwnd,
- [In, Out] ref Rectangle rect);
+ out Rectangle rect);
///
- ///
+ /// 返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
///
///
///
@@ -347,7 +372,7 @@ namespace WinAPI
IntPtr hWnd,
out Rectangle rect);
///
- ///
+ /// 更新一个分层窗口的位置,大小,形状,内容和半透明度
///
///
///
@@ -361,23 +386,10 @@ namespace WinAPI
///
[DllImport("user32", ExactSpelling = true, SetLastError = true)]
public static extern bool UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, Int32 crKey, ref BLENDFUNCTION pblend, Int32 dwFlags);
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [DllImport("user32", CharSet = CharSet.Auto)]
- public static extern uint SetWindowLong(
- IntPtr hWnd,
- int nIndex,
- int dwNewLong);
///
- /// Changes the size, position, and Z order of a child, pop-up, or top-level window.
- /// These windows are ordered according to their appearance on the screen.
- /// The topmost window receives the highest rank and is the first window in the Z order.
+ /// 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ /// 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
///
/// A handle to the window.
/// A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
@@ -397,7 +409,8 @@ namespace WinAPI
int Height,
FlagsSetWindowPos flags);
///
- ///
+ /// 改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
+ /// 子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
///
///
///
diff --git a/Source/MyDb/bin/x86/Debug/MyDb.dll b/Source/MyDb/bin/x86/Debug/MyDb.dll
index 92db6b7..0126127 100644
Binary files a/Source/MyDb/bin/x86/Debug/MyDb.dll and b/Source/MyDb/bin/x86/Debug/MyDb.dll differ
diff --git a/Source/MyDb/bin/x86/Release/MyDb.dll b/Source/MyDb/bin/x86/Release/MyDb.dll
index abeb075..5ed8f47 100644
Binary files a/Source/MyDb/bin/x86/Release/MyDb.dll and b/Source/MyDb/bin/x86/Release/MyDb.dll differ
diff --git a/Source/ryControls/Gdu.WinFormUI/Forms/GMForm.cs b/Source/ryControls/Gdu.WinFormUI/Forms/GMForm.cs
index cfb1ac8..13fda4c 100644
--- a/Source/ryControls/Gdu.WinFormUI/Forms/GMForm.cs
+++ b/Source/ryControls/Gdu.WinFormUI/Forms/GMForm.cs
@@ -1036,7 +1036,7 @@ namespace MGdu.WinFormUI
private void SetFormRegion()
{
- if (this.DesignMode) { return; }
+ //if (this.DesignMode) { return; }
if (base.Region != null)
base.Region.Dispose();
@@ -1145,7 +1145,7 @@ namespace MGdu.WinFormUI
private void DrawFormBorder(Graphics g)
{
- if (this.DesignMode) { return; }
+ //if (this.DesignMode) { return; }
int width = BorderWidth;
Rectangle rect = ClientRectangle;
@@ -1201,7 +1201,7 @@ namespace MGdu.WinFormUI
///
private void DrawInsetClientRect(Graphics g)
{
- if (this.DesignMode) { return; }
+ //if (this.DesignMode) { return; }
int x = BorderWidth;
int y = BorderWidth + CaptionHeight;
int w = ClientSize.Width - BorderWidth * 2;
diff --git a/Source/ryControls/Properties/AssemblyInfo.cs b/Source/ryControls/Properties/AssemblyInfo.cs
index 3b273f2..9bffb2b 100644
--- a/Source/ryControls/Properties/AssemblyInfo.cs
+++ b/Source/ryControls/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.1.2102.2701")]
-[assembly: AssemblyFileVersion("2.1.2102.2701")]
\ No newline at end of file
+[assembly: AssemblyVersion("2.1.2102.2801")]
+[assembly: AssemblyFileVersion("2.1.2102.2801")]
\ No newline at end of file
diff --git a/Source/ryControls/SuperTabControl/Win32/User32.cs b/Source/ryControls/SuperTabControl/Win32/User32.cs
index 5bd19f1..a677bcf 100644
--- a/Source/ryControls/SuperTabControl/Win32/User32.cs
+++ b/Source/ryControls/SuperTabControl/Win32/User32.cs
@@ -7,31 +7,7 @@ namespace ryControls.Win32API
{
internal partial class User32
{
- #region Struct
- [StructLayout(LayoutKind.Sequential)]
- internal struct RECT
- {
- public int left;
- public int top;
- public int right;
- public int bottom;
-
- public override string ToString()
- {
- return "{left=" + left.ToString() + ", " + "top=" + top.ToString() + ", " +
- "right=" + right.ToString() + ", " + "bottom=" + bottom.ToString() + "}";
- }
- }
-
- [StructLayout(LayoutKind.Sequential)]
- internal struct BLENDFUNCTION
- {
- public byte BlendOp;
- public byte BlendFlags;
- public byte SourceConstantAlpha;
- public byte AlphaFormat;
- }
-
+ #region Struct
#region Tab Control Notification Structures
//[StructLayout(LayoutKind.Sequential)]
@@ -104,190 +80,12 @@ namespace ryControls.Win32API
#endregion
#region UnmanagedMethods
-
- [DllImport("gdi32")]
- internal static extern bool DeleteObject(IntPtr hObject);
-
- [DllImport("gdi32")]
- internal static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
-
- [DllImport("gdi32", SetLastError = true)]
- internal static extern IntPtr CreateCompatibleDC(IntPtr hdc);
-
- [DllImport("gdi32")]
- internal static extern IntPtr CreateDC(
- String driverName,
- String deviceName,
- String output,
- IntPtr lpInitData);
-
- [DllImport("gdi32")]
- internal static extern bool DeleteDC(
- IntPtr dc);
-
- [DllImport("uxtheme", ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern Int32 SetWindowTheme(
- IntPtr hWnd,
- String textSubAppName,
- String textSubIdList);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern IntPtr SetParent(IntPtr hwndChild, IntPtr hwndParent);
-
- ///
- /// The GetParent function retrieves a handle to the specified window's parent or owner.
- ///
- /// Handle to the window whose parent window handle is to be retrieved.
- /// If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern IntPtr GetParent(IntPtr hwnd);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int SendMessage(
- IntPtr hwnd,
- int wMsg,
- int wParam,
- int lParam);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int SendMessage(
- IntPtr hwnd,
- int wMsg,
- IntPtr wParam,
- IntPtr lParam);
-
[DllImport("user32", CharSet = CharSet.Auto)]
internal static extern int SendMessage(
IntPtr hwnd,
int tMsg,
IntPtr wParam,
ref TCHITTESTINFO lParam);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern IntPtr LoadCursorFromFile(string filename);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern bool IsWindowVisible(IntPtr hwnd);
-
- ///
- /// The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
- ///
- /// Handle to the parent window whose child windows are to be searched.
- /// Handle to a child window.
- /// Specifies class name.
- /// Pointer to a null-terminated string that specifies the window name (the window's title).
- /// If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern IntPtr FindWindowEx(
- IntPtr hwndParent,
- IntPtr hwndChildAfter,
- [MarshalAs(UnmanagedType.LPTStr)]
- string lpszClass,
- [MarshalAs(UnmanagedType.LPTStr)]
- string lpszWindow);
-
- ///
- /// The InvalidateRect function adds a rectangle to the specified window's update region.
- ///
- /// Handle to window.
- /// Rectangle coordinates.
- /// Erase state.
- /// If the function succeeds, the return value is true.If the function fails, the return value is false.
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern bool InvalidateRect(
- IntPtr hwnd,
- ref Rectangle rect,
- bool bErase);
-
- ///
- /// The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
- ///
- /// Handle to window.
- /// Validation rectangle coordinates.
- /// If the function succeeds, the return value is true.If the function fails, the return value is false.
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern bool ValidateRect(
- IntPtr hwnd,
- ref Rectangle rect);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int GetWindowLong(
- IntPtr hWnd,
- int dwStyle);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern IntPtr GetDC(
- IntPtr hwnd);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int ReleaseDC(
- IntPtr hwnd,
- IntPtr hdc);
-
- //[DllImport("user32", SetLastError = false)]
- //internal static extern IntPtr GetDesktopWindow();
-
- //[DllImport("user32", CharSet = CharSet.Auto)]
- //internal static extern int GetScrollPos(
- // IntPtr hwnd,
- // int nBar);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int GetClientRect(
- IntPtr hwnd,
- ref RECT rc);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int GetClientRect(
- IntPtr hwnd,
- [In, Out] ref Rectangle rect);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern bool GetWindowRect(
- IntPtr hWnd,
- [In, Out] ref Rectangle rect);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int GetWindowRect(
- IntPtr hwnd,
- ref RECT rc);
-
- [DllImport("user32", ExactSpelling = true, SetLastError = true)]
- internal static extern bool UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, Int32 crKey, ref BLENDFUNCTION pblend, Int32 dwFlags);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern uint SetWindowLong(
- IntPtr hWnd,
- int nIndex,
- int dwNewLong);
-
- ///
- /// Changes the size, position, and Z order of a child, pop-up, or top-level window.
- /// These windows are ordered according to their appearance on the screen.
- /// The topmost window receives the highest rank and is the first window in the Z order.
- ///
- /// A handle to the window.
- /// A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
- /// Specifies the new position of the left side of the window, in client coordinates.
- /// Specifies the new position of the top of the window, in client coordinates.
- /// Specifies the new width of the window, in pixels.
- /// Specifies the new height of the window, in pixels.
- /// Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.
- /// If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern int SetWindowPos(
- IntPtr hWnd,
- IntPtr hWndAfter,
- int X,
- int Y,
- int Width,
- int Height,
- FlagsSetWindowPos flags);
-
- [DllImport("user32", CharSet = CharSet.Auto)]
- internal static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X,
- int Y, int cx, int cy, uint uFlags);
-
#endregion
}
}
\ No newline at end of file
diff --git a/Source/ryControls/bin/x86/Debug/MyDb.dll b/Source/ryControls/bin/x86/Debug/MyDb.dll
index 92db6b7..0126127 100644
Binary files a/Source/ryControls/bin/x86/Debug/MyDb.dll and b/Source/ryControls/bin/x86/Debug/MyDb.dll differ
diff --git a/Source/ryControls/bin/x86/Debug/ryControls.dll b/Source/ryControls/bin/x86/Debug/ryControls.dll
index 258d55a..1760e72 100644
Binary files a/Source/ryControls/bin/x86/Debug/ryControls.dll and b/Source/ryControls/bin/x86/Debug/ryControls.dll differ
diff --git a/Source/ryControls/bin/x86/Release/MyDb.dll b/Source/ryControls/bin/x86/Release/MyDb.dll
index abeb075..5ed8f47 100644
Binary files a/Source/ryControls/bin/x86/Release/MyDb.dll and b/Source/ryControls/bin/x86/Release/MyDb.dll differ
diff --git a/Source/ryControls/bin/x86/Release/ryControls.dll b/Source/ryControls/bin/x86/Release/ryControls.dll
index 75c155b..0aaabf2 100644
Binary files a/Source/ryControls/bin/x86/Release/ryControls.dll and b/Source/ryControls/bin/x86/Release/ryControls.dll differ