⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 monthcal_8h-source.htm

📁 MINIGUI1.6开发API
💻 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: monthcal.h Source File</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&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><div class="nav"><a class="el" href="dir_000000.htm">ext</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.htm">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.htm">ext</a></div><h1>monthcal.h</h1><a href="monthcal_8h.htm">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 00021 <span class="comment">/*</span>00022 <span class="comment"> * $Id: monthcal.h 7370 2007-08-16 05:29:44Z xgwang $</span>00023 <span class="comment"> *</span>00024 <span class="comment"> *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, </span>00025 <span class="comment"> *                     pSOS, ThreadX, NuCleus, OSE, and Win32.</span>00026 <span class="comment"> *</span>00027 <span class="comment"> *             Copyright (C) 2002-2007 Feynman Software.</span>00028 <span class="comment"> *             Copyright (C) 1998-2002 Wei Yongming.</span>00029 <span class="comment"> */</span>00030 00031 <span class="preprocessor">#ifndef EXT_MONTHCAL_H</span>00032 <span class="preprocessor"></span><span class="preprocessor">#define EXT_MONTHCAL_H</span>00033 <span class="preprocessor"></span>00034 <span class="preprocessor">#ifdef  __cplusplus</span>00035 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {00036 <span class="preprocessor">#endif</span>00037 <span class="preprocessor"></span><a name="l00057"></a><a class="code" href="group__mgext__ctrl__monthcal.htm#ga4">00057</a> <span class="preprocessor">#define CTRL_MONTHCALENDAR     ("MonthCalendar")</span>00058 <span class="preprocessor"></span><a name="l00060"></a><a class="code" href="struct__SYSTEMTIME.htm">00060</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__SYSTEMTIME.htm">_SYSTEMTIME</a>00061 {<a name="l00063"></a><a class="code" href="struct__SYSTEMTIME.htm#o0">00063</a>     <span class="keywordtype">int</span> <a class="code" href="struct__SYSTEMTIME.htm#o0">year</a>;<a name="l00065"></a><a class="code" href="struct__SYSTEMTIME.htm#o1">00065</a>     <span class="keywordtype">int</span> <a class="code" href="struct__SYSTEMTIME.htm#o1">month</a>;<a name="l00067"></a><a class="code" href="struct__SYSTEMTIME.htm#o2">00067</a>     <span class="keywordtype">int</span> <a class="code" href="struct__SYSTEMTIME.htm#o2">day</a>;<a name="l00069"></a><a class="code" href="struct__SYSTEMTIME.htm#o3">00069</a>     <span class="keywordtype">int</span> <a class="code" href="struct__SYSTEMTIME.htm#o3">weekday</a>;00070 } <a class="code" href="struct__SYSTEMTIME.htm">SYSTEMTIME</a>;<a name="l00075"></a><a class="code" href="group__mgext__ctrl__monthcal.htm#ga1">00075</a> <span class="keyword">typedef</span> <a class="code" href="struct__SYSTEMTIME.htm">SYSTEMTIME</a> *<a class="code" href="struct__SYSTEMTIME.htm">PSYSTEMTIME</a>;00076 <a name="l00078"></a><a class="code" href="struct__MCCOLORINFO.htm">00078</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__MCCOLORINFO.htm">_MCCOLORINFO</a>00079 {<a name="l00081"></a><a class="code" href="struct__MCCOLORINFO.htm#o0">00081</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o0">clr_titlebk</a>;<a name="l00083"></a><a class="code" href="struct__MCCOLORINFO.htm#o1">00083</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o1">clr_titletext</a>;<a name="l00085"></a><a class="code" href="struct__MCCOLORINFO.htm#o2">00085</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o2">clr_arrow</a>;<a name="l00087"></a><a class="code" href="struct__MCCOLORINFO.htm#o3">00087</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o3">clr_arrowHibk</a>;00088 <a name="l00090"></a><a class="code" href="struct__MCCOLORINFO.htm#o4">00090</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o4">clr_weekcaptbk</a>;<a name="l00092"></a><a class="code" href="struct__MCCOLORINFO.htm#o5">00092</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o5">clr_weekcapttext</a>;00093 <a name="l00095"></a><a class="code" href="struct__MCCOLORINFO.htm#o6">00095</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o6">clr_daybk</a>;<a name="l00097"></a><a class="code" href="struct__MCCOLORINFO.htm#o7">00097</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o7">clr_dayHibk</a>;<a name="l00099"></a><a class="code" href="struct__MCCOLORINFO.htm#o8">00099</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o8">clr_daytext</a>;<a name="l00101"></a><a class="code" href="struct__MCCOLORINFO.htm#o9">00101</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o9">clr_trailingtext</a>;<a name="l00103"></a><a class="code" href="struct__MCCOLORINFO.htm#o10">00103</a>     <span class="keywordtype">int</span> <a class="code" href="struct__MCCOLORINFO.htm#o10">clr_dayHitext</a>;00104 } <a class="code" href="struct__MCCOLORINFO.htm">MCCOLORINFO</a>;00105 <a name="l00110"></a><a class="code" href="group__mgext__ctrl__monthcal.htm#ga3">00110</a> <span class="keyword">typedef</span> <a class="code" href="struct__MCCOLORINFO.htm">MCCOLORINFO</a> *<a class="code" href="struct__MCCOLORINFO.htm">PMCCOLORINFO</a>;00111 <a name="l00120"></a><a class="code" href="group__mgext__ctrl__monthcal__styles.htm#ga0">00120</a> <span class="preprocessor">#define MCS_CHN                 0x0001L</span>00121 <span class="preprocessor"></span><a name="l00126"></a><a class="code" href="group__mgext__ctrl__monthcal__styles.htm#ga1">00126</a> <span class="preprocessor">#define MCS_ENG_L               0x0002L</span>00127 <span class="preprocessor"></span><a name="l00132"></a><a class="code" href="group__mgext__ctrl__monthcal__styles.htm#ga2">00132</a> <span class="preprocessor">#define MCS_ENG_S               0x0003L</span>00133 <span class="preprocessor"></span><a name="l00138"></a><a class="code" href="group__mgext__ctrl__monthcal__styles.htm#ga3">00138</a> <span class="preprocessor">#define MCS_NOTIFY              0x0004L</span>00139 <span class="preprocessor"></span><a name="l00144"></a><a class="code" href="group__mgext__ctrl__monthcal__styles.htm#ga4">00144</a> <span class="preprocessor">#define MCS_NOYEARMON           0x0008L</span>00145 <span class="preprocessor"></span><a name="l00166"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga0">00166</a> <span class="preprocessor">#define MCM_GETCURDAY           0xF300</span>00167 <span class="preprocessor"></span><a name="l00181"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga1">00181</a> <span class="preprocessor">#define MCM_GETCURMONTH         0xF301</span>00182 <span class="preprocessor"></span><a name="l00196"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga2">00196</a> <span class="preprocessor">#define MCM_GETCURYEAR          0xF302</span>00197 <span class="preprocessor"></span><a name="l00211"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga3">00211</a> <span class="preprocessor">#define MCM_GETCURWEEKDAY       0xF303</span>00212 <span class="preprocessor"></span><a name="l00226"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga4">00226</a> <span class="preprocessor">#define MCM_GETCURMONLEN        0xF304</span>00227 <span class="preprocessor"></span><a name="l00242"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga5">00242</a> <span class="preprocessor">#define MCM_SETCURDAY           0xF305</span>00243 <span class="preprocessor"></span><a name="l00258"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga6">00258</a> <span class="preprocessor">#define MCM_SETCURMONTH         0xF306</span>00259 <span class="preprocessor"></span><a name="l00274"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga7">00274</a> <span class="preprocessor">#define MCM_SETCURYEAR          0xF307</span>00275 <span class="preprocessor"></span><a name="l00287"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga8">00287</a> <span class="preprocessor">#define MCM_SETTODAY            0xF308</span>00288 <span class="preprocessor"></span><a name="l00302"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga9">00302</a> <span class="preprocessor">#define MCM_GETFIRSTWEEKDAY     0xF309</span>00303 <span class="preprocessor"></span><a name="l00318"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga10">00318</a> <span class="preprocessor">#define MCM_GETCURDATE          0xF310</span>00319 <span class="preprocessor"></span><a name="l00335"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga11">00335</a> <span class="preprocessor">#define MCM_GETTODAY            0xF311</span>00336 <span class="preprocessor"></span><a name="l00351"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga12">00351</a> <span class="preprocessor">#define MCM_GETMINREQRECTW      0xF312</span>00352 <span class="preprocessor"></span><a name="l00367"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga13">00367</a> <span class="preprocessor">#define MCM_GETMINREQRECTH      0xF313</span>00368 <span class="preprocessor"></span><a name="l00384"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga14">00384</a> <span class="preprocessor">#define MCM_SETCURDATE          0xF314</span>00385 <span class="preprocessor"></span><a name="l00401"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga15">00401</a> <span class="preprocessor">#define MCM_SETCOLOR            0xF315</span>00402 <span class="preprocessor"></span><a name="l00417"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga16">00417</a> <span class="preprocessor">#define MCM_GETCOLOR            0xF316</span>00418 <span class="preprocessor"></span><a name="l00435"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga17">00435</a> <span class="preprocessor">#define MCM_SETDAYCOLOR          0xF317</span>00436 <span class="preprocessor"></span><a name="l00448"></a><a class="code" href="group__mgext__ctrl__monthcal__msgs.htm#ga18">00448</a> <span class="preprocessor">#define MCM_CLEARDAYCOLOR        0xF318</span>00449 <span class="preprocessor"></span>00450 <a name="l00462"></a><a class="code" href="group__mgext__ctrl__monthcal__ncs.htm#ga0">00462</a> <span class="preprocessor">#define MCN_DATECHANGE          1</span>00463 <span class="preprocessor"></span><span class="comment">/*#define MCN_DAYCHANGE           2 */</span>00464 <span class="preprocessor">#define MCN_DATECLK             3</span>00465 <span class="preprocessor"></span>00474 <span class="preprocessor">#ifdef  __cplusplus</span>00475 <span class="preprocessor"></span>}00476 <span class="preprocessor">#endif</span>00477 <span class="preprocessor"></span>00478 <span class="preprocessor">#endif </span><span class="comment">/* EXT_MONTHCAL_H */</span>00479 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:50 2007 for MiniGUI V1.6.10 API Reference by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -