{"id":90581,"date":"2026-08-05T15:00:39","date_gmt":"2026-08-05T07:00:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/90581.html"},"modified":"2026-08-05T15:00:39","modified_gmt":"2026-08-05T07:00:39","slug":"%e8%ae%a9%e5%af%b9%e8%af%9d%e6%a1%86%e7%aa%97%e5%8f%a3%e5%9c%a8%e9%bc%a0%e6%a0%87%e5%8d%95%e5%87%bb%e6%97%b6%e5%87%ba%e7%8e%b0%e9%86%92%e7%9b%ae%e6%a0%87%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/90581.html","title":{"rendered":"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0"},"content":{"rendered":"<h2 style=\"background-color:transparent\">1. \u6548\u679c\u6f14\u793a<\/h2>\n<p>\u665a\u95f4\u6b63\u5728\u505a\u4e00\u4e2a\u5b8c\u6574\u7684CSDN\u5408\u96c6&#xff0c;\u9488\u5bf9\u5bf9\u8bdd\u6846#32770&#xff0c;\u4e13\u95e8\u6559\u5b66\u5982\u4f55\u5b8c\u5584\u5404\u9879\u529f\u80fd\u3001\u5982\u4f55\u4f18\u5316\u4f7f\u7528\u4f53\u9a8c\u7b49\u5185\u5bb9&#xff0c;\u8ba9\u5927\u5bb6\u5728\u5199\u81ea\u5df1\u7684\u7a97\u53e3\u9879\u76ee\u65f6\u80fd\u591f\u6709\u6240\u501f\u9274\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" class=\"left\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260805070037-6a72df95f0459.gif\" \/><\/p>\n<h2 style=\"background-color:transparent;text-align:start\">2. \u529f\u80fd\u4ecb\u7ecd<\/h2>\n<p style=\"text-align:start\"><span style=\"background-color:#fbf5b3\"><span style=\"background-color:#fbf5b3\">\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0&#xff0c;\u677e\u5f00\u65f6\u6807\u8bb0\u6d88\u5931\u3002<\/span><\/span><\/p>\n<h2 style=\"text-align:start\">3. \u5b9e\u73b0\u8fc7\u7a0b<\/h2>\n<p style=\"text-align:start\">\u8fd9\u4e2a\u529f\u80fd\u7684\u672c\u8d28\u662f\u5728\u5bf9\u8bdd\u6846\u7a97\u53e3\u4e0a\u753b\u5706\u548c\u64e6\u9664&#xff0c;\u64cd\u4f5c\u65b9\u6cd5\u662f&#xff1a;\u5728\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u753b\u4e00\u4e2a\u5706&#xff0c;\u53c8\u5728\u5de6\u952e\u677e\u5f00\u65f6\u64e6\u9664\u5706\u3002\u4ec5\u4ec5\u77e5\u9053\u5728\u4ec0\u4e48\u65f6\u95f4\u5e72\u4ec0\u4e48\u4e8b\u8fd8\u4e0d\u591f&#xff0c;\u56e0\u4e3a\u6211\u4eec\u8fd8\u4e0d\u6e05\u695a\u600e\u4e48\u5728\u5bf9\u8bdd\u6846\u7a97\u53e3\u4e0a\u8fdb\u884c\u7ed8\u5236\u64cd\u4f5c\u3002<\/p>\n<p>   \u6211\u4eec\u5148\u6765\u4e86\u89e3\u4e00\u4e2a\u53eb\u505ahdc\u7ed8\u5236\u73af\u5883\u7684\u5de5\u5177&#xff0c;\u4f60\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u4e3a\u201c\u753b\u677f\u201d\u3002<\/p>\n<p>    \u5176\u5b9e&#xff0c;\u7a97\u53e3\u672c\u8eab\u5c31\u50cf\u662f\u4e00\u4e2a\u753b\u677f&#xff0c;\u53ea\u4e0d\u8fc7\u5c4f\u5e55\u4e0a\u7684\u7a97\u53e3\u5f88\u591a&#xff0c;\u753b\u677f\u4e5f\u5c31\u5f88\u591a\u3002\u4e0e\u753b\u677f\u914d\u5957\u7684\u6709\u5f88\u591a\u753b\u753b\u5de5\u5177&#xff0c;\u6bd4\u5982\u753b\u7b14\u3001\u753b\u5237\u548c\u6a61\u76ae\u64e6\u7b49\u3002\u5728\u753b\u677f\u4e0a\u753b\u753b&#xff0c;\u4e5f\u5c31\u662f\u5728hdc\u7ed8\u5236\u73af\u5883\u4e2d\u8fdb\u884c\u7ed8\u5236&#xff0c;\u7ed8\u5236\u7684\u987a\u5e8f\u662f&#xff1a;<br \/>\n   <span style=\"background-color:#fbf5b3\"><span style=\"background-color:#fbf5b3\">\u5148\u627e\u5230\u753b\u677f&#xff0c;\u62ff\u8d77\u9700\u8981\u7684\u753b\u753b\u5de5\u5177&#xff0c;\u753b\u753b&#xff0c;\u62ff\u8d77\u539f\u6765\u7684\u753b\u753b\u5de5\u5177&#xff0c;\u653e\u56de\u753b\u677f\u3002<\/span><\/span><\/p>\n<p style=\"text-align:start\">\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u6309\u7167\u8fd9\u4e2a\u753b\u753b\u987a\u5e8f\u6765\u9010\u6b65\u8bb2\u89e3&#xff1a;<\/p>\n<h3 style=\"background-color:transparent;text-align:start\">3.1 \u5148\u627e\u5230\u753b\u677f<\/h3>\n<p style=\"text-align:start\">\u6211\u4eec\u4f7f\u7528GetDC\u51fd\u6570\u83b7\u53d6\u5bf9\u8bdd\u6846\u7a97\u53e3\u7684hdc\u7ed8\u5236\u73af\u5883&#xff1a;<\/p>\n<p>  &#039;\u83b7\u53d6\u5bf9\u8bdd\u6846\u7ed8\u5236\u73af\u5883<br \/>\nUd.DialogHdc &#061; GetDC(Ud.Dialog) <\/p>\n<h3 style=\"text-align:start\">3.2 \u62ff\u8d77\u9700\u8981\u7684\u753b\u753b\u5de5\u5177<\/h3>\n<p style=\"text-align:start\">\u753b\u753b\u5de5\u5177\u9700\u8981\u7528\u6237\u5148\u521b\u5efa\u518d\u62ff\u8d77\u3002\u6211\u4eec\u5148\u4f7f\u7528CreatePen\u51fd\u6570\u521b\u5efa\u4e00\u4e2a1\u50cf\u7d20\u5bbd\u7684\u5b9e\u7ebf\u753b\u7b14&#xff0c;\u7136\u540e\u4f7f\u7528SelectObject\u51fd\u6570\u5728Ud.DialogHdc\u7ed8\u5236\u73af\u5883\u4e2d\u62ff\u8d77\u8fd9\u4e2a\u753b\u7b14\u3002\u63a5\u7740&#xff0c;\u6211\u4eec\u518d\u4f7f\u7528GetStockObject\u51fd\u6570\u83b7\u53d6\u7cfb\u7edf\u7a7a\u753b\u5237&#xff0c;\u7136\u540e\u4e5f\u5728Ud.DialogHdc\u7ed8\u5236\u73af\u5883\u4e2d\u62ff\u8d77\u8fd9\u4e2a\u753b\u5237\u3002<\/p>\n<p>    &#039;\u521b\u5efa\u5e76\u62ff\u8d77\u753b\u7b14<br \/>\nUd.Temp(0) &#061; CreatePen(PS_SOLID, 1, RGB(0, 0, 0))<br \/>\nUd.Temp(1) &#061; SelectObject(Ud.DialogHdc, Ud.Temp(0))<br \/>\n&#039;\u521b\u5efa\u5e76\u62ff\u8d77\u7a7a\u753b\u5237<br \/>\nUd.Temp(2) &#061; GetStockObject(NULL_BRUSH)<br \/>\nUd.Temp(3) &#061; SelectObject(Ud.DialogHdc, Ud.Temp(2)) <\/p>\n<p style=\"text-align:start\">\u201c\u62ff\u8d77\u201d\u64cd\u4f5c\u672c\u8eab\u662f\u5206\u4e24\u6b65&#xff0c;\u5148\u653e\u4e0b\u73b0\u6709\u7684\u5de5\u5177&#xff0c;\u518d\u62ff\u8d77\u65b0\u7684\u5de5\u5177\u3002\u5728\u4ee3\u7801\u4e2d\u8fd9\u6837\u7406\u89e3&#xff0c;SelectObject\u51fd\u6570\u5728\u62ff\u8d77Ud.Temp(0)\u4e4b\u524d\u4f1a\u5148\u653e\u4e0bUd.Temp(1)\u3002<\/p>\n<h3 style=\"text-align:start\">3.3 \u753b\u753b<\/h3>\n<ul>\n<li style=\"text-align:start\">\u786e\u5b9a\u9f20\u6807\u5de6\u952e\u5355\u51fb\u4f4d\u7f6e\u7684\u5750\u6807<\/li>\n<\/ul>\n<p style=\"text-align:start\">\u6211\u4eec\u5728\u8fd9\u91cc\u662f\u62e6\u622a\u7684WM_LBUTTONDOWN\u6d88\u606f&#xff0c;\u8fd9\u4e2a\u6d88\u606f\u5728\u53d1\u9001\u65f6\u53c2\u6570lParam\u5e26\u6709\u5750\u6807\u4fe1\u606f&#xff0c;\u6211\u4eec\u53ea\u9700\u8981\u5c06\u5176\u63d0\u53d6\u51fa\u6765\u5c31\u884c&#xff1a;<\/p>\n<p>    &#039;\u4ecelParam\u4f4e\u4f4d\u83b7\u53d6\u9f20\u6807x\u5750\u6807<br \/>\nUd.DiglogClick.x &#061; CLng(lParam) And &amp;HFFFF&amp;<br \/>\n&#039;\u4ecelParam\u9ad8\u4f4d\u83b7\u53d6\u9f20\u6807y\u5750\u6807<br \/>\nUd.DiglogClick.y &#061; (CLng(lParam) And &amp;HFFFF0000) \/ &amp;H10000 <\/p>\n<ul>\n<li style=\"text-align:start\">\u5728\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u7684\u5730\u65b9\u753b\u4e00\u4e2a\u9ed1\u8272\u8f6e\u5ed3\u7684\u5706<\/li>\n<\/ul>\n<p style=\"text-align:start\">\u6211\u4eec\u6765\u4f7f\u7528Ellipse\u51fd\u6570\u8fdb\u884c\u753b\u5706&#xff0c;\u5b83\u7684\u53c2\u6570\u8981\u6c42\u6211\u4eec\u77e5\u9053\u4e24\u4e2a\u5750\u6807&#xff0c;\u4e00\u4e2a\u662f\u5de6\u4e0a\u89d2\u5750\u6807&#xff0c;\u53e6\u4e00\u4e2a\u662f\u53f3\u4e0b\u89d2\u5750\u6807\u3002\u7528\u8fd9\u4e24\u4e2a\u5750\u6807\u56f4\u6210\u4e00\u4e2a\u77e9\u5f62&#xff0c;\u4ee5\u77e9\u5f62\u4e2d\u70b9\u4e3a\u5706\u5fc3\u7684\u5185\u5207\u5706\u5c31\u662fEllipse\u51fd\u6570\u753b\u51fa\u7684\u5706\u3002<\/p>\n<p>    &#039;\u7ed8\u5236\u5706&#xff08;\u6709\u8fb9\u6846\u3001\u65e0\u80cc\u666f&#xff09;<br \/>\nEllipse Ud.DialogHdc, Ud.DiglogClick.x &#8211; 10, Ud.DiglogClick.y &#8211; 10, Ud.DiglogClick.x &#043; 10, Ud.DiglogClick.y &#043; 10 <\/p>\n<ul>\n<li style=\"text-align:start\">\u5728\u9f20\u6807\u5de6\u952e\u677e\u5f00\u65f6\u64e6\u9664\u521a\u521a\u7ed8\u5236\u7684\u8f6e\u5ed3\u5706<\/li>\n<\/ul>\n<p style=\"text-align:start\">\u8fd9\u91cc\u8981\u7528InvalidateRect\u51fd\u6570\u6307\u5b9a\u4e00\u4e2a\u5373\u5c06\u8981\u91cd\u7ed8\u7684\u77e9\u5f62\u533a\u57df\u3002<\/p>\n<p>    &#039;\u91cd\u7ed8\u64e6\u9664\u4e4b\u524d\u7684\u9192\u76ee\u6807\u8bb0<br \/>\nDim lprc As RECT<br \/>\nlprc.Left &#061; Ud.DiglogClick.x &#8211; 10<br \/>\nlprc.Top &#061; Ud.DiglogClick.y &#8211; 10<br \/>\nlprc.Right &#061; Ud.DiglogClick.x &#043; 10<br \/>\nlprc.Bottom &#061; Ud.DiglogClick.y &#043; 10<br \/>\nInvalidateRect Ud.Dialog, lprc, True <\/p>\n<h3 style=\"text-align:start\">3.4 \u62ff\u8d77\u539f\u6765\u7684\u753b\u753b\u5de5\u5177<\/h3>\n<p style=\"text-align:start\">\u5728\u753b\u753b\u7ed3\u675f\u4e4b\u540e&#xff0c;\u7531\u4e8e\u4e0d\u518d\u9700\u8981\u4f7f\u7528\u8fd9\u4e2a1\u50cf\u7d20\u5bbd\u7684\u5b9e\u7ebf\u753b\u7b14Ud.Temp(0)\u548c\u7a7a\u753b\u5237Ud.Temp(2)\u4e86&#xff0c;\u6211\u4eec\u5c31\u8981\u653e\u4e0b\u5b83\u4eec&#xff0c;\u91cd\u65b0\u62ff\u8d77\u4e4b\u524d\u7684\u5de5\u5177&#xff0c;\u6bd4\u5982\u91cd\u65b0\u62ff\u8d77\u4e4b\u524d\u7684\u753b\u7b14Ud.Temp(1)&#xff0c;\u4ee5\u53ca\u91cd\u65b0\u62ff\u8d77\u6a21\u524d\u7684\u753b\u5237Ud.Temp(3)\u3002\u4ee5\u6b64&#xff0c;\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u7684\u7ed8\u5236\u73af\u5883\u5728\u7528\u6237\u7ed8\u5236\u5b8c\u4e4b\u540e\u59cb\u7ec8\u4fdd\u6301\u539f\u59cb\u6a21\u6837\u3002<\/p>\n<p>    &#039;\u9009\u4e2d\u4e4b\u524d\u7684\u753b\u7b14\u548c\u753b\u5237<br \/>\nSelectObject Ud.DialogHdc, Ud.Temp(1)<br \/>\nSelectObject Ud.DialogHdc, Ud.Temp(3) <\/p>\n<p style=\"text-align:start\">\u6b64\u5916&#xff0c;\u6211\u4eec\u8fd8\u9700\u8981\u628a\u4e0d\u9700\u8981\u7684\u753b\u7b14\u9500\u6bc1\u6389&#xff0c;\u91ca\u653e\u5185\u5b58\u3002\u800c\u4f7f\u7528GetStockObject\u51fd\u6570\u83b7\u53d6\u7684\u5bf9\u8c61\u53e5\u67c4&#xff0c;\u4e0d\u9700\u8981\u624b\u52a8\u9500\u6bc1\u3002<\/p>\n<p>    &#039;\u9500\u6bc1\u4e34\u65f6\u753b\u7b14<br \/>\nDeleteObject Ud.Temp(0) <\/p>\n<h3 style=\"text-align:start\">3.5 \u653e\u56de\u753b\u677f<\/h3>\n<p style=\"text-align:start\">\u5728\u6240\u6709\u6b65\u9aa4\u90fd\u7ed3\u675f\u4e4b\u540e&#xff0c;\u6211\u4eec\u9700\u8981\u628a\u5f53\u524d\u5728\u7528\u7684\u753b\u677f\u653e\u56de\u53bb&#xff0c;\u4e5f\u5c31\u662f\u91ca\u653ehdc\u7ed8\u5236\u73af\u5883\u3002<\/p>\n<p>    &#039;\u91ca\u653e\u7ed8\u5236\u73af\u5883<br \/>\nReleaseDC Ud.Dialog, Ud.DialogHdc <\/p>\n<h2 style=\"background-color:transparent;text-align:start\">4. \u5b8c\u6574\u6e90\u7801<\/h2>\n<p style=\"text-align:start\"><span style=\"background-color:#fbf5b3\"><span style=\"background-color:#fbf5b3\">\u5efa\u8bae\u5927\u5bb6\u5728\u4e86\u89e3\u5b9e\u73b0\u539f\u7406\u4e4b\u540e&#xff0c;\u4eb2\u81ea\u52a8\u624b\u7f16\u5199\u4ee3\u7801\u5b9e\u64cd&#xff0c;\u8fd9\u6837\u624d\u80fd\u63d0\u5347\u81ea\u8eab\u80fd\u529b\u3002<\/span><\/span><\/p>\n<ul>\n<li style=\"text-align:start\">\u4ee3\u7801\u9002\u914d32\u4e0e64\u4f4d\u7cfb\u7edf<\/li>\n<li style=\"text-align:start\">\u4ee3\u7801\u4e0d\u533a\u5206WPS\u6216EXCEL VBA\u73af\u5883<\/li>\n<\/ul>\n<p style=\"text-align:start\">\u4f60\u53ea\u9700\u8981\u590d\u5236\u4ee3\u7801\u5230\u4e00\u4e2a\u65b0\u6a21\u5757\u4e2d\u5c31\u80fd\u8fd0\u884c&#xff1a;<\/p>\n<p>    &#039;\u665a\u95f4\u6709\u96e8\u4f34\u4eba\u7720202608011619<br \/>\n&#039;\u539f\u521b\u4ee3\u7801&#xff0c;\u8f6c\u8f7d\u6216\u4e8c\u521b\u8bf7\u6807\u660e\u6765\u6e90<br \/>\n#If VBA7 And Win64 Then<br \/>\n    Private Declare PtrSafe Function IsWindow Lib &#034;user32&#034; (ByVal hwnd As LongPtr) As Long<br \/>\n    Private Declare PtrSafe Function ShowWindow Lib &#034;user32&#034; (ByVal hwnd As LongPtr, ByVal nCmdShow As Long) As Long<br \/>\n    Private Declare PtrSafe Function FindWindowA Lib &#034;user32&#034; (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPtr<br \/>\n    Private Declare PtrSafe Function CreateWindowExA Lib &#034;user32&#034; (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal HwndParent As LongPtr, ByVal hMenu As LongPtr, ByVal Hinstance As LongPtr, lpParam As Any) As LongPtr<br \/>\n    Private Declare PtrSafe Function SetWindowLongA Lib &#034;user32&#034; Alias &#034;SetWindowLongPtrA&#034; (ByVal hwnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLong As LongPtr) As LongPtr<br \/>\n    Private Declare PtrSafe Function SetFocus Lib &#034;user32&#034; (ByVal hwnd As LongPtr) As LongPtr<br \/>\n    Private Declare PtrSafe Function CallWindowProcA Lib &#034;user32&#034; (ByVal lpPrevWndFunc As LongPtr, ByVal hwnd As LongPtr, ByVal msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr<br \/>\n    Private Declare PtrSafe Function DestroyWindow Lib &#034;user32&#034; (ByVal hwnd As LongPtr) As Long<br \/>\n    Private Declare PtrSafe Function GetDC Lib &#034;user32&#034; (ByVal hwnd As LongPtr) As LongPtr<br \/>\n    Private Declare PtrSafe Function ReleaseDC Lib &#034;user32&#034; (ByVal hwnd As LongPtr, ByVal hdc As LongPtr) As Long<br \/>\n    Private Declare PtrSafe Function CreatePen Lib &#034;gdi32&#034; (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As LongPtr<br \/>\n    Private Declare PtrSafe Function GetStockObject Lib &#034;gdi32&#034; (ByVal nIndex As Long) As LongPtr<br \/>\n    Private Declare PtrSafe Function SelectObject Lib &#034;gdi32&#034; (ByVal hdc As LongPtr, ByVal hObject As LongPtr) As LongPtr<br \/>\n    Private Declare PtrSafe Function Ellipse Lib &#034;gdi32&#034; (ByVal hdc As LongPtr, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long<br \/>\n    Private Declare PtrSafe Function DeleteObject Lib &#034;gdi32&#034; (ByVal hObject As LongPtr) As Long<br \/>\n    Private Declare PtrSafe Function InvalidateRect Lib &#034;user32&#034; (ByVal hwnd As LongPtr, lpRect As RECT, ByVal bErase As Long) As Long<br \/>\n#Else<br \/>\n    Private Declare Function IsWindow Lib &#034;user32&#034; (ByVal hwnd As Long) As Long<br \/>\n    Private Declare Function ShowWindow Lib &#034;user32&#034; (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long<br \/>\n    Private Declare Function FindWindowA Lib &#034;user32&#034; (ByVal lpClassName As String, ByVal lpWindowName As String) As Long<br \/>\n    Private Declare Function CreateWindowExA Lib &#034;user32&#034; (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal HwndParent As Long, ByVal hMenu As Long, ByVal Hinstance As Long, lpParam As Any) As Long<br \/>\n    Private Declare Function SetWindowLongA Lib &#034;user32&#034; (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long<br \/>\n    Private Declare Function SetFocus Lib &#034;user32&#034; (ByVal hwnd As Long) As Long<br \/>\n    Private Declare Function CallWindowProcA Lib &#034;user32&#034; (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long<br \/>\n    Private Declare Function DestroyWindow Lib &#034;user32&#034; (ByVal hwnd As Long) As Long<br \/>\n    Private Declare Function GetDC Lib &#034;user32&#034; (ByVal hwnd As Long) As Long<br \/>\n    Private Declare Function ReleaseDC Lib &#034;user32&#034; (ByVal hwnd As Long, ByVal hdc As Long) As Long<br \/>\n    Private Declare Function CreatePen Lib &#034;gdi32&#034; Alias &#034;CreatePen&#034; (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As Long<br \/>\n    Private Declare Function GetStockObject Lib &#034;gdi32&#034; Alias &#034;GetStockObject&#034; (ByVal nIndex As Long) As Long<br \/>\n    Private Declare Function SelectObject Lib &#034;gdi32&#034; Alias &#034;SelectObject&#034; (ByVal hdc As Long, ByVal hObject As Long) As Long<br \/>\n    Private Declare Function Ellipse Lib &#034;gdi32&#034; (ByVal hdc As LongPtr, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long<br \/>\n    Private Declare Function DeleteObject Lib &#034;gdi32&#034; Alias &#034;DeleteObject&#034; (ByVal hObject As Long) As Long<br \/>\n    Private Declare Function InvalidateRect Lib &#034;user32&#034; Alias &#034;InvalidateRect&#034; (ByVal hwnd As Long, lpRect As RECT, ByVal bErase As Long) As Long<br \/>\n#End If<\/p>\n<p>#If VBA7 And Win64 Then<br \/>\n    Private Type POINTAPI<br \/>\n        x As Long<br \/>\n        y As Long<br \/>\n    End Type<br \/>\n    Private Type RECT<br \/>\n        Left As Long<br \/>\n        Top As Long<br \/>\n        Right As Long<br \/>\n        Bottom As Long<br \/>\n    End Type<br \/>\n#Else<br \/>\n    Private Type POINTAPI<br \/>\n        x As Long<br \/>\n        y As Long<br \/>\n    End Type<br \/>\n    Private Type RECT<br \/>\n        Left As Long<br \/>\n        Top As Long<br \/>\n        Right As Long<br \/>\n        Bottom As Long<br \/>\n    End Type<br \/>\n#End If<\/p>\n<p>#If VBA7 And Win64 Then<br \/>\n    Private Const Nuptr As LongPtr &#061; 0<br \/>\n    Private Ud As UserDialogType<br \/>\n    Private Type UserDialogType<br \/>\n        Dialog As LongPtr<br \/>\n        DialogProc As LongPtr<br \/>\n        DialogHdc As LongPtr<br \/>\n        DiglogClick As POINTAPI<br \/>\n        Editor As LongPtr<br \/>\n        EditorState As LongPtr<br \/>\n        Temp(3) As LongPtr<br \/>\n    End Type<br \/>\n#Else<br \/>\n    Private Const Nuptr As Long &#061; 0<br \/>\n    Private Ud As UserDialogType<br \/>\n    Private Type UserDialogType<br \/>\n        Dialog As Long<br \/>\n        DialogProc As Long<br \/>\n        DialogHdc As Long<br \/>\n        DiglogClick As POINTAPI<br \/>\n        Editor As Long<br \/>\n        EditorState As Long<br \/>\n        Temp(3) As Long<br \/>\n    End Type<br \/>\n#End If<\/p>\n<p>Private Const SW_SHOW &#061; 5<br \/>\nPrivate Const SW_HIDE &#061; 0<br \/>\nPrivate Const WS_VISIBLE &#061; &amp;H10000000<br \/>\nPrivate Const WS_POPUP &#061; &amp;H80000000<br \/>\nPrivate Const WS_SYSMENU &#061; &amp;H80000<br \/>\nPrivate Const WS_CAPTION &#061; &amp;HC00000<br \/>\nPrivate Const WS_EX_DLGMODALFRAME &#061; &amp;H1<br \/>\nPrivate Const GWL_WNDPROC &#061; -4<br \/>\nPrivate Const WM_CLOSE &#061; &amp;H10<br \/>\nPrivate Const WM_DESTROY &#061; &amp;H2<br \/>\nPrivate Const WM_LBUTTONDOWN &#061; &amp;H201<br \/>\nPrivate Const WM_LBUTTONUP &#061; &amp;H202<br \/>\nPrivate Const PS_SOLID &#061; 0<br \/>\nPrivate Const NULL_BRUSH &#061; 5<\/p>\n<p>Public Sub CreateUserDialog()<br \/>\n    &#039;\u5bf9\u8bdd\u6846\u7a97\u53e3\u82e5\u5df2\u5b58\u5728\u5219\u76f4\u63a5\u663e\u793a<br \/>\n    If IsWindow(Ud.Dialog) Then ShowWindow Ud.Dialog, SW_SHOW: Exit Sub<br \/>\n    &#039;\u83b7\u53d6\u7f16\u8f91\u5668\u53e5\u67c4\u5e76\u9690\u85cf<br \/>\n    Ud.Editor &#061; FindWindowA(&#034;wndclass_desked_gsk&#034;, vbNullString)<br \/>\n    Ud.EditorState &#061; ShowWindow(Ud.Editor, SW_HIDE)<br \/>\n    &#039;\u6307\u5b9a\u5bf9\u8bdd\u6846\u521d\u59cb\u6837\u5f0f<br \/>\n    Dim StyleS&amp;: StyleS &#061; WS_VISIBLE Or WS_POPUP Or WS_SYSMENU Or WS_CAPTION<br \/>\n    Dim StyleE&amp;: StyleE &#061; WS_EX_DLGMODALFRAME<br \/>\n    &#039;\u521b\u5efa\u5bf9\u8bdd\u6846\u4e3b\u7a97\u53e3<br \/>\n    Ud.Dialog &#061; CreateWindowExA(StyleE, &#034;#32770&#034;, &#034;UserDialog&#034;, StyleS, 15, 50, 300, 200, Nuptr, Nuptr, Nuptr, Nuptr)<br \/>\n    &#039;\u83b7\u53d6\u5bf9\u8bdd\u6846\u7ed8\u5236\u73af\u5883<br \/>\n    Ud.DialogHdc &#061; GetDC(Ud.Dialog)<br \/>\n    &#039;\u8bbe\u7f6e\u5bf9\u8bdd\u6846\u5b50\u7c7b\u5316<br \/>\n    Ud.DialogProc &#061; SetWindowLongA(Ud.Dialog, GWL_WNDPROC, AddressOf WindowProcUdDialog)<br \/>\n    &#039;\u8bbe\u7f6e\u7126\u70b9<br \/>\n    SetFocus Ud.Dialog<br \/>\nEnd Sub<\/p>\n<p>#If VBA7 And Win64 Then<br \/>\n    Private Function WindowProcUdDialog(ByVal hwnd As LongPtr, ByVal msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr<br \/>\n#Else<br \/>\n    Private Function WindowProcUdDialog(ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long<br \/>\n#End If<br \/>\n    Select Case msg<br \/>\n        &#039;\u7a97\u53e3\u5373\u5c06\u5173\u95ed\u65f6<br \/>\n        Case WM_CLOSE<br \/>\n            &#039;\u91ca\u653e\u7ed8\u5236\u73af\u5883<br \/>\n            ReleaseDC Ud.Dialog, Ud.DialogHdc<br \/>\n            &#039;\u9500\u6bc1\u7a97\u53e3<br \/>\n            DestroyWindow Ud.Dialog<br \/>\n            &#039;\u7528\u6237\u5df2\u5904\u7406<br \/>\n            WindowProcUdDialog &#061; Nuptr<br \/>\n            Exit Function<br \/>\n        &#039;\u7a97\u53e3\u9500\u6bc1\u540e<br \/>\n        Case WM_DESTROY<br \/>\n            &#039;\u53d6\u6d88\u5b50\u7c7b\u5316<br \/>\n            SetWindowLongA Ud.Dialog, GWL_WNDPROC, Ud.DialogProc<br \/>\n            &#039;\u8fd8\u539f\u7f16\u8f91\u5668\u7684\u663e\u793a\u72b6\u6001<br \/>\n            If Ud.EditorState Then ShowWindow Ud.Editor, SW_SHOW<br \/>\n            &#039;\u6e05\u7406\u5185\u5b58<br \/>\n            Dim EmptyUd As UserDialogType: Ud &#061; EmptyUd<br \/>\n            &#039;\u7528\u6237\u5df2\u5904\u7406<br \/>\n            WindowProcUdDialog &#061; Nuptr<br \/>\n            Exit Function<br \/>\n        &#039;\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6<br \/>\n        Case WM_LBUTTONDOWN<br \/>\n            &#039;\u4ecelParam\u4f4e\u4f4d\u83b7\u53d6\u9f20\u6807x\u5750\u6807<br \/>\n            Ud.DiglogClick.x &#061; CLng(lParam) And &amp;HFFFF&amp;<br \/>\n            &#039;\u4ecelParam\u9ad8\u4f4d\u83b7\u53d6\u9f20\u6807y\u5750\u6807<br \/>\n            Ud.DiglogClick.y &#061; (CLng(lParam) And &amp;HFFFF0000) \/ &amp;H10000<br \/>\n            &#039;\u521b\u5efa\u5e76\u62ff\u8d77\u753b\u7b14<br \/>\n            Ud.Temp(0) &#061; CreatePen(PS_SOLID, 1, RGB(0, 0, 0))<br \/>\n            Ud.Temp(1) &#061; SelectObject(Ud.DialogHdc, Ud.Temp(0))<br \/>\n            &#039;\u521b\u5efa\u5e76\u62ff\u8d77\u7a7a\u753b\u5237<br \/>\n            Ud.Temp(2) &#061; GetStockObject(NULL_BRUSH)<br \/>\n            Ud.Temp(3) &#061; SelectObject(Ud.DialogHdc, Ud.Temp(2))<br \/>\n            &#039;\u7ed8\u5236\u5706&#xff08;\u6709\u8fb9\u6846\u3001\u65e0\u80cc\u666f&#xff09;<br \/>\n            Ellipse Ud.DialogHdc, Ud.DiglogClick.x &#8211; 10, Ud.DiglogClick.y &#8211; 10, Ud.DiglogClick.x &#043; 10, Ud.DiglogClick.y &#043; 10<br \/>\n            &#039;\u9009\u4e2d\u4e4b\u524d\u7684\u753b\u7b14\u548c\u753b\u5237<br \/>\n            SelectObject Ud.DialogHdc, Ud.Temp(1)<br \/>\n            SelectObject Ud.DialogHdc, Ud.Temp(3)<br \/>\n            &#039;\u9500\u6bc1\u4e34\u65f6\u753b\u7b14<br \/>\n            DeleteObject Ud.Temp(0)<br \/>\n        Case WM_LBUTTONUP<br \/>\n            &#039;\u91cd\u7ed8\u64e6\u9664\u4e4b\u524d\u7684\u9192\u76ee\u6807\u8bb0<br \/>\n            Dim lprc As RECT<br \/>\n            lprc.Left &#061; Ud.DiglogClick.x &#8211; 10<br \/>\n            lprc.Top &#061; Ud.DiglogClick.y &#8211; 10<br \/>\n            lprc.Right &#061; Ud.DiglogClick.x &#043; 10<br \/>\n            lprc.Bottom &#061; Ud.DiglogClick.y &#043; 10<br \/>\n            InvalidateRect Ud.Dialog, lprc, True<br \/>\n    End Select<br \/>\n    &#039;\u8c03\u7528\u9ed8\u8ba4\u901a\u77e5\u5904\u7406<br \/>\n    WindowProcUdDialog &#061; CallWindowProcA(Ud.DialogProc, hwnd, msg, wParam, lParam)<br \/>\nEnd Function <\/p>\n<h2 id=\"5.%20%E7%9B%B8%E5%85%B3%E5%90%88%E9%9B%86\" style=\"background-color:transparent\">\u00a05. \u76f8\u5173\u5408\u96c6<\/h2>\n<p><span>\u5173\u4e8e#32770\u5bf9\u8bdd\u6846\u7a97\u53e3\u7684\u4e13\u9879\u5f00\u53d1\u8ba1\u5212<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u6548\u679c\u6f14\u793a<br \/>\n\u665a\u95f4\u6b63\u5728\u505a\u4e00\u4e2a\u5b8c\u6574\u7684CSDN\u5408\u96c6&#xff0c;\u9488\u5bf9\u5bf9\u8bdd\u6846#32770&#xff0c;\u4e13\u95e8\u6559\u5b66\u5982\u4f55\u5b8c\u5584\u5404\u9879\u529f\u80fd\u3001\u5982\u4f55\u4f18\u5316\u4f7f\u7528\u4f53\u9a8c\u7b49\u5185\u5bb9&#xff0c;\u8ba9\u5927\u5bb6\u5728\u5199\u81ea\u5df1\u7684\u7a97\u53e3\u9879\u76ee\u65f6\u80fd\u591f\u6709\u6240\u501f\u9274\u3002 2. \u529f\u80fd\u4ecb\u7ecd \u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0&#xff0c;\u677e\u5f00\u65f6\u6807\u8bb0\u6d88\u5931\u3002 3. \u5b9e\u73b0\u8fc7\u7a0b \u8fd9\u4e2a\u529f\u80fd\u7684\u672c\u8d28\u662f\u5728\u5bf9\u8bdd\u6846\u7a97\u53e3\u4e0a\u753b\u5706\u548c\u64e6\u9664&#xff0c;\u64cd\u4f5c\u65b9\u6cd5\u662f&#xff1a;\u5728\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u753b\u4e00\u4e2a\u5706&#xff0c;\u53c8\u5728\u5de6\u952e\u677e\u5f00\u65f6\u64e6\u9664\u5706\u3002\u4ec5\u4ec5\u77e5\u9053\u5728\u4ec0\u4e48\u65f6\u95f4\u5e72\u4ec0\u4e48\u4e8b\u8fd8\u4e0d\u591f&amp;<\/p>\n","protected":false},"author":2,"featured_media":90580,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10314,10187,10315,6817,128],"topic":[],"class_list":["post-90581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-10314","tag-codingplan","tag-subclass","tag-vba","tag-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/90581.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1. \u6548\u679c\u6f14\u793a \u665a\u95f4\u6b63\u5728\u505a\u4e00\u4e2a\u5b8c\u6574\u7684CSDN\u5408\u96c6&#xff0c;\u9488\u5bf9\u5bf9\u8bdd\u6846#32770&#xff0c;\u4e13\u95e8\u6559\u5b66\u5982\u4f55\u5b8c\u5584\u5404\u9879\u529f\u80fd\u3001\u5982\u4f55\u4f18\u5316\u4f7f\u7528\u4f53\u9a8c\u7b49\u5185\u5bb9&#xff0c;\u8ba9\u5927\u5bb6\u5728\u5199\u81ea\u5df1\u7684\u7a97\u53e3\u9879\u76ee\u65f6\u80fd\u591f\u6709\u6240\u501f\u9274\u3002 2. \u529f\u80fd\u4ecb\u7ecd \u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0&#xff0c;\u677e\u5f00\u65f6\u6807\u8bb0\u6d88\u5931\u3002 3. \u5b9e\u73b0\u8fc7\u7a0b \u8fd9\u4e2a\u529f\u80fd\u7684\u672c\u8d28\u662f\u5728\u5bf9\u8bdd\u6846\u7a97\u53e3\u4e0a\u753b\u5706\u548c\u64e6\u9664&#xff0c;\u64cd\u4f5c\u65b9\u6cd5\u662f&#xff1a;\u5728\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u753b\u4e00\u4e2a\u5706&#xff0c;\u53c8\u5728\u5de6\u952e\u677e\u5f00\u65f6\u64e6\u9664\u5706\u3002\u4ec5\u4ec5\u77e5\u9053\u5728\u4ec0\u4e48\u65f6\u95f4\u5e72\u4ec0\u4e48\u4e8b\u8fd8\u4e0d\u591f&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/90581.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-05T07:00:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260805070037-6a72df95f0459.gif\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/90581.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/90581.html\",\"name\":\"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-05T07:00:39+00:00\",\"dateModified\":\"2026-08-05T07:00:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/90581.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/90581.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/90581.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/90581.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1. \u6548\u679c\u6f14\u793a \u665a\u95f4\u6b63\u5728\u505a\u4e00\u4e2a\u5b8c\u6574\u7684CSDN\u5408\u96c6&#xff0c;\u9488\u5bf9\u5bf9\u8bdd\u6846#32770&#xff0c;\u4e13\u95e8\u6559\u5b66\u5982\u4f55\u5b8c\u5584\u5404\u9879\u529f\u80fd\u3001\u5982\u4f55\u4f18\u5316\u4f7f\u7528\u4f53\u9a8c\u7b49\u5185\u5bb9&#xff0c;\u8ba9\u5927\u5bb6\u5728\u5199\u81ea\u5df1\u7684\u7a97\u53e3\u9879\u76ee\u65f6\u80fd\u591f\u6709\u6240\u501f\u9274\u3002 2. \u529f\u80fd\u4ecb\u7ecd \u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0&#xff0c;\u677e\u5f00\u65f6\u6807\u8bb0\u6d88\u5931\u3002 3. \u5b9e\u73b0\u8fc7\u7a0b \u8fd9\u4e2a\u529f\u80fd\u7684\u672c\u8d28\u662f\u5728\u5bf9\u8bdd\u6846\u7a97\u53e3\u4e0a\u753b\u5706\u548c\u64e6\u9664&#xff0c;\u64cd\u4f5c\u65b9\u6cd5\u662f&#xff1a;\u5728\u9f20\u6807\u5de6\u952e\u6309\u4e0b\u65f6\u753b\u4e00\u4e2a\u5706&#xff0c;\u53c8\u5728\u5de6\u952e\u677e\u5f00\u65f6\u64e6\u9664\u5706\u3002\u4ec5\u4ec5\u77e5\u9053\u5728\u4ec0\u4e48\u65f6\u95f4\u5e72\u4ec0\u4e48\u4e8b\u8fd8\u4e0d\u591f&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/90581.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-05T07:00:39+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260805070037-6a72df95f0459.gif"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/90581.html","url":"https:\/\/www.wsisp.com\/helps\/90581.html","name":"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-05T07:00:39+00:00","dateModified":"2026-08-05T07:00:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/90581.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/90581.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/90581.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8ba9\u5bf9\u8bdd\u6846\u7a97\u53e3\u5728\u9f20\u6807\u5355\u51fb\u65f6\u51fa\u73b0\u9192\u76ee\u6807\u8bb0"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/90581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=90581"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/90581\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/90580"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=90581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=90581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=90581"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=90581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}