📄 group__ctrl__trackbar__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 trackbar 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 trackbar control<br><small>[<a class="el" href="group__ctrl__trackbar.htm">TrackBar control</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga0">TBM_SETRANGE</a> 0xF090<dl class="el"><dd class="mdescRight">Sets the range of minimum and maximum logical positions for the slider in a trackbar. <a href="#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga1">TBM_GETMIN</a> 0xF091<dl class="el"><dd class="mdescRight">Gets the minimum logical position for the slider. <a href="#ga1"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga2">TBM_SETPOS</a> 0xF092<dl class="el"><dd class="mdescRight">Sets the current logical position of the slider. <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga3">TBM_GETPOS</a> 0xF093<dl class="el"><dd class="mdescRight">Gets the current logical position of the slider. <a href="#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga4">TBM_SETLINESIZE</a> 0xF094<dl class="el"><dd class="mdescRight">Sets the number of logical positions moved in response to keyboard input from the arrow keys. <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga5">TBM_GETLINESIZE</a> 0xF095<dl class="el"><dd class="mdescRight">Gets the number of logical positions moved in response to keyboard input from the arrow keys. <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga6">TBM_SETPAGESIZE</a> 0xF096<dl class="el"><dd class="mdescRight">Sets the number of logical positions moved in response to keyboard input from page keys.. <a href="#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga7">TBM_GETPAGESIZE</a> 0xF097<dl class="el"><dd class="mdescRight">Gets the number of logical positions moved in response to keyboard input from page keys.. <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga8">TBM_SETTIP</a> 0xF098<dl class="el"><dd class="mdescRight">Sets the start and end tip strings. <a href="#ga8"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga9">TBM_GETTIP</a> 0xF09A<dl class="el"><dd class="mdescRight">Gets the start and end tip strings. <a href="#ga9"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga10">TBM_SETTICKFREQ</a> 0xF09B<dl class="el"><dd class="mdescRight">Sets the interval frequency for tick marks in a trackbar. <a href="#ga10"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga11">TBM_GETTICKFREQ</a> 0xF09C<dl class="el"><dd class="mdescRight">Gets the interval frequency for tick marks in a trackbar. <a href="#ga11"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga12">TBM_SETMIN</a> 0xF09D<dl class="el"><dd class="mdescRight">Sets the minimum logical position for the slider in a trackbar. <a href="#ga12"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga13">TBM_SETMAX</a> 0xF09E<dl class="el"><dd class="mdescRight">Sets the maximum logical position for the slider in a trackbar. <a href="#ga13"></a><br></dl><li>#define <a class="el" href="group__ctrl__trackbar__msgs.htm#ga14">TBM_GETMAX</a> 0xF09F<dl class="el"><dd class="mdescRight">Gets the maximum logical position for the slider in a trackbar. <a href="#ga14"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga5" doxytag="trackbar.h::TBM_GETLINESIZE"></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 TBM_GETLINESIZE 0xF095 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the number of logical positions moved in response to keyboard input from the arrow keys. <p>Gets the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys. The logical positions are the integer increments in the trackbar's range of minimum to maximum slider positions.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga5">TBM_GETLINESIZE</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The current line size. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00214">214</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga14" doxytag="trackbar.h::TBM_GETMAX"></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 TBM_GETMAX 0xF09F </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the maximum logical position for the slider in a trackbar. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga14">TBM_GETMAX</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The current maximum logical position for the slider in a trackbar. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00385">385</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="trackbar.h::TBM_GETMIN"></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 TBM_GETMIN 0xF091 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the minimum logical position for the slider. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga1">TBM_GETMIN</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The minimum logical position for the slider. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00138">138</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga7" doxytag="trackbar.h::TBM_GETPAGESIZE"></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 TBM_GETPAGESIZE 0xF097 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the number of logical positions moved in response to keyboard input from page keys.. <p>Gets the number of logical positions the trackbar's slider moves in response to keyboard input form page keys, such as PAGE DOWN or PAGE UP keys. The logical positions are the integer increments in the trackbar's range of minimum to maximum slider positions.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga7">TBM_GETPAGESIZE</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The current page size. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00259">259</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga3" doxytag="trackbar.h::TBM_GETPOS"></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 TBM_GETPOS 0xF093 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the current logical position of the slider. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga3">TBM_GETPOS</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The current logical position of the slider. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00171">171</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="trackbar.h::TBM_GETTICKFREQ"></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 TBM_GETTICKFREQ 0xF09C </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the interval frequency for tick marks in a trackbar. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga11">TBM_GETTICKFREQ</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The current interval frequency for tick marks in a trackbar. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00334">334</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="trackbar.h::TBM_GETTIP"></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 TBM_GETTIP 0xF09A </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the start and end tip strings. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga9">TBM_GETTIP</a> <span class="keywordtype">char</span> starttip [<a class="code" href="group__ctrl__trackbar.htm#ga1">TBLEN_TIP</a> + 1]; <span class="keywordtype">char</span> endtip [<a class="code" href="group__ctrl__trackbar.htm#ga1">TBLEN_TIP</a> + 1]; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)starttip; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)endtip;</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>starttip</em> </td><td>Buffer receives the start tip string. It should be length enough to save (TBLEN_TIP + 1) characters. </td></tr> <tr><td valign="top"></td><td valign="top"><em>endtip</em> </td><td>Buffer receives the end tip string. It should be length enough to save (TBLEN_TIP + 1) characters.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Always be zero. </dd></dl><p>Definition at line <a class="el" href="trackbar_8h-source.htm#l00301">301</a> of file <a class="el" href="trackbar_8h-source.htm">trackbar.h</a>. </td> </tr></table><a class="anchor" name="ga4" doxytag="trackbar.h::TBM_SETLINESIZE"></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 TBM_SETLINESIZE 0xF094 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Sets the number of logical positions moved in response to keyboard input from the arrow keys. <p>Sets the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys. The logical positions are the integer increments in the trackbar's range of minimum to maximum slider positions.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__trackbar__msgs.htm#ga4">TBM_SETLINESIZE</a> <span class="keywordtype">int</span> linesize; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)linesize;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -