📄 group__mgext__ctrl__monthcal__msgs.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: Messages of monthcalendar control</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><h1>Messages of monthcalendar control<br><small>[<a class="el" href="group__mgext__ctrl__monthcal.htm">MonthCalendar control</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga0">MCM_GETCURDAY</a> 0xF300<dl class="el"><dd class="mdescRight">Gets the day number of the current selected date. <a href="#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga1">MCM_GETCURMONTH</a> 0xF301<dl class="el"><dd class="mdescRight">Gets the month number of the current selected date. <a href="#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga2">MCM_GETCURYEAR</a> 0xF302<dl class="el"><dd class="mdescRight">Gets the year number of the current selected date. <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga3">MCM_GETCURWEEKDAY</a> 0xF303<dl class="el"><dd class="mdescRight">Gets the weekday number of the current selected date. <a href="#ga3"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga4">MCM_GETCURMONLEN</a> 0xF304<dl class="el"><dd class="mdescRight">Gets the month length of the current selected date. <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga5">MCM_SETCURDAY</a> 0xF305<dl class="el"><dd class="mdescRight">Changes the day of the currently selected date. <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga6">MCM_SETCURMONTH</a> 0xF306<dl class="el"><dd class="mdescRight">Changes the month of the currently selected date. <a href="#ga6"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga7">MCM_SETCURYEAR</a> 0xF307<dl class="el"><dd class="mdescRight">Changes the year of the currently selected date. <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga8">MCM_SETTODAY</a> 0xF308<dl class="el"><dd class="mdescRight">Sets the currently selected date as the date of "today". <a href="#ga8"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga9">MCM_GETFIRSTWEEKDAY</a> 0xF309<dl class="el"><dd class="mdescRight">Gets the weekday of the first day of this month. <a href="#ga9"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga10">MCM_GETCURDATE</a> 0xF310<dl class="el"><dd class="mdescRight">Gets the currently selected date. <a href="#ga10"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga11">MCM_GETTODAY</a> 0xF311<dl class="el"><dd class="mdescRight">Gets the date of "today". <a href="#ga11"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga12">MCM_GETMINREQRECTW</a> 0xF312<dl class="el"><dd class="mdescRight">Gets the minimum width required to display a full month in a month calendar control. <a href="#ga12"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga13">MCM_GETMINREQRECTH</a> 0xF313<dl class="el"><dd class="mdescRight">Gets the minimum height required to display a full month in a month calendar control. <a href="#ga13"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga14">MCM_SETCURDATE</a> 0xF314<dl class="el"><dd class="mdescRight">Sets the currently selected date. <a href="#ga14"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga15">MCM_SETCOLOR</a> 0xF315<dl class="el"><dd class="mdescRight">Sets the color of the monthcalendar control. <a href="#ga15"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga16">MCM_GETCOLOR</a> 0xF316<dl class="el"><dd class="mdescRight">Gets the color of the monthcalendar control. <a href="#ga16"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga17">MCM_SETDAYCOLOR</a> 0xF317<dl class="el"><dd class="mdescRight">Sets the color of a specified date . <a href="#ga17"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__monthcal__msgs.htm#ga18">MCM_CLEARDAYCOLOR</a> 0xF318<dl class="el"><dd class="mdescRight">Clears the color of a specified month view . <a href="#ga18"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga18" doxytag="monthcal.h::MCM_CLEARDAYCOLOR"></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 MCM_CLEARDAYCOLOR 0xF318 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Clears the color of a specified month view . <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga18">MCM_CLEARDAYCOLOR</a> wParam = 0; lParam = 0;</pre></div> <p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00448">448</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga16" doxytag="monthcal.h::MCM_GETCOLOR"></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 MCM_GETCOLOR 0xF316 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the color of the monthcalendar control. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga16">MCM_GETCOLOR</a> <a class="code" href="struct__MCCOLORINFO.htm">PMCCOLORINFO</a> color; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)color;</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>color</em> </td><td>Pointer to the MCCOLORINFO structure retreiving the color info. </td></tr> </table></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00417">417</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga10" doxytag="monthcal.h::MCM_GETCURDATE"></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 MCM_GETCURDATE 0xF310 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the currently selected date. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga10">MCM_GETCURDATE</a> <a class="code" href="struct__SYSTEMTIME.htm">PSYSTEMTIME</a> pcurdate; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)pcurdate;</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>pcurdate</em> </td><td>Pointer to the SYSTEMTIME structure to retreive the date. </td></tr> </table></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00318">318</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga0" doxytag="monthcal.h::MCM_GETCURDAY"></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 MCM_GETCURDAY 0xF300 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the day number of the current selected date. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga0">MCM_GETCURDAY</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The day number of the current selected date. </dd></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00166">166</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga4" doxytag="monthcal.h::MCM_GETCURMONLEN"></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 MCM_GETCURMONLEN 0xF304 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the month length of the current selected date. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga4">MCM_GETCURMONLEN</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The month length of the current selected date. </dd></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00226">226</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="monthcal.h::MCM_GETCURMONTH"></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 MCM_GETCURMONTH 0xF301 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the month number of the current selected date. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga1">MCM_GETCURMONTH</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The month number of the current selected date. </dd></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00181">181</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga3" doxytag="monthcal.h::MCM_GETCURWEEKDAY"></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 MCM_GETCURWEEKDAY 0xF303 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the weekday number of the current selected date. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga3">MCM_GETCURWEEKDAY</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The weekday number of the current selected date. </dd></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00211">211</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga2" doxytag="monthcal.h::MCM_GETCURYEAR"></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 MCM_GETCURYEAR 0xF302 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the year number of the current selected date. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga2">MCM_GETCURYEAR</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The year number of the current selected date. </dd></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00196">196</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="monthcal.h::MCM_GETFIRSTWEEKDAY"></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 MCM_GETFIRSTWEEKDAY 0xF309 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the weekday of the first day of this month. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga9">MCM_GETFIRSTWEEKDAY</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The weekday of the first day. </dd></dl><p>Definition at line <a class="el" href="monthcal_8h-source.htm#l00302">302</a> of file <a class="el" href="monthcal_8h-source.htm">monthcal.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="monthcal.h::MCM_GETMINREQRECTH"></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 MCM_GETMINREQRECTH 0xF313 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -