📄 group__mouse__msgs.htm
字号:
</table><a class="anchor" name="ga11" doxytag="window.h::MSG_NCLBUTTONDBLCLK"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MSG_NCLBUTTONDBLCLK 0x000A </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Left mouse button double clicked in the non-client area. <p>This message is posted to the window when the user double clicks the left button of the mouse in the non-client area of the window.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mouse__msgs.htm#ga11">MSG_NCLBUTTONDBLCLK</a> <span class="keywordtype">int</span> hit_code = (int)wParam; <span class="keywordtype">int</span> x_pos = <a class="code" href="group__win32__types.htm#ga24">LOSWORD</a> (lParam); <span class="keywordtype">int</span> y_pos = <a class="code" href="group__win32__types.htm#ga25">HISWORD</a> (lParam);</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hit_code</em> </td><td>The hit test code which tells the area of the mouse. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_pos,y_pos</em> </td><td>The position of the mouse in window coordinates.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mouse__msgs.htm#ga15">MSG_NCRBUTTONDBLCLK</a>, <a class="el" href="group__post__event__msgs.htm#ga36">MSG_NCHITTEST</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l00271">271</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="window.h::MSG_NCLBUTTONDOWN"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MSG_NCLBUTTONDOWN 0x0008 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Left mouse button down message in the non-client area. <p>This message is posted to the window when the user presses down the left button of the mouse in the non-client area of the window.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mouse__msgs.htm#ga9">MSG_NCLBUTTONDOWN</a> <span class="keywordtype">int</span> hit_code = (int)wParam; <span class="keywordtype">int</span> x_pos = <a class="code" href="group__win32__types.htm#ga24">LOSWORD</a> (lParam); <span class="keywordtype">int</span> y_pos = <a class="code" href="group__win32__types.htm#ga25">HISWORD</a> (lParam);</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hit_code</em> </td><td>The hit test code which tells the area of the mouse. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_pos,y_pos</em> </td><td>The position of the mouse in window coordinates.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mouse__msgs.htm#ga10">MSG_NCLBUTTONUP</a>, <a class="el" href="group__post__event__msgs.htm#ga36">MSG_NCHITTEST</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l00229">229</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga10" doxytag="window.h::MSG_NCLBUTTONUP"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MSG_NCLBUTTONUP 0x0009 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Left mouse button up message in the non-client area. <p>This message is posted to the window when the user releases up the left button of the mouse in the non-client area of the window.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mouse__msgs.htm#ga10">MSG_NCLBUTTONUP</a> <span class="keywordtype">int</span> hit_code = (int)wParam; <span class="keywordtype">int</span> x_pos = <a class="code" href="group__win32__types.htm#ga24">LOSWORD</a> (lParam); <span class="keywordtype">int</span> y_pos = <a class="code" href="group__win32__types.htm#ga25">HISWORD</a> (lParam);</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hit_code</em> </td><td>The hit test code which tells the area of the mouse. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_pos,y_pos</em> </td><td>The position of the mouse in window coordinates.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mouse__msgs.htm#ga9">MSG_NCLBUTTONDOWN</a>, <a class="el" href="group__post__event__msgs.htm#ga36">MSG_NCHITTEST</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l00250">250</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="window.h::MSG_NCMOUSEMOVE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MSG_NCMOUSEMOVE 0x000B </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Mouse moves in the non-client area. <p>This message is posted to the window when the user moves the mouse in the non-client area of the window.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mouse__msgs.htm#ga12">MSG_NCMOUSEMOVE</a> <span class="keywordtype">int</span> hit_code = (int)wParam; <span class="keywordtype">int</span> x_pos = <a class="code" href="group__win32__types.htm#ga24">LOSWORD</a> (lParam); <span class="keywordtype">int</span> y_pos = <a class="code" href="group__win32__types.htm#ga25">HISWORD</a> (lParam);</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hit_code</em> </td><td>The hit test code which tells the area of the mouse. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_pos,y_pos</em> </td><td>The position of the mouse in window coordinates.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__post__event__msgs.htm#ga36">MSG_NCHITTEST</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l00292">292</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga15" doxytag="window.h::MSG_NCRBUTTONDBLCLK"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MSG_NCRBUTTONDBLCLK 0x000E </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Right mouse button double clicked in the non-client area. <p>This message is posted to the window when the user double clicks the right button of the mouse in the non-client area of the window.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mouse__msgs.htm#ga15">MSG_NCRBUTTONDBLCLK</a> <span class="keywordtype">int</span> hit_code = (int)wParam; <span class="keywordtype">int</span> x_pos = <a class="code" href="group__win32__types.htm#ga24">LOSWORD</a> (lParam); <span class="keywordtype">int</span> y_pos = <a class="code" href="group__win32__types.htm#ga25">HISWORD</a> (lParam);</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hit_code</em> </td><td>The hit test code which tells the area of the mouse. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_pos,y_pos</em> </td><td>The position of the mouse in window coordinates.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mouse__msgs.htm#ga11">MSG_NCLBUTTONDBLCLK</a>, <a class="el" href="group__post__event__msgs.htm#ga36">MSG_NCHITTEST</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l00355">355</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="window.h::MSG_NCRBUTTONDOWN"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MSG_NCRBUTTONDOWN 0x000C </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Right mouse button down message in the non-client area.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -