home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ucmen212.zip / HELP / UCMENUS.INF (.txt) < prev    next >
OS/2 Help File  |  1996-05-31  |  117KB  |  3,429 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. This document is the programmer's reference for the User Customizable Menu 
  5. (UCMenu) PM control.  For more information on programming with this control, 
  6. see OS/2 Developer Magazine, Jan/Feb 1995, page 50. 
  7.  
  8. Acknowledgments 
  9. This control was originally conceived at the IBM Yorktown Research laboratory 
  10. by Gennaro Cuomo and Juerg VonKaenel for use in EPM (the OS/2 enhanced system 
  11. editor) with subsequent development contributions from Guillaume Le Stum, John 
  12. Ponzo, Alan Warren and Alex Bertrand.  Mark McMillan of IBM Research Triangle 
  13. Park developed the sample code, frame control utility functions, and initiated 
  14. improvements in the architecture. 
  15.  
  16. Description 
  17. The User Customizable Menu is a very powerful, new user interface component, 
  18. designed to overcome the problems with current menu and toolbar designs. It 
  19. allows the user to define the ordering of menu items and visual representation 
  20. (artwork and text) of menu items. New items, like "macro assignments" can be 
  21. added dynamically. A user customizable menu can be saved in its present state 
  22. for later use. The UCMenu changes itself into a "scrolling" mode when the 
  23. number of selectable items exceeds the allotted window size. 
  24.  
  25. Aside from the good graphical presentation, the most significant features of 
  26. this control are the easy user customization methods it provides (thus its 
  27. name, UCMenus).  Customizing a UCMenu is made easy for the user by extensive 
  28. use of direct manipulation techniques.  For example, to delete an item from the 
  29. toolbar the user can drag the item to the system shredder.  Reordering the 
  30. items is as easy as dragging the item to a new position and dropping it.  Many 
  31. direct manipulation functions are provided by the control. 
  32.  
  33. There are two basic customization methods for which UCMenus provides direct 
  34. support: 
  35.  
  36.    1. Free Form Customization:  Using this method, the user can alter any 
  37.       aspect of any menu item, including the bitmap (graphical presentation), 
  38.       the application function associated with the item, etc.  An OS/2 notebook 
  39.       control provides easy customization of all aspects of the menu items. 
  40.       This is the default method if not overridden by the application. 
  41.  
  42.    2. Buffet Style Customization:  Using this method, the application provides 
  43.       a fixed set ("buffet") of supported menu items.  The user can only select 
  44.       from the buffet and cannot modify the application functions associated 
  45.       with the menu items.  They cannot specify alternate or custom bitmaps for 
  46.       the graphical presentation.  This is the easiest form of customization 
  47.       method for novice users or for applications with a fixed set of toolbar 
  48.       items. 
  49.  
  50.  All customization is encapsulated in the UCMenu control itself.  The control 
  51.  and the application cooperate via messages to provide application specific 
  52.  information during customization.  Using the built-in customization methods 
  53.  the user can: 
  54.  
  55.      Modify styles related to visual effects. 
  56.  
  57.      Add and delete items and submenu items. 
  58.  
  59.      Replace bitmaps with .BMP files or application supplied bitmaps. 
  60.  
  61.      Edit the text under the bitmap. 
  62.  
  63.      Associate application functions with menu items (the application 
  64.       supplying the list of valid functions). 
  65.  
  66.      Move/copy menu items within a menu or between menus. 
  67.  
  68.      Restore the entire menu to an application-defined default state. 
  69.  
  70.  The application can restrict what customization functions are allowed through 
  71.  the use of style flags. 
  72.  
  73.  
  74. ΓòÉΓòÉΓòÉ 2. Programming Concepts ΓòÉΓòÉΓòÉ
  75.  
  76. There are several key concepts which need to be understood to make effective 
  77. use of UCMenu controls in an application program.  As its name implies, the 
  78. basic paradigm of a UCMenu control is that of a normal PM text menu; the 
  79. control contains selectable items, submenus, separators, item attributes, etc. 
  80. (The current implementation is limited to a single level of submenus.)  The 
  81. developers view of this control is also similar to that of a PM menu control. 
  82. This similarity is by design and allows anyone familiar with PM menus to grasp 
  83. the terminology, concepts, and messages involved with UCMenu controls.  It is 
  84. important to recognize that there are some key differences, many of which we 
  85. will cover in this article. 
  86.  
  87. The UCMenu control uses many of the same menu-related messages and data 
  88. structures as its PM menu counterpart. For example, a MM_QUERYITEM message can 
  89. be sent to the UCMenu window to obtain a MENUITEM structure which describes a 
  90. particular item in the menu.  The application will receive all the standard PM 
  91. menu notification messages except WM_DRAWITEM and WM_MEASUREITEM which are used 
  92. internally by the UCMenu, and WM_COMMAND which is replaced with a WM_CONTROL 
  93. message. 
  94.  
  95. Because of its added visual and interactive complexity, the standard PM menu 
  96. structures and messages are not sufficient to implement a customizable 
  97. graphical menu bar.  Thus, UCMenus add another layer of messages and data 
  98. structures on top of the PM menu architecture.  It is important to understand 
  99. the new concepts that UCMenus brings to the existing menu architecture and how 
  100. the PM menu architecture has been extended to accommodate them.  The following 
  101. sections describe some of these extensions. 
  102.  
  103.  
  104. ΓòÉΓòÉΓòÉ 2.1. UCMenu Action Strings ΓòÉΓòÉΓòÉ
  105.  
  106. One of the most important new concepts that UCMenus brings to a menu is that of 
  107. actions.  An action is a textual description of the function assigned to a 
  108. particular menu item.  It is an arbitrary string defined by the application and 
  109. seen by the user when customizing a UCMenu. For example, a text editor might 
  110. define action strings like: 
  111.  
  112.   "Copy to Clipboard"
  113.   "Paste from Clipboard"
  114.   "Left Justify"
  115.   "Select Fonts"
  116.   ...etc...
  117. When a user creates a new UCMenu item or modifies an existing item, they will 
  118. select from a list of actions supplied by the application. 
  119.  
  120. For a UCMenu control, the menu item IDs are arbitrary and can change during 
  121. execution of the program.  An application cannot know ahead of time what the 
  122. item IDs are going to be for any particular menu item. When a user adds a new 
  123. menu item to an existing UCMenu toolbar the UCMenu control supplies all the 
  124. user interface necessary for the user to choose a bitmap, text, and an 
  125. application-specific action for the new item.  When the new item is added to 
  126. the menu, the UCMenu control will choose an arbitrary item ID which is unique 
  127. throughout the menu and all submenus.  Likewise, items can be moved and copied 
  128. between UCMenu toolbars.  The resulting (new) menu items are assigned arbitrary 
  129. IDs that do not conflict with any existing items. 
  130.  
  131. Therefore, an application cannot depend on using item IDs to determine what 
  132. function was selected on a UCMenu toobar. Instead, the application must use the 
  133. action string associated with the menu item to determine what function has been 
  134. selected.  A UCMenu control will send a WM_CONTROL message with a notification 
  135. code of UCN_ITEMSELECTED when an item is selected.  The application will not 
  136. receive a WM_COMMAND message from a UCMenu control. 
  137.  
  138. The application must associate the action string of the selected menu item with 
  139. an application function.  The toolkit sample program (SAMP1.C) uses a table 
  140. which maps action strings to fixed ID values. The action of the selected item 
  141. is looked up in the table and then a simple switch can be used to select the 
  142. correct application function. The ID values chosen for the table purposefully 
  143. match the fixed item IDs used in the applications standard PM menu bar (the 
  144. application has both UCMenu toolbars and a standard PM menu bar).  Thus, the 
  145. same switch can be used to process WM_COMMAND messages from the PM menu and 
  146. WM_CONTROL messages from the UCMenus.  This reduces code size and keeps 
  147. application specific function from being duplicated. 
  148.  
  149.  
  150. ΓòÉΓòÉΓòÉ 2.2. Data Structures ΓòÉΓòÉΓòÉ
  151.  
  152. There are two primary data structures related to UCMenu controls. Associated 
  153. with each UCMenu window is a set of data which describes various aspects of the 
  154. overall toolbar appearance and behavior.  This includes information such as 
  155. style flags, menu colors and text font. This is the UCMINFO structure. It is 
  156. filled in by the application and used during creation of a UCMenu control. 
  157.  
  158. Associated with each item of the menu are two linked data structures. The first 
  159. is the standard PM MENUITEM structure.  That structure contains an 'item 
  160. handle' which is generally reserved for application use.  A UCMenu uses the 
  161. item handle to point to a UCMITEM structure which provides UCMenu specific item 
  162. information.  In effect, the MENUITEM structure is extended for UCMenu specific 
  163. data. It should be noted that any of the string pointers in the UCMITEM 
  164. structure can be null. 
  165.  
  166. These data structures are used extensively in the processing of messages to and 
  167. from the UCMenu control. 
  168.  
  169.  
  170. ΓòÉΓòÉΓòÉ 2.3. Checkable Menu Items ΓòÉΓòÉΓòÉ
  171.  
  172. The fact that a UCMenu can be extensively customized by the user has some 
  173. important implications for applications with 'checkable' style menu items. 
  174. Like a PM menu, any item in a UCMenu can be checked simply by setting the 
  175. MIA_CHECKED attribute for that item.  A menu item should be checkable if the 
  176. action associated with it represents the toggling of some application state. A 
  177. checked menu item is indicated in a UCMenu by drawing a thick border around it. 
  178.  
  179. When a UCMenu item is created by the user the MIA_CHECKED attribute is not set. 
  180. Thus, if the action selected by the user for the new item is a toggle function, 
  181. the application should update the current state of the item with the current 
  182. state of the application. 
  183.  
  184. Likewise, when a menu item is modified and assigned a new action, the current 
  185. attributes are not changed.  If the new action is a toggle function, the item 
  186. attribute must be updated to reflect the current application state.  If the 
  187. action is not a toggle function, the MIA_CHECKED attribute should be cleared 
  188. since the previous action may have been checked. 
  189.  
  190. The UCMenu control will send a WM_CONTROL message with a notification code of 
  191. UCN_ADDEDITEM or UCN_ACTION when a new item is added or an action is changed. 
  192. When these messages are received, the application must examine the new action 
  193. and set or clear the MIA_CHECKED attribute. 
  194.  
  195. When the application is notified of a selection on a checkable UCMenu item, the 
  196. application must toggle the check state.  In a standard PM menu it is 
  197. sufficient to toggle the state of just the menu item selected.  Since a UCMenu 
  198. may have the same (toggle) action on different items in the same menu, the 
  199. check state of all items with the toggle action must be updated. This function 
  200. has been incorporated into the UCMenu API set with the function 
  201. UCMenuSetActionAttr.  This API will set the attributes of all items in the 
  202. UCMenu with the specified action string.  If the application has multiple 
  203. UCMenu toolbars, all must be updated since the action may exist in any of them. 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 2.4. Customization Messages ΓòÉΓòÉΓòÉ
  207.  
  208. Easy customization of the toolbar is one of the most useful and powerful 
  209. features of this control.  It gives the user complete flexibility to add and 
  210. delete menu items, rearrange the order, create submenus, and move and copy 
  211. items between toolbars.  Encapsulation of these functions into the UCMenu 
  212. control means that there is very little application code required to support 
  213. customization. 
  214.  
  215. Although most of the customization function is encapsulated in the control 
  216. itself, there are several messages to which the application must respond for 
  217. customization to work properly.  The UCMenu control will send WM_CONTROL 
  218. messages to its owner when it needs certain types of information.  Depending on 
  219. what type of customization the application allows (free-form or 'buffet' 
  220. style), some of these message may not be generated. The WM_CONTROL notification 
  221. codes for customization are as follows: 
  222.  
  223.      UCN_QRYDEFTEMPLATEID:  This is sent when the user selects the Load 
  224.       default context menu item to restore the entire UCMenu to its default 
  225.       configuration.  The application responds by supplying the resource ID of 
  226.       the menu template to be loaded. 
  227.  
  228.      UCN_QRYTEMPLATEMODULE:  This is also sent when the Load default context 
  229.       menu item is selected.  The application must supply the handle of the 
  230.       module in which the UCN_QRYDEFTEMPLATEID resource is to be found. 
  231.  
  232.      UCN_QRYRESBMP:  This message is sent when the user wants to display a 
  233.       list of application-supplied bitmaps from which to choose.  The 
  234.       application must allocate and construct an array of bitmap resource IDs. 
  235.       This message is generated by the free-form customization method. 
  236.  
  237.      UCN_QRYACTIONLIST:  This message is sent when the user has requested a 
  238.       list of actions from which to choose.  The application responds by 
  239.       sending a series of UCMENU_INSERTACTION messages, each with a pointer to 
  240.       an action string and descriptive help text.  After the last action has 
  241.       been inserted, the application must send UCMENU_ACTIONSINSERTED to 
  242.       indicate the list is complete. This message is generated by the free-form 
  243.       customization method. 
  244.  
  245.      UCN_HLP_*: This is a set of messages sent when the UCS_CUSTOMHLP menu 
  246.       style is used and the user requests help on a customization dialog.  By 
  247.       default the UCMenu control will supply the needed help text. 
  248.  
  249.  The handling of all these messages is demonstrated in the SAMP3.C sample 
  250.  program in the toolkit. 
  251.  
  252.  
  253. ΓòÉΓòÉΓòÉ 2.5. Control of Customization ΓòÉΓòÉΓòÉ
  254.  
  255. The highly flexible customization built-in to the UCMenu control may not be 
  256. desirable for all applications or situations.  For example, the ability to move 
  257. items from one menu to another within an application may not make semantic 
  258. sense.  An application with multiple windows performing different functions may 
  259. not want to allow the user to drag items from the toolbar in one window to the 
  260. toolbar in another.  The result might be 'actions' which make no sense in the 
  261. context of the window.  The application may also want to provide its own 
  262. customization methods to replace or supplement those of UCMenus. 
  263.  
  264. By default, all the direct manipulations and all the context menu options are 
  265. allowed.  No buffet dialog is displayed unless explicitly called using the 
  266. UCMenuXXXXBuffetDlg() APIs. Various style flags (UCS_*) can be used by the 
  267. application to control which direct manipulation and context menu functions are 
  268. supported for that instance of the menu.  At the extreme, the application can 
  269. set a style of UCS_STATIC to prevent any customization at all.  This style will 
  270. disable all direct manipulation functions and the context menu.  Other style 
  271. flags allow selective disabling of specific customization functions, such as 
  272. disabling drag/drop between menus (but allowing it within a menu), disabling 
  273. drops to the system shredder, removing the 'Edit item...'  context menu option, 
  274. etc. 
  275.  
  276. An application can also supply its own customization functions via the UCMenu 
  277. context menu.  By sending the control a UCMENU_ADDITEMSTOCM message the 
  278. application can add its own options to the context menu. The UCMenu control 
  279. will send a WM_CONTROL message with a notify code of UCN_CMITEM when such an 
  280. option is selected.  A sample of adding an application customization function 
  281. to the context menu is shown in the SAMP3.C toolkit sample. 
  282.  
  283.  
  284. ΓòÉΓòÉΓòÉ 3. Version Notice ΓòÉΓòÉΓòÉ
  285.  
  286. The following sections describe the recent changes to the UCMenus toolkit. 
  287.  
  288.  
  289. ΓòÉΓòÉΓòÉ 3.1. Version 2.12 ΓòÉΓòÉΓòÉ
  290.  
  291. Version 2.12 is binary-compatible with applications written for Version 2.1 and 
  292. later. Version 2.12 contains the following major changes from Version 2.11: 
  293.  
  294.      Compiled binary files (.OBJ and .DLL) are no longer supplied as part of 
  295.       the toolkit package.  You must build the binary files using your compiler 
  296.       and toolkit installation (see Building Executable Files).  This prevents 
  297.       linking errors when using the toolkit with different levels of compilers 
  298.       and OS/2 toolkits. 
  299.  
  300.      This version contains only some minor fixes from Version 2.11: 
  301.  
  302.         -  Fix obscured 3D button border on scroll button when running on OS/2 
  303.            Merlin. 
  304.  
  305.         -  Change to send owner UCN_DELETED notification after delete of the 
  306.            item is complete. 
  307.  
  308.  
  309. ΓòÉΓòÉΓòÉ 3.2. Version 2.11 ΓòÉΓòÉΓòÉ
  310.  
  311. Version 2.11 is not binary-compatible with applications written for Version 1 
  312. or Version 2.0.  This version is source compatible with Version 2.0. The size 
  313. of some data structures were changed in this version so applications must be 
  314. recompiled. 
  315.  
  316. Version 2.11 contains the following major changes from Version 2.1: 
  317.  
  318.      Two new styles, CMS_MATRIX_VERT and CMS_MATRIX_HORZ allow matrix style 
  319.       menus be scrollable in the vertical or horizontal direction.  SAMP1 of 
  320.       the toolkit uses this style for the tool palette menu. 
  321.  
  322.      The frame is now activated when a button is pressed on a UCMenu control. 
  323.       This prevents UCMenu context menus from appearing in a non-active frame. 
  324.  
  325.      Fixed memory leaks. 
  326.  
  327.      Improved scrolling such that UCMenus does not always return to a scroll 
  328.       position of zero when items are inserted, deleted, or modified. 
  329.  
  330.  Version 2.1 contains the following major changes from Version 2.0: 
  331.  
  332.      Improved UCN_MOUSEMOVE message generation. 
  333.  
  334.      Added support for bubble-help (cartoon-like bubble with extended 
  335.       description text). 
  336.  
  337.      Added following APIs: 
  338.  
  339.         -  UCMenuStrdup 
  340.         -  UCMenuItemDup 
  341.         -  UCMenuItemFree 
  342.  
  343.      Added support for application-supplied context menu. 
  344.  
  345.      Added compile-time UCMUI define statement.  Removing this statement 
  346.       produces a UCMenus control with no user-interface (customization) code. 
  347.  
  348.      Submenus are now dismissed when the application window becomes inactive 
  349.       (application must send new UCMENU_ACTIVECHG messages). 
  350.  
  351.      Changed item sizing algorithms such that item text is never truncated 
  352.       even for UCS_FORCESIZE style menus.  Item width is always set to larger 
  353.       of the bitmap width and the text width. 
  354.  
  355.      Added UCMENU_DISABLEUPDATE message to improve performance during large 
  356.       number of item insert/delete/modify. 
  357.  
  358.      The pszDefaultBitmap field of the UCMINFO structure can now be a resource 
  359.       ID (in string form) or a filename. 
  360.  
  361.      Changed UCMENUS.RCH to UCMLOCAL.H since some build systems require header 
  362.       to have .H extension. 
  363.  
  364.      Fixed bug that caused application to hang if application had its own 
  365.       drag/drop functions in addition to the toolbar. 
  366.  
  367.      Improved handing of bitmap background colors: 
  368.  
  369.         -  New style UCS_CHNGBMPBG_AUTO will use the lower leftmost pixel of 
  370.            the bitmap to determine the background color (the BmpBg field of 
  371.            UCMINFO is ignored).  This allows different bitmaps of the toolbar 
  372.            to have different transparent colors. 
  373.         -  Improved algorithms to not assume 256-color bitmaps (less memory, 
  374.            faster execution). 
  375.         -  Improved algorithms such that background colors are mapped only when 
  376.            the bitmap is first loaded (instead of every time the toolbar is 
  377.            painted). 
  378.         -  All bitmaps are reloaded (and color mapped) when the background 
  379.            color is changed. This prevents valid colors in the bitmap from 
  380.            getting set to the background when several color changes are made in 
  381.            sequence. 
  382.         -  Removed lCurBmpBgColor from UCMITEM structure since it is no longer 
  383.            needed. 
  384.  
  385.      Fixed stray-pixel problems when a partially-obscured button is pressed. 
  386.  
  387.      Many minor bug fixes and code changes to improve performance (in 
  388.       particular, store often-used window handles in UCMDATA to avoid lots of 
  389.       WinQueryWindow() calls). 
  390.  
  391.  
  392. ΓòÉΓòÉΓòÉ 4. Building Executable Files ΓòÉΓòÉΓòÉ
  393.  
  394. There are two ways to build an application using the UCMenus toolbar control: 
  395.  
  396.    1. Static Linking  The UCMenus source code is compiled to an object file 
  397.       (.OBJ) which is then linked with the application code.  In this scenario 
  398.       the UCMenus code becomes part of the application executable.  The 
  399.       application code itself may be an EXE file or a DLL.  Note that you must 
  400.       also bind the UCMenus resources to your application EXE file. 
  401.  
  402.    2. Dynamic Linking  The UCMenus source code is compiled and linked into a 
  403.       standalone DLL which is shipped with the application.  The application 
  404.       can call entry points in the DLL either by explicitly loading the DLL 
  405.       with DosLoadModule() and DosQueryProcAddress(), or the DLL entry points 
  406.       can be named in the IMPORT section of the application module definiton 
  407.       file (.DEF). 
  408.  
  409.  The sample make files supplied in the \SAMPLES subdirectories show how to 
  410.  build an application for static or dynamic linking, and how to bind the 
  411.  UCMenus resource files with the application. 
  412.  
  413.  The advantage of static linking is simplicity; the UCMenu functions are simply 
  414.  called by your application just like any other application functions.  There 
  415.  are no DLLs to ship as part of the application.  The advantage of dynamic 
  416.  linking is that the application executable size is reduced, and the 
  417.  application can be structured such that the UCMenus code is never loaded if it 
  418.  is not needed.  This can improve application performance and reduce memory 
  419.  requirements. 
  420.  
  421.  In either case, you must pre-construct either the .OBJ file to be linked with 
  422.  your application, or the .DLL file to be shipped with it.  These files are 
  423.  built from the source code supplied as part of the toolkit.  They are not part 
  424.  of the toolkit itself since you may have a different level of the compiler, 
  425.  linker, or OS/2 toolkit which could make the UCMenus executable code 
  426.  incompatible with your application.  By having you build the UCMenus binary 
  427.  files it is insured the same compiler and toolkits are used for the UCMenus 
  428.  code and the application code. 
  429.  
  430.  To build the UCMenus binary object files, you must have either the IBM C/Set 
  431.  or VisualAge C++ compiler installed.  The SOURCE\MAKEFILE make file is by 
  432.  default setup for the VisualAge compiler.  If you are using C/Set or some 
  433.  other compiler you will need to modify the make file. 
  434.  
  435.  Use the following steps to build the UCMenus binary object files from and OS/2 
  436.  command window: 
  437.  
  438.    1. Change to the \SOURCE subdirectory of the UCMenus toolkit. 
  439.  
  440.    2. Execute the command "nmake /a all". 
  441.  
  442.  This will build several files: 
  443.  
  444.    \SOURCE\UCMENUS.MAP     Linker map file
  445.    \SOURCE\UCMENUS.SYM     Symbol file
  446.    \LIB\UCMSTAT.OBJ        Object code for static linking
  447.    \LIB\UCMENUS.DLL        Dynamic code for dynamic linking
  448.    \LIB\UCMENUS.LIB        Import library for dynamic linking
  449.    \LIB\UCMENUS.RES        Full GUI resource file
  450.    \LIB\UCMINRES.RES       Minimal (no-GUI) resource file
  451.  
  452.  
  453. ΓòÉΓòÉΓòÉ 5. Limitations and Known Problems ΓòÉΓòÉΓòÉ
  454.  
  455.      A bug in OS/2 Warp 3.0 can cause random bitmap corruption to occure 
  456.       during drag/drop operations.  Usually seen as the toolbar changing size 
  457.       unexpectedly and one or more toolbar bitmaps being corrupted.  Bug was 
  458.       reported to OS/2 development as APAR PJ17913.  This APAR is reported to 
  459.       be fixed in Warp fixpack #7.  This problem does not occure in OS/2 
  460.       Version 2.X. 
  461.  
  462.      A bug in PM prevents support of MIS_BREAK on submenus (MM_QUERYITEMRECT 
  463.       can return wrong coordinates when an owner-draw submenu has MIS_BREAK 
  464.       style items).  Any MIS_BREAK style flags are removed when the UCMenu is 
  465.       created. 
  466.  
  467.      Bubble help is not implemented for submenus. 
  468.  
  469.  
  470. ΓòÉΓòÉΓòÉ 6. Direct Manipulations ΓòÉΓòÉΓòÉ
  471.  
  472. UCMenus support the following direct manipulation functions: 
  473.  
  474.      Move menu items: drag and drop menu items from one position to another. 
  475.       New position will be insertion point nearest the mouse cursor when the 
  476.       item is dropped.  MIS_SPACER items can also be moved.  Items may be moved 
  477.       from one toobar to another. 
  478.  
  479.      Copy menu items: drag and drop menu items with the CTRL key pressed. 
  480.       Items may be copied from one toolbar to another. 
  481.  
  482.      Copy to submenu: drag menu item with ALT key pressed and drop on another 
  483.       menu item.  If the target item is not a submenu it will be changed to be 
  484.       one.  The dropped item is inserted after the last item already in the 
  485.       submenu. Submenu items can be copied from one toolbar to another. 
  486.  
  487.      Delete menu items: drag menu item to system shredder. 
  488.  
  489.      Create new items: drag .BMP file type from desktop or drives folder onto 
  490.       a toolbar.  A new item with the supplied bitmap will be created.  The 
  491.       item will not have any text or action associated with it until provided 
  492.       with the context menu 'Edit item' option. 
  493.  
  494.      Render bitmap to file: a menu item which has file-supplied bitmap (the 
  495.       bitmap specification is a file name, not an application resource) can be 
  496.       dragged to the OS/2 desktop or a folder to create a .BMP file. The bitmap 
  497.       can also be dropped on the OS/2 Icon Editor desktop object to open and 
  498.       edit the source bitmap file. 
  499.  
  500.      Change colors: a color can be dragged from the system color palette onto 
  501.       the toolbar background or the item background.  All items will have the 
  502.       same background color. 
  503.  
  504.      Change font: a font can be dragged from the system font palette onto the 
  505.       toolbar.  The dropped font will be used for the text under the bitmaps. 
  506.  
  507.  Items can also be created, deleted and edited with the context menu which may 
  508.  be displayed by positioning the cursor on a menu item and pressing the right 
  509.  mouse button (if the 'Edit' context menu item is enabled by the application). 
  510.  
  511.  
  512. ΓòÉΓòÉΓòÉ 7. Submenus ΓòÉΓòÉΓòÉ
  513.  
  514. UCMenus supports graphical submenus in a similar fashion to normal PM submenus. 
  515. Visually, a submenu is a vertical UCMenu which is invoked by selecting from a 
  516. primary UCMenu item (the submenu 'placeholder'): 
  517.  
  518. Only one level of submenu is supported.  A submenu cannot contain multiple 
  519. columns (e.g. the MIS_BREAK style flag is ignored).  A submenu can be 
  520. customized like the main menu by drag/drop reordering of items, adding items by 
  521. dropping from other menu or submenus, using the context menu to insert, delete, 
  522. or modify items, etc. 
  523.  
  524. Submenus inheret style settings from the parent (main) menu, including 
  525. background colors, fonts for text, etc. 
  526.  
  527. Limitations: 
  528.  
  529.      A submenu cannot use the MIS_BREAK style to have multiple columns of 
  530.       selectable items. 
  531.  
  532.      An attribute of MIA_NODISMISS on a submenu placeholder is ignored.  To 
  533.       prevent a submenu from being dismissed when an item is selected, the item 
  534.       itself must have the MIA_NODISMISS attribute.  Submenu items without this 
  535.       attribute will cause the submenu to be dismissed when the item is 
  536.       selected. 
  537.  
  538.  
  539. ΓòÉΓòÉΓòÉ 8. Styles ΓòÉΓòÉΓòÉ
  540.  
  541. The visual appearance of a UCMenu can be modified through the use of 'style' 
  542. flags. UCMenu toolbars can have a vertical, horizontal, or matrix layout: 
  543.  
  544.      CMS_HORZ  The traditional horizontal menu bar style. If the number of 
  545.       items do not fit, scrolling indicators are shown. This is contrary to the 
  546.       style of menu bars which would wrap. 
  547.  
  548.  
  549.             Horizontal arrangement
  550.  
  551.  
  552.      CMS_VERT  Display as a vertical column.  This is a very useful 
  553.       arrangement to display a small set of tools to the left or right of a 
  554.       window. 
  555.  
  556.  
  557.             Vertical arrangement
  558.  
  559.  
  560.      CMS_MATRIX  A matrix arrangement, as it is typically used for tool 
  561.       palettes.  The matrix may free-form (application defines height and 
  562.       width), or it may have an orientation in which case it becomes scrollable 
  563.       in that direction (CMS_MATRIX_HORZ, or CMS_MATRIX_VERT). 
  564.  
  565.  
  566.             Matrix arrangement.
  567.  
  568.  The bitmap items can be drawn with or without 3D frames, text underneath, and 
  569.  with a fixed or automatic sizing.  Individual items can be highlighted with a 
  570.  'checkmark' attribute and are drawn with thick dark borders.  Background 
  571.  colors of the menu items and empty toolbar spaces can also be controlled. 
  572.  When required by window size, scrollbar controls will automatically appear at 
  573.  each end of the toolbar. 
  574.  
  575.  A UCMenu can have a number of different styles that can be set on creation in 
  576.  the UCMINFO structure and changed dynamically through the context menu: 
  577.  
  578.  UCS_NOTEXT 
  579.            The text associated with the item is not displayed on the screen. 
  580.  UCS_FRAMED 
  581.            When this is set, a frame is drawn around each item so that it looks 
  582.            like a 3-D button. 
  583.  UCS_FORCESIZE 
  584.            The size of all items can be forced to a certain rectangle. If this 
  585.            is set, the size has to be specified in the UCMINFO structure 
  586.            (UCMInfo.cx and UCMInfo.cx) 
  587.  UCS_SHRINK_BLEND 
  588.            When set, either BBO_OR or BBO_AND is used to shrink the bitmaps, 
  589.            else BBO_IGNORE is used 
  590.  UCS_SHRINK_OR 
  591.            Used when BBO_IGNORE not selected. If set BBO_OR is used, else 
  592.            BBO_AND 
  593.  UCS_NO_DM_ALT 
  594.            No drag and drop copy to a submenu when doing an Alt-drop over the 
  595.            UCMenu 
  596.  UCS_NO_DM_M_TO_OTHER 
  597.            No drag and drop move to another UCMenu 
  598.  UCS_NO_DM_M_FROM_OTHER 
  599.            No drag and drop move from another UCMenu 
  600.  UCS_NO_DM_M_INSIDE 
  601.            No drag and drop move inside this UCMenu 
  602.  UCS_NO_DM_C_TO_OTHER 
  603.            No drag and drop copy to another UCMenu 
  604.  UCS_NO_DM_C_FROM_OTHER 
  605.            No drag and drop copy from another UCMenu 
  606.  UCS_NO_DM_C_INSIDE 
  607.            No drag and drop copy inside this UCMenu 
  608.  UCS_NO_DM_DISCARD 
  609.            No drag and drop to the shredder 
  610.  UCS_NO_DM_RENDER_TO_BMP 
  611.            No drag and drop rendering as a BMP file 
  612.  UCS_NO_DM_RENDER_FROM_BMP 
  613.            No drag and drop from a BMP file 
  614.  UCS_NO_DM 
  615.            No direct manipulation at all 
  616.  UCS_NO_CM_MENU_STYLE 
  617.            No "change style" in the context menu 
  618.  UCS_NO_CM_MENU_IMPORT 
  619.            No "import" in the context menu 
  620.  UCS_NO_CM_MENU_EXPORT 
  621.            No "export" in the context menu 
  622.  UCS_NO_CM_MENU_DEFAULT 
  623.            No "load default" in the context menu 
  624.  UCS_NO_CM_ITEM_EDIT 
  625.            No "edit item" in the context menu 
  626.  UCS_NO_CM_ITEM_CREATE 
  627.            No "create item" in the context menu 
  628.  UCS_NO_CM_ITEM_DELETE 
  629.            No "delete item" in the context menu 
  630.  UCS_NO_CM_SEPARATOR 
  631.            No "delete item" in the context menu 
  632.  UCS_NO_CM 
  633.            No context menu 
  634.  UCS_CHNGBMPBG 
  635.            When this style is used the background color of the bitmaps is 
  636.            mapped to the background color of the toolbar.  The background color 
  637.            of the bitmaps is defined as the BgBmp color in the UCMINFO 
  638.            structure.  All pixels in all bitmaps which match that color will be 
  639.            changed to the toolbar background color.  This style should not be 
  640.            used with UCS_CHNGBMPBG_AUTO. 
  641.  UCS_CHNGBMPBG_AUTO 
  642.            When this style is used the background color of the bitmaps is 
  643.            mapped to the background color of the toolbar.  The background color 
  644.            of the bitmaps is defined as the color of the pixel in the lower 
  645.            leftmost corner of the bitmap.  All pixels of that same color in the 
  646.            bitmap are changed to the toolbar background color.  The BgBmp field 
  647.            of the UCMINFO structure is ignored.  This style should not be used 
  648.            with UCS_CHNGBMPBG. 
  649.  UCS_CUSTOMHLP 
  650.            The help is provided by the user. 
  651.  UCS_PROMPTING 
  652.            UCN_MOUSEMOVE notifications are sent to the owner. 
  653.  UCS_NODEFAULTACTION 
  654.            The list of actions does not include executeprogram by default. 
  655.  UCS_BUBBLEHELP 
  656.            Enables the display of cartoon-style bubble help.  When the pointer 
  657.            hovers on a single menu item for a defined period of time 
  658.            (BubbleDelay in UCMINFO) the toolbar will query the application for 
  659.            the help text to be displayed in the bubble window 
  660.            (UCN_QRYBUBBLEHELP).  If the application supplies help text, it will 
  661.            be displayed in a cartoon-like window near the menu item.  The 
  662.            bubble window is removed when the pointer leaves the toolbar, or 
  663.            when the BubbleRead time period expires, whichever occures first. 
  664.            The application must send UCMENU_ACTIVECHG messages for the bubble 
  665.            window to work properly. 
  666.  
  667.  The UCM text font and background color can be set on creation, through the 
  668.  UCMINFO structure. The default font is Helv 8. Note that the color corresponds 
  669.  to the RGB index and can look different on different types of displays and 
  670.  adapters. You should use the index returned by WinQuerySysColor(). 
  671.  
  672.  
  673.   #define UCM_DEFAULTCOLOR     0x00C9C9C9L   // -- light grey on 8514
  674.   #define UCM_DEFAULTFONT      "8.Helv"
  675.  
  676.  
  677. ΓòÉΓòÉΓòÉ 9. Creating a UCMenu Control ΓòÉΓòÉΓòÉ
  678.  
  679. Conceptually, creating a UCMenu control is the same as creating a PM menu 
  680. control.  The menu structure and items are defined in textual form in a 
  681. resource file (.RC) using MENU, MENUITEM, and SUBMENU statements.  The resource 
  682. file is compiled with the resource compiler into binary resource format and 
  683. appended to the application executable (or a DLL).  The application calls an 
  684. API to read the binary resource and create the visual PM windows and 
  685. underlaying data structures. Finally, the window is placed and sized on a 
  686. parent window. 
  687.  
  688.  
  689. ΓòÉΓòÉΓòÉ 9.1. Resource Files ΓòÉΓòÉΓòÉ
  690.  
  691. The textual resource file (.RC) specifies the complete structure of the menu 
  692. and the contents of the menu items.  However, the MENUITEM resource statement 
  693. does not have the syntactic flexibility to allow complete specification of all 
  694. the data associated with a UCMenu item. Therefore, the text field of the 
  695. MENUITEM statement is interpreted to contain four extra fields of information 
  696. not found on standard PM menu items:  the bitmap specification, action string, 
  697. parameter string, and a data string.  Each of these fields is separated by a 
  698. single character defined as the first character of the string.  A typical 
  699. resource file for a UCMenu might be: 
  700.  
  701. BITMAP 6  "new.bmp"
  702. BITMAP 1  "open.bmp"
  703. BITMAP 2  "save.bmp"
  704. BITMAP 62 "styles.bmp"
  705. BITMAP 63 "bold.bmp"
  706. BITMAP 64 "italic.bmp"
  707. BITMAP 8  "help.bmp"
  708.  
  709. /* Text strings are interpreted as:                           */
  710. /*                                                            */
  711. /* "<c>Text<c>BitmapID<c>ActionStr<c>ParamStr<c>DataStr"      */
  712. /*                                                            */
  713. /*   where <c> is any character that does not appear in       */
  714. /*   the strings.                                             */
  715. /*                                                            */
  716. /* Item style MIS_SPACER produces a gap in the menu bar.      */
  717.  
  718. MENU ID_COMMANDBAR LOADONCALL MOVEABLE DISCARDABLE
  719. BEGIN
  720.   MENUITEM "/New/6/New",              1,  MIS_TEXT
  721.   MENUITEM "/Open/1/Open File",       2,  MIS_TEXT
  722.   MENUITEM "/Save/2/Save File",       3,  MIS_TEXT
  723.   MENUITEM "",                        4,  MIS_SPACER
  724.   SUBMENU  "/Styles/62/Styles Submenu",     5, MIS_TEXT
  725.   BEGIN
  726.     /* Use a different delim here so we can use "/" in the strings */
  727.     MENUITEM "!Bold!63!Bold/Style",         6, MIS_TEXT Γöé MIS_CHECKABLE
  728.     MENUITEM "!Italic!64!Italic/Style",     7, MIS_TEXT Γöé MIS_CHECKABLE
  729.   END
  730.   MENUITEM "",                        8,  MIS_SPACER
  731.   MENUITEM "/Help/8/Show Help",       9,  MIS_TEXT
  732. END
  733. The format for the text field is the following: 
  734. "[#Text]#BitmapID[#Action][#Parameters][#Data]". The first character of the 
  735. string (here #) is used as a delimiter and can be any character that does not 
  736. appear in the string itself. 
  737.  
  738.  Text 
  739.            The text displayed in or under the bitmap 
  740.  BitmapID 
  741.            Bitmap identifier or file name 
  742.  Action 
  743.            Information about the action associated with the item , for example 
  744.            the name of a macro. 
  745.  Parameters 
  746.            Parameters associated to the action. 
  747.  Data 
  748.            Some text associated with the item , for example the parameters of a 
  749.            macro. 
  750.  Some notes on UCMenu resource files: 
  751.  
  752.      The menu item IDs specified in the resource file are arbitrary. 
  753.       Sequential numbering is used to help keep menu items unique but is not 
  754.       necessary. 
  755.  
  756.      A new menu item style MIS_SPACER is defined for UCMenus.  It produces a 
  757.       blank space in the menu to separate menu items into groups. 
  758.  
  759.      The 'Data' field is not seen by the user and is for application use. Note 
  760.       that new items created by customization will have no 'data' value. 
  761.  
  762.      The bitmap items have to be declared with the MIS_TEXT style even though 
  763.       they will (from a PM viewpoint) be OWNERDRAW items. 
  764.  
  765.      The MIS_BREAK style is not effective for the first level UCMenu items, 
  766.       but it works for the submenu items. 
  767.  
  768.      Only one level of submenus is supported. 
  769.  
  770.  
  771. ΓòÉΓòÉΓòÉ 9.2. Completing the UCMINFO Structure ΓòÉΓòÉΓòÉ
  772.  
  773. To complete the process of creating a UCMenu, the application must construct a 
  774. UCMINFO data structure and fill in all the relevant fields.  The RGB values of 
  775. the structure are used for color mapping the bitmap background pixels.  UCMenus 
  776. supplies a means for bitmap background pixels to be automatically mapped to the 
  777. current UCMenu background color.  The BgBmp value of UCMINFO tells UCMenus what 
  778. background color was used in the design of the bitmaps.  That color will be 
  779. replaced with the ItemBgColor before the bitmaps are displayed wherever that 
  780. color appears in the bitmap.  The ItemBgColor should be set to the SYSCLR_MENU 
  781. color returned by WinQuerySysColor().  A different color may be specified in 
  782. the BgColor field.  This will be the color used wherever there are no items on 
  783. the toolbar. 
  784.  
  785. Once the UCMINFO structure is filled in, the function UCMenuCreateFromTemplate 
  786. or UCMenuCreateFromResource is called. The template version is used if the 
  787. application has manually loaded a previously saved UCMenu template.  The 
  788. resource version will create a UCMenu from a menu template in the applications 
  789. resources. The creation functions return two window handles.  The function 
  790. result is the window handle of interest for the application, the other may be 
  791. ignored. 
  792.  
  793.  
  794. ΓòÉΓòÉΓòÉ 9.3. Placement and Sizing of a UCMenu ΓòÉΓòÉΓòÉ
  795.  
  796. Toolbars are generally placed along one edge of the application window frame. 
  797. Toolbars may be attached to the top, bottom, left or right edge of the window. 
  798. The toolkit sample SAMP1.C shows toolbars on all four edges of the frame. 
  799.  
  800. It is possible to simply place and size the toolbar into the client window of a 
  801. standard PM window.  However, this simple approach introduces a lot of 
  802. complexity when the application must properly scale and paint the client 
  803. window.  If the frame window is a dialog, proper size and placement is even 
  804. more complex since the application does not paint, and there is no separate 
  805. client window. 
  806.  
  807. The proper solution to toolbar placement is to make the toolbar a frame 
  808. control. Making a window into a frame control requires a thorough knowledge of 
  809. how PM frame windows and message protocols work.  Adding a frame control to a 
  810. dialog window is even more complex since it may require the movement of all the 
  811. dialog controls.  All the function necessary to make UCMenu windows into frame 
  812. controls is supplied in a set of utility routines in the toolkit.  These 
  813. routines are not a formal part of the UCMenu control, but allow an application 
  814. to easily place UCMenu controls along any edge of a frame or dialog window.  By 
  815. using these utilities an application can be completely removed from any sizing 
  816. or positioning considerations for the toolbars. 
  817.  
  818. The frame control utilities consist of two functions, one to add a UCMenu to a 
  819. frame or dialog window, the other to remove it. The utilities support up to 
  820. four toolbars per frame or dialog window (one each at the top, bottom, left, 
  821. and right edges).  By calling the add/remove frame control utilities, a toolbar 
  822. can be toggled on and off. 
  823.  
  824. The UCMUtils() functions encapsulate all the complexity of frame control 
  825. management freeing the application from that task.  With just a simple function 
  826. call, the toolbar can be positioned in the frame and will maintain its proper 
  827. position as the frame is sized and moved. Source code for the utilities is 
  828. provided in the toolkit. 
  829.  
  830.  
  831. ΓòÉΓòÉΓòÉ 10. A Dynamic Status Bar ΓòÉΓòÉΓòÉ
  832.  
  833. A dynamic status bar can be implemented by the application to automatically 
  834. show a description of each menu item as the mouse pointer is moved on the 
  835. toolbar.  To help the application implement this feature, a UCMenu with the 
  836. UCS_PROMPTING style will send WM_CONTROL messages with a notify code of 
  837. UCN_MOUSEMOVE when the pointer moves on the menu bar.  The message supplies the 
  838. menu item ID of the item under the mouse pointer.  Using this item ID, the 
  839. application can obtain the item data structures and determine the action string 
  840. associated with that item.  The action string string may be displayed directly, 
  841. or it may be used to lookup a more complete description for display to the 
  842. user.  The SAMP3.C sample program uses the lookup method to display a longer 
  843. description of the menu items action. 
  844.  
  845.  
  846. ΓòÉΓòÉΓòÉ 11. Saving/Restoring UCMenus ΓòÉΓòÉΓòÉ
  847.  
  848. The UCMenus API provides several function to aid the application in saving and 
  849. restoring the customized state of UCMenu toolbars.  The function 
  850. UCMenuMakeTemplate will create a binary in-storage representation of the 
  851. complete UCMenu item structure.  The binary image will include all text, 
  852. bitmaps, action strings, and arrangements of menu items.  The corresponding 
  853. APIs, UCMenuCreateFromTemplate and UCMenuNew, create and replace UCMenu 
  854. controls from an in-storage binary template.  It should be noted that these 
  855. binary templates are in a special format used by UCMenus.  UCMenu templates are 
  856. not usable as standard PM menu templates. 
  857.  
  858. The SAMP3.C toolkit sample shows the processing of WM_SAVEAPPLICATION. The 
  859. UCMenu style, colors, and font, as well as the binary templates, are stored in 
  860. the application .INI file.  During initialization, the styles, colors, font and 
  861. templates are read from the .INI file and are used to recreate the customized 
  862. toolbars. 
  863.  
  864.  
  865. ΓòÉΓòÉΓòÉ 12. Data Structures Reference ΓòÉΓòÉΓòÉ
  866.  
  867. This section contains a list of all the structures used by a UCMenus 
  868. application. 
  869.  
  870.  
  871. ΓòÉΓòÉΓòÉ 12.1. UCMITEM (UCMenu Item Structure) ΓòÉΓòÉΓòÉ
  872.  
  873. This structure is used to store data related to a UCMenus menu item, such as 
  874. its bitmap handle, identifier, text and an action strings.  For each menu item, 
  875. this structure is accessed from the hItem component of the standard PM MENUITEM 
  876. structure (which can be obtained with the MM_QUERYITEM message). 
  877.  
  878. typedef struct {
  879.    LONG    hBmp;            // Bitmap handle
  880.    PSZ     pszBmp;          // Bitmap Identifier or file name
  881.    PSZ     pszText;         // Bitmap Text
  882.    PSZ     pszAction;       // Action : for instance the name of a macro
  883.    PSZ     pszParameters;   // Parameters for the action
  884.    PSZ     pszData;         // Data associated to the item, not visible for the user
  885.    USHORT  usId;            // Id of the item
  886.    LONG    lCurBmpBgRGB;    // Current background color set for the bmp (if any)
  887.    ULONG   ulFlags;
  888. } UCMITEM, *PUCMITEM;
  889.  
  890. #define ITEM(a,b) ((PUCMITEM)((a)->hItem))->b
  891. ulFlags can include : 
  892.  
  893.  UCMI_BMPFROMFILE Set if the bitmap comes from a file, not set if it comes from 
  894.            the resources. 
  895.  
  896.  
  897. ΓòÉΓòÉΓòÉ 12.2. CMITEMS (Context Menu items) ΓòÉΓòÉΓòÉ
  898.  
  899. This structure is used to add items to the UCMenu's context menu. It contains 
  900. the identifier and text of the item. 
  901.  
  902. typedef struct {
  903.    ULONG ID;
  904.    PSZ   pszItemText;
  905. } CMITEMS,  *PCMITEMS;
  906.  
  907.  
  908. ΓòÉΓòÉΓòÉ 12.3. UCMINFO (UCMenu Initialization Structure) ΓòÉΓòÉΓòÉ
  909.  
  910. This structure is used to create a UCMenu. It must be passed to the 
  911. UCMCreateXXXX() APIs when creating a UCMenu. 
  912.  
  913. If a matrix UCMenu is created with a null width, NbOfCols must contain the 
  914. number of menu items per line. If it's created with a null height, NbOfRows 
  915. must contain the number of items per column. 
  916.  
  917. typedef struct {
  918.    ULONG  cb;                   // size of this structure
  919.    HMODULE hModule;             // Module where the bitmaps are
  920.    USHORT  NbOfCols;            // Number of Columns (used for a matrix UCM)
  921.    USHORT  NbOfRows;            // Number of Rows    (used for a matrix UCM)
  922.    PSZ     pszBitmapSearchPath; // Path(s) to search for bitmap files.
  923.                                 // Environment variables separated by spaces.
  924.    PSZ     pszDefaultBitmap;    // Bitmap to use if bitmap specified for
  925.                                 //  a menu item can't be resolved or loaded.
  926.    ULONG   Style;               // Style of item (combination of UCS_ flags )
  927.    ULONG   cx;                  // Size to give to all the items if UCS_FORCESIZE
  928.    ULONG   cy;                  //
  929.    LONG    BgBmp;               // RGB value of the color of the bmp which has to be replaced with ItemBgColor
  930.    LONG    BgColor;             // RGB color of the UCMenu background
  931.    LONG    ItemBgColor;         // RGB color of the UCMenu items background
  932.    PSZ     pszFontNameSize;     // String describing the font of the UCMenu (such as used
  933. } UCMINFO, *PUCMINFO;           //  in WinSetPresParam), if NULL, UCM_DEFAULTFONT is used
  934.  
  935.  
  936. ΓòÉΓòÉΓòÉ 12.4. QBUBBLEDATA (Query Bubble Data) ΓòÉΓòÉΓòÉ
  937.  
  938. This structure is passed to the application by the UCN_QRYBUBBLEHELP message. 
  939.  
  940.    typedef struct {
  941.       MENUITEM     *MenuItem   ;  // Item information supplied by UCMenus
  942.       char         *BubbleText ;  // Bubble text supplied by application (freed by UCMenus)
  943.    } QBUBBLEDATA, *PQBUBBLEDATA;
  944.  
  945.  
  946. ΓòÉΓòÉΓòÉ 13. WM_CONTROL Message Reference ΓòÉΓòÉΓòÉ
  947.  
  948. This section describes all the WM_CONTROL messages generated by a UCMenu 
  949. control and sent to the control owner. 
  950.  
  951.  
  952. ΓòÉΓòÉΓòÉ 13.1. UCN_ITEMSELECTED ΓòÉΓòÉΓòÉ
  953.  
  954. This WM_CONTROL notification is sent by the UCMenu to its owner when a UCMenu 
  955. menu item is selected by the user. 
  956.  
  957.  Param1 
  958.  
  959.            UCMenuID (USHORT) 
  960.                           ID of the UCMenu 
  961.  
  962.            NotifCode (USHORT) 
  963.                           UCN_ITEMSELECTED 
  964.  
  965.  Param2 
  966.  
  967.            pUCMitem (UCMITEM *) 
  968.                           Pointer to the UCMenu item structure for the selected 
  969.                           item. 
  970.  
  971.   Returns
  972.  Nothing 
  973.  
  974.  
  975.  Remarks 
  976.  
  977.  
  978.  Default Processing 
  979.  
  980.  
  981.  Related 
  982.  
  983.  
  984. ΓòÉΓòÉΓòÉ 13.2. UCN_QRYTEMPLATEMODULE ΓòÉΓòÉΓòÉ
  985.  
  986. This WM_CONTROL notification is sent by the UCMenu to its owner when the 
  987. default template is loaded ("Load default option" in the popup context menu). 
  988. The owner has to return the module handle where we can look for the default 
  989. template. 
  990.  
  991.  Param1 
  992.  
  993.            UCMenuID (USHORT) 
  994.                           ID of the UCMenu 
  995.  
  996.            NotifCode (USHORT) 
  997.                           UCN_QRYTEMPLATEMODULE 
  998.  
  999.  Param2 
  1000.  
  1001.            pHModule (HMODULE *) 
  1002.                           Pointer to the module to be filled by the owner. 
  1003.  
  1004.   Returns
  1005.  
  1006.            Processed (BOOL) 
  1007.                           TRUE if processed, FALSE else. 
  1008.  
  1009.  
  1010.  Remarks 
  1011.  
  1012.  
  1013.  Default Processing 
  1014.  
  1015.  
  1016.  Related 
  1017.  UCN_QRYDEFTEMPLATEID 
  1018.  
  1019.  
  1020. ΓòÉΓòÉΓòÉ 13.3. UCN_QRYDEFTEMPLATEID ΓòÉΓòÉΓòÉ
  1021.  
  1022. This WM_CONTROL notification is sent by the UCMenu to its owner when the 
  1023. default template is loaded ("Load default option" in the popup context menu). 
  1024. The owner has to return the ID of the menu in the resource. 
  1025.  
  1026.  Param1 
  1027.  
  1028.            UCMenuID (USHORT) 
  1029.                           ID of the UCMenu 
  1030.  
  1031.            NotifCode (USHORT) 
  1032.                           UCN_QRYDEFTEMPLATEID 
  1033.  
  1034.  Param2 
  1035.  
  1036.            pID (PUSHORT) 
  1037.                           Pointer to the ID to be filled by the owner. 
  1038.  
  1039.   Returns
  1040.  
  1041.            Processed (BOOL) 
  1042.                           TRUE if processed, FALSE else. 
  1043.  
  1044.  
  1045.  Remarks 
  1046.  
  1047.  
  1048.  Default Processing 
  1049.  
  1050.  
  1051.  Related 
  1052.  UCN_QRYTEMPLATEMODULE 
  1053.  
  1054.  
  1055. ΓòÉΓòÉΓòÉ 13.4. UCN_QRYDEFTEMPLATE ΓòÉΓòÉΓòÉ
  1056.  
  1057. This WM_CONTROL notification is sent by the UCMenu to its owner when the 
  1058. default template has to be loaded ("Load default option" in the popup context 
  1059. menu). The owner has to return a pointer to the template of the default 
  1060. toolbar, allocated with UCMenuAlloc. 
  1061.  
  1062.  Param1 
  1063.  
  1064.            UCMenuID (USHORT) 
  1065.                           ID of the UCMenu 
  1066.  
  1067.            NotifCode (USHORT) 
  1068.                           UCN_QRYDEFTEMPLATE 
  1069.  
  1070.  Param2 
  1071.  
  1072.            ppTemplate (PVOID*) 
  1073.                           Pointer to the pointer to the template. 
  1074.  
  1075.   Returns
  1076.  
  1077.            Processed (BOOL) 
  1078.                           TRUE if processed, FALSE else. 
  1079.  
  1080.  
  1081.  Remarks 
  1082.  If processed, the template has to be allocated with UCMenuAlloc(). The UCMenus 
  1083.  will free it with UCMenuFree(). 
  1084.  
  1085.  
  1086.  Default Processing 
  1087.  
  1088.  
  1089.  Related 
  1090.  
  1091.  
  1092. ΓòÉΓòÉΓòÉ 13.5. UCN_QRYACTIONLIST ΓòÉΓòÉΓòÉ
  1093.  
  1094. This WM_CONTROL notification is sentthe UCMenu to its owner when the settings 
  1095. dialog for the action is popped up so that he can fill in the list of actions. 
  1096. The owner has to send UCMENU_INSERTACTION messages and to post back a 
  1097. UCMENU_ACTIONSINSERTED when it is done. 
  1098.  
  1099.  Param1 
  1100.  
  1101.            UCMenuID (USHORT) 
  1102.                           ID of the UCMenu 
  1103.  
  1104.            NotifCode (USHORT) 
  1105.                           UCN_QRYACTIONSLIST 
  1106.  
  1107.  Param2 
  1108.  
  1109.            hwndUCMenu (HWND) 
  1110.                           Handle of the UCMenu. 
  1111.  
  1112.   Returns
  1113.  nothing 
  1114.  
  1115.  
  1116.  Remarks 
  1117.  
  1118.  
  1119.  Default Processing 
  1120.  
  1121.  
  1122.  Related 
  1123.  UCMENU_INSERTACTION 
  1124.  
  1125.  
  1126. ΓòÉΓòÉΓòÉ 13.6. UCN_SIZE ΓòÉΓòÉΓòÉ
  1127.  
  1128. This WM_CONTROL notification is sent by the UCMenu to its owner when its size 
  1129. has changed. 
  1130.  
  1131.  Param1 
  1132.  
  1133.            UCMenuID (USHORT) 
  1134.                           ID of the UCMenu 
  1135.  
  1136.            NotifCode (USHORT) 
  1137.                           UCN_SIZE 
  1138.  
  1139.  Param2 
  1140.  
  1141.            param2 (ULONG) 
  1142.                           reserved 
  1143.  
  1144.   Returns
  1145.  Nothing 
  1146.  
  1147.  
  1148.  Remarks 
  1149.  After receiving this message, further information can be obtained by using the 
  1150.  UCMENU_QUERY* messages. 
  1151.  
  1152.  
  1153.  Default Processing 
  1154.  
  1155.  
  1156.  Related 
  1157.  
  1158.  
  1159. ΓòÉΓòÉΓòÉ 13.7. UCN_STYLE ΓòÉΓòÉΓòÉ
  1160.  
  1161. This WM_CONTROL notification is sent by the UCMenu to its owner when its style 
  1162. has changed. 
  1163.  
  1164.  Param1 
  1165.  
  1166.            UCMenuID (USHORT) 
  1167.                           ID of the UCMenu 
  1168.  
  1169.            NotifCode (USHORT) 
  1170.                           UCN_STYLE 
  1171.  
  1172.  Param2 
  1173.  
  1174.            param2 (ULONG) 
  1175.                           reserved 
  1176.  
  1177.   Returns
  1178.  Nothing 
  1179.  
  1180.  
  1181.  Remarks 
  1182.  After receiving this message, further information can be obtained by using the 
  1183.  UCMENU_QUERY* messages. 
  1184.  
  1185.  
  1186.  Default Processing 
  1187.  
  1188.  
  1189.  Related 
  1190.  
  1191.  
  1192. ΓòÉΓòÉΓòÉ 13.8. UCN_FONT ΓòÉΓòÉΓòÉ
  1193.  
  1194. This WM_CONTROL notification is sent by the UCMenu to its owner when its font 
  1195. has changed (eg when a font has been dropped from the palette over the UCMenu 
  1196. ). 
  1197.  
  1198.  Param1 
  1199.  
  1200.            UCMenuID (USHORT) 
  1201.                           ID of the UCMenu 
  1202.  
  1203.            NotifCode (USHORT) 
  1204.                           UCN_FONT 
  1205.  
  1206.  Param2 
  1207.  
  1208.            param2 (ULONG) 
  1209.                           reserved 
  1210.  
  1211.   Returns
  1212.  Nothing 
  1213.  
  1214.  
  1215.  Remarks 
  1216.  After receiving this message, further information can be obtained by using the 
  1217.  UCMENU_QUERY* messages. 
  1218.  
  1219.  
  1220.  Default Processing 
  1221.  
  1222.  
  1223.  Related 
  1224.  
  1225.  
  1226. ΓòÉΓòÉΓòÉ 13.9. UCN_COLOR ΓòÉΓòÉΓòÉ
  1227.  
  1228. This WM_CONTROL notification is sent by the UCMenu to its owner when its color 
  1229. has changed (eg when a color has been dropped from the palette over the UCMenu 
  1230. ). 
  1231.  
  1232.  Param1 
  1233.  
  1234.            UCMenuID (USHORT) 
  1235.                           ID of the UCMenu 
  1236.  
  1237.            NotifCode (USHORT) 
  1238.                           UCN_COLOR 
  1239.  
  1240.  Param2 
  1241.  
  1242.            param2 (ULONG) 
  1243.                           reserved 
  1244.  
  1245.   Returns
  1246.  Nothing 
  1247.  
  1248.  
  1249.  Remarks 
  1250.  After receiving this message, further information can be obtained by using the 
  1251.  UCMENU_QUERY* messages. 
  1252.  
  1253.  
  1254.  Default Processing 
  1255.  
  1256.  
  1257.  Related 
  1258.  
  1259.  
  1260. ΓòÉΓòÉΓòÉ 13.10. UCN_ADDEDITEM ΓòÉΓòÉΓòÉ
  1261.  
  1262. This WM_CONTROL notification is sent by the UCMenu to its owner when an item 
  1263. has been added. 
  1264.  
  1265.  Param1 
  1266.  
  1267.            UCMenuID (USHORT) 
  1268.                           ID of the UCMenu 
  1269.  
  1270.            NotifCode (USHORT) 
  1271.                           UCN_ADDEDITEM 
  1272.  
  1273.  Param2 
  1274.  
  1275.            ItemID (USHORT) 
  1276.                           ID of the added item. 
  1277.  
  1278.   Returns
  1279.  Nothing 
  1280.  
  1281.  
  1282.  Remarks 
  1283.  After receiving this message, further information can be obtained by using the 
  1284.  UCMENU_QUERY* messages. 
  1285.  
  1286.  
  1287.  Default Processing 
  1288.  
  1289.  
  1290.  Related 
  1291.  
  1292.  
  1293. ΓòÉΓòÉΓòÉ 13.11. UCN_DELETEDITEM ΓòÉΓòÉΓòÉ
  1294.  
  1295. This WM_CONTROL notification is sent by the UCMenu to its owner when an item 
  1296. has been deleted. 
  1297.  
  1298.  Param1 
  1299.  
  1300.            UCMenuID (USHORT) 
  1301.                           ID of the UCMenu 
  1302.  
  1303.            NotifCode (USHORT) 
  1304.                           UCN_DELETEDITEM 
  1305.  
  1306.  Param2 
  1307.  
  1308.            ItemID (USHORT) 
  1309.                           ID of the added item. 
  1310.  
  1311.   Returns
  1312.  Nothing 
  1313.  
  1314.  
  1315.  Remarks 
  1316.  After receiving this message, further information can be obtained by using the 
  1317.  UCMENU_QUERY* messages. 
  1318.  
  1319.  
  1320.  Default Processing 
  1321.  
  1322.  
  1323.  Related 
  1324.  
  1325.  
  1326. ΓòÉΓòÉΓòÉ 13.12. UCN_BITMAP ΓòÉΓòÉΓòÉ
  1327.  
  1328. This WM_CONTROL notification is sent by the UCMenu to its owner when the bitmap 
  1329. of an item has been changed. 
  1330.  
  1331.  Param1 
  1332.  
  1333.            UCMenuID (USHORT) 
  1334.                           ID of the UCMenu 
  1335.  
  1336.            NotifCode (USHORT) 
  1337.                           UCN_BITMAP 
  1338.  
  1339.  Param2 
  1340.  
  1341.            ItemID (USHORT) 
  1342.                           ID of the changed item. 
  1343.  
  1344.   Returns
  1345.  Nothing 
  1346.  
  1347.  
  1348.  Remarks 
  1349.  
  1350.  
  1351.  Default Processing 
  1352.  
  1353.  
  1354.  Related 
  1355.  
  1356.  
  1357. ΓòÉΓòÉΓòÉ 13.13. UCN_TEXT ΓòÉΓòÉΓòÉ
  1358.  
  1359. This WM_CONTROL notification is sent by the UCMenu to its owner when the text 
  1360. of an item has been changed. 
  1361.  
  1362.  Param1 
  1363.  
  1364.            UCMenuID (USHORT) 
  1365.                           ID of the UCMenu 
  1366.  
  1367.            NotifCode (USHORT) 
  1368.                           UCN_TEXT 
  1369.  
  1370.  Param2 
  1371.  
  1372.            ItemID (USHORT) 
  1373.                           ID of the changed item. 
  1374.  
  1375.   Returns
  1376.  Nothing 
  1377.  
  1378.  
  1379.  Remarks 
  1380.  
  1381.  
  1382.  Default Processing 
  1383.  
  1384.  
  1385.  Related 
  1386.  
  1387.  
  1388. ΓòÉΓòÉΓòÉ 13.14. UCN_QRYRESBMP ΓòÉΓòÉΓòÉ
  1389.  
  1390. This WM_CONTROL notification message is sent by the UCMenu to its owner when 
  1391. the list of bmp id is needed. ("Predefined..." on the "general" notebook page ) 
  1392.  
  1393.  Param1 
  1394.  
  1395.            UCMenuID (USHORT) 
  1396.                           ID of the UCMenu 
  1397.  
  1398.            NotifCode (USHORT) 
  1399.                           UCN_QRYRESBMP 
  1400.  
  1401.  Param2 
  1402.  
  1403.            pArrayId (PULONG *) 
  1404.                           The owner has to return in this pointer an array of 
  1405.                           the bitmap IDs, allocated with UCMenuAlloc. 
  1406.  
  1407.   Returns
  1408.  
  1409.            nbItems (ULONG) 
  1410.                           The number of elements in the returned array or zero. 
  1411.  
  1412.  
  1413.  Remarks 
  1414.  The array will be freed by the UCMenu. 
  1415.  
  1416.  
  1417.  Default Processing 
  1418.  
  1419.  
  1420.  Related 
  1421.  
  1422.  
  1423. ΓòÉΓòÉΓòÉ 13.15. UCN_ACTION ΓòÉΓòÉΓòÉ
  1424.  
  1425. This WM_CONTROL notification is sent by the UCMenu to its owner when the action 
  1426. of an item has been changed. 
  1427.  
  1428.  Param1 
  1429.  
  1430.            UCMenuID (USHORT) 
  1431.                           ID of the UCMenu 
  1432.  
  1433.            NotifCode (USHORT) 
  1434.                           UCN_ACTION 
  1435.  
  1436.  Param2 
  1437.  
  1438.            ItemID (USHORT) 
  1439.                           ID of the changed item. 
  1440.  
  1441.   Returns
  1442.  Nothing 
  1443.  
  1444.  
  1445.  Remarks 
  1446.  
  1447.  
  1448.  Default Processing 
  1449.  
  1450.  
  1451.  Related 
  1452.  
  1453.  
  1454. ΓòÉΓòÉΓòÉ 13.16. UCN_CMITEM ΓòÉΓòÉΓòÉ
  1455.  
  1456. This WM_CONTROL notification is sent to the owner of the UCMenu when the 
  1457. context menu receives a WM_COMMAND message for one of the items added with 
  1458. UCMENU_ADDITEMSTOCM. 
  1459.  
  1460.  Param1 
  1461.  
  1462.            UCMenuID (USHORT) 
  1463.                           ID of the UCMenu 
  1464.  
  1465.            NotifCode (USHORT) 
  1466.                           UCN_CMITEM 
  1467.  
  1468.  Param2 
  1469.  
  1470.            CMItemID (USHORT) 
  1471.                           ID of the context menu item selected. 
  1472.  
  1473.            ItemID (USHORT) 
  1474.                           ID of item over which the context menu was popped up. 
  1475.  
  1476.  
  1477.  Remarks 
  1478.  The owner should process this message by executing the function associated to 
  1479.  the item he added. 
  1480.  
  1481.  
  1482.  Default Processing 
  1483.  No default processing 
  1484.  
  1485.  
  1486.  Related 
  1487.  See CMITEMS type. See UCMENU_ADDITEMSTOCM See UCMENU_DELETECMITEM 
  1488.  
  1489.  
  1490. ΓòÉΓòÉΓòÉ 13.17. UCN_MOUSEMOVE ΓòÉΓòÉΓòÉ
  1491.  
  1492. This WM_CONTROL notification code is sent by the UCMenu to its owner when the 
  1493. mouse is moved over its menu or submenu. 
  1494.  
  1495.  Param1 
  1496.  
  1497.            UCMenuID (USHORT) 
  1498.                           ID of the UCMenu 
  1499.  
  1500.            NotifCode (USHORT) 
  1501.                           UCN_MOUSEMOVE 
  1502.  
  1503.  Param2 
  1504.  
  1505.            ItemID (USHORT) 
  1506.                           ID of the item over which the pointer is 
  1507.  
  1508.   Returns
  1509.  Nothing. 
  1510.  
  1511.  
  1512.  Remarks 
  1513.  
  1514.  
  1515.  Default Processing 
  1516.  No default processing 
  1517.  
  1518.  
  1519.  Related 
  1520.  
  1521.  
  1522. ΓòÉΓòÉΓòÉ 13.18. UCN_HLP_NB_BMP ΓòÉΓòÉΓòÉ
  1523.  
  1524. This WM_CONTROL notification is sent by the UCMenu to its owner when custom 
  1525. help is required for the general page of the notebook. 
  1526.  
  1527.  Param1 
  1528.  
  1529.            UCMenuID (USHORT) 
  1530.                           ID of the UCMenu 
  1531.  
  1532.            NotifCode (USHORT) 
  1533.                           UCN_HLP_NB_BMP 
  1534.  
  1535.  Param2 
  1536.  
  1537.            param2 (ULONG) 
  1538.                           Reserved 
  1539.  
  1540.   Returns
  1541.  Nothing. 
  1542.  
  1543.  
  1544.  Remarks 
  1545.  
  1546.  
  1547.  Default Processing 
  1548.  No default processing 
  1549.  
  1550.  
  1551.  Related 
  1552.  UCS_CUSTOMHLP 
  1553.  
  1554.  
  1555. ΓòÉΓòÉΓòÉ 13.19. UCN_HLP_NB_CREATE ΓòÉΓòÉΓòÉ
  1556.  
  1557. This WM_CONTROL notification is sent by the UCMenu to its owner when custom 
  1558. help is required for the create page of the notebook. 
  1559.  
  1560.  Param1 
  1561.  
  1562.            UCMenuID (USHORT) 
  1563.                           ID of the UCMenu 
  1564.  
  1565.            NotifCode (USHORT) 
  1566.                           UCN_HLP_NB_CREATE 
  1567.  
  1568.  Param2 
  1569.  
  1570.            param2 (ULONG) 
  1571.                           Reserved 
  1572.  
  1573.   Returns
  1574.  Nothing. 
  1575.  
  1576.  
  1577.  Remarks 
  1578.  
  1579.  
  1580.  Default Processing 
  1581.  No default processing 
  1582.  
  1583.  
  1584.  Related 
  1585.  UCS_CUSTOMHLP 
  1586.  
  1587.  
  1588. ΓòÉΓòÉΓòÉ 13.20. UCN_HLP_NB_ACTION ΓòÉΓòÉΓòÉ
  1589.  
  1590. This WM_CONTROL notification is sent by the UCMenu to its owner when custom 
  1591. help is required for the action page of the notebook. 
  1592.  
  1593.  Param1 
  1594.  
  1595.            UCMenuID (USHORT) 
  1596.                           ID of the UCMenu 
  1597.  
  1598.            NotifCode (USHORT) 
  1599.                           UCN_HLP_NB_ACTION 
  1600.  
  1601.  Param2 
  1602.  
  1603.            param2 (ULONG) 
  1604.                           Reserved 
  1605.  
  1606.   Returns
  1607.  Nothing. 
  1608.  
  1609.  
  1610.  Remarks 
  1611.  
  1612.  
  1613.  Default Processing 
  1614.  No default processing 
  1615.  
  1616.  
  1617.  Related 
  1618.  UCS_CUSTOMHLP 
  1619.  
  1620.  
  1621. ΓòÉΓòÉΓòÉ 13.21. UCN_HLP_STYLE ΓòÉΓòÉΓòÉ
  1622.  
  1623. This WM_CONTROL notification is sent by the UCMenu to its owner when custom 
  1624. help is required for the style dialog. 
  1625.  
  1626.  Param1 
  1627.  
  1628.            UCMenuID (USHORT) 
  1629.                           ID of the UCMenu 
  1630.  
  1631.            NotifCode (USHORT) 
  1632.                           UCN_HLP_NB_STYLE 
  1633.  
  1634.  Param2 
  1635.  
  1636.            param2 (ULONG) 
  1637.                           Reserved 
  1638.  
  1639.   Returns
  1640.  Nothing. 
  1641.  
  1642.  
  1643.  Remarks 
  1644.  
  1645.  
  1646.  Default Processing 
  1647.  No default processing 
  1648.  
  1649.  
  1650.  Related 
  1651.  UCS_CUSTOMHLP 
  1652.  
  1653.  
  1654. ΓòÉΓòÉΓòÉ 13.22. UCN_HLP_DM ΓòÉΓòÉΓòÉ
  1655.  
  1656. This WM_CONTROL notification is sent by the UCMenu to its owner when custom 
  1657. help is required for the drag and drop. 
  1658.  
  1659.  Param1 
  1660.  
  1661.            UCMenuID (USHORT) 
  1662.                           ID of the UCMenu 
  1663.  
  1664.            NotifCode (USHORT) 
  1665.                           UCN_HLP_NB_DM 
  1666.  
  1667.  Param2 
  1668.  
  1669.            param2 (ULONG) 
  1670.                           Reserved 
  1671.  
  1672.   Returns
  1673.  Nothing. 
  1674.  
  1675.  
  1676.  Remarks 
  1677.  
  1678.  
  1679.  Default Processing 
  1680.  No default processing 
  1681.  
  1682.  
  1683.  Related 
  1684.  UCS_CUSTOMHLP 
  1685.  
  1686.  
  1687. ΓòÉΓòÉΓòÉ 13.23. UCN_HLP_BUFFET ΓòÉΓòÉΓòÉ
  1688.  
  1689. This WM_CONTROL notification is sent by the UCMenu to its owner when custom 
  1690. help is required for the buffet toolbar dialog. 
  1691.  
  1692.  Param1 
  1693.  
  1694.            UCMenuID (USHORT) 
  1695.                           ID of the UCMenu 
  1696.  
  1697.            NotifCode (USHORT) 
  1698.                           UCN_HLP_NB_BUFFET 
  1699.  
  1700.  Param2 
  1701.  
  1702.            param2 (ULONG) 
  1703.                           Reserved 
  1704.  
  1705.   Returns
  1706.  Nothing. 
  1707.  
  1708.  
  1709.  Remarks 
  1710.  
  1711.  
  1712.  Default Processing 
  1713.  No default processing 
  1714.  
  1715.  
  1716.  Related 
  1717.  UCS_CUSTOMHLP 
  1718.  
  1719.  
  1720. ΓòÉΓòÉΓòÉ 13.24. UCN_QRYBUBBLEHELP ΓòÉΓòÉΓòÉ
  1721.  
  1722. This WM_CONTROL notification is sent by the UCMenu to its owner to obtain the 
  1723. bubble-help text associated with a particular menu item. 
  1724.  
  1725.  Param1 
  1726.  
  1727.            UCMenuID (USHORT) 
  1728.                           ID of the UCMenu 
  1729.  
  1730.            NotifCode (USHORT) 
  1731.                           UCN_QRYBUBBLEHELP 
  1732.  
  1733.  Param2 
  1734.  
  1735.            QueryData (QBUBBLEDATA *) 
  1736.                           Pointer to QBUBBLEDATA structure.  The MenuItem field 
  1737.                           will contain a pointer to the MENUITEM structure. 
  1738.  
  1739.   Returns
  1740.  Nothing. 
  1741.  
  1742.  
  1743.  Remarks 
  1744.  The application should fill in the BubbleText pointer of the QBUBBLEDATA 
  1745.  structure.  Note: This text string will be freed by UCMenus so it must be a 
  1746.  dynamically allocated string. 
  1747.  
  1748.  If the BubbleText field is NULL then no bubble help window will be displayed. 
  1749.  
  1750.  
  1751.  Default Processing 
  1752.  No default processing 
  1753.  
  1754.  
  1755.  Related 
  1756.  
  1757.  
  1758. ΓòÉΓòÉΓòÉ 13.25. UCN_QRYCONTEXTHWND ΓòÉΓòÉΓòÉ
  1759.  
  1760. This WM_CONTROL notification is sent by the UCMenu to its owner to obtain the 
  1761. handle of an application-supplied context menu. 
  1762.  
  1763.  Param1 
  1764.  
  1765.            UCMenuID (USHORT) 
  1766.                           ID of the UCMenu 
  1767.  
  1768.            NotifCode (USHORT) 
  1769.                           UCN_QRYCONTEXTHWND 
  1770.  
  1771.  Param2 
  1772.  
  1773.            MenuItem (MENUITEM *) 
  1774.                           Pointer to MENUITEM structure describing the item on 
  1775.                           which the context menu was requested.  This structure 
  1776.                           will contain all binary zero values if the pointer 
  1777.                           was not over a menu item when the context menu was 
  1778.                           requested. 
  1779.  
  1780.   Returns
  1781.  Nothing. 
  1782.  
  1783.  
  1784.  Remarks 
  1785.  The application can ignore this message if the UCMenus built-in context menu 
  1786.  is to be used.  Otherwise it should supply the handle of a context menu to be 
  1787.  displayed.  Selections on the context menu will generate UCN_CMITEM messages. 
  1788.  
  1789.  
  1790.  Default Processing 
  1791.  No default processing 
  1792.  
  1793.  
  1794.  Related 
  1795.  
  1796.  
  1797. ΓòÉΓòÉΓòÉ 13.26. UCN_CHANGEDITEM ΓòÉΓòÉΓòÉ
  1798.  
  1799. This WM_CONTROL notification is sent by the UCMenu to its owner when a menu 
  1800. item has been changed and it is not possible to determine which parts of the 
  1801. item were modified. 
  1802.  
  1803.  Param1 
  1804.  
  1805.            UCMenuID (USHORT) 
  1806.                           ID of the UCMenu 
  1807.  
  1808.            NotifCode (USHORT) 
  1809.                           UCN_CHANGEDITEM 
  1810.  
  1811.  Param2 
  1812.  
  1813.            ItemID (USHORT) 
  1814.                           ID of the menu item that changed. 
  1815.  
  1816.   Returns
  1817.  Nothing. 
  1818.  
  1819.  
  1820.  Remarks 
  1821.  In general the application will get notification messages for specific changes 
  1822.  to menu items such as UCN_ACTION.  However, when the MM_SETITEM message is 
  1823.  used to update a menu item it is not possible to determine exactly what 
  1824.  components of the item were changed and this message is generated. Idefproc. 
  1825.  No default processing 
  1826.  
  1827.  
  1828.  Related 
  1829.  
  1830.  
  1831. ΓòÉΓòÉΓòÉ 14. UCMenu Message Reference ΓòÉΓòÉΓòÉ
  1832.  
  1833. This section describes all the messages an application can send to a UCMenu 
  1834. control to set and query various options. 
  1835.  
  1836.  
  1837. ΓòÉΓòÉΓòÉ 14.1. UCMENU_QUERYSIZE ΓòÉΓòÉΓòÉ
  1838.  
  1839. This message is sent to the UCMenu to query the size it needs to be be fully 
  1840. displayed. 
  1841.  
  1842.  Param1 
  1843.  
  1844.            pCx (PULONG) 
  1845.                           Pointer to a ULONG in which the width will be put. 
  1846.  
  1847.  Param2 
  1848.  
  1849.            pCy (PULONG) 
  1850.                           Pointer to a ULONG in which the height will be put. 
  1851.  
  1852.   Returns
  1853.  
  1854.            Success (BOOL) 
  1855.  
  1856.                           TRUE           Query successful 
  1857.                           FALSE          Query Unsuccessful 
  1858.  
  1859.  
  1860.  Remarks 
  1861.  
  1862.  
  1863.  Default Processing 
  1864.  
  1865.  
  1866.  Related 
  1867.  
  1868.  
  1869. ΓòÉΓòÉΓòÉ 14.2. UCMENU_QUERYCOLOR ΓòÉΓòÉΓòÉ
  1870.  
  1871. This message is sent to the UCMenu to query its color. 
  1872.  
  1873.  Param1 
  1874.  
  1875.            pRGBColor (LONG *) 
  1876.                           Pointer to a LONG in which the RGB value of the 
  1877.                           UCMenu background color will be put. 
  1878.  
  1879.  Param2 
  1880.  
  1881.            pItemRGBColor (LONG *) 
  1882.                           Pointer to a LONG in which the RGB value of the 
  1883.                           UCMenu items background color will be put. 
  1884.  
  1885.   Returns
  1886.  
  1887.            Success (BOOL) 
  1888.  
  1889.                           TRUE           Query successful 
  1890.                           FALSE          Query Unsuccessful 
  1891.  
  1892.  
  1893.  Remarks 
  1894.  
  1895.  
  1896.  Default Processing 
  1897.  
  1898.  
  1899.  Related 
  1900.  
  1901.  
  1902. ΓòÉΓòÉΓòÉ 14.3. UCMENU_QUERYFONT ΓòÉΓòÉΓòÉ
  1903.  
  1904. This message is sent to the UCMenu to query its font. 
  1905.  
  1906.  Param1 
  1907.  
  1908.            pszFontNameSize (PSZ) 
  1909.                           String in which the font  name and size will be put, 
  1910.                           allocated by the sender. 
  1911.  
  1912.                           The string returned has the format used in 
  1913.                           WinSetPresParam. 
  1914.  
  1915.  Param2 
  1916.  
  1917.            Size (ULONG) 
  1918.                           Size of the string allocated by the sender 
  1919.  
  1920.   Returns
  1921.  
  1922.            Success (BOOL) 
  1923.  
  1924.                           TRUE           Query successful 
  1925.                           FALSE          Query Unsuccessful 
  1926.  
  1927.  
  1928.  Remarks 
  1929.  
  1930.  
  1931.  Default Processing 
  1932.  
  1933.  
  1934.  Related 
  1935.  WinSetPresParam, WinQueryPresParam. 
  1936.  
  1937.  
  1938. ΓòÉΓòÉΓòÉ 14.4. UCMENU_QUERYSTYLE ΓòÉΓòÉΓòÉ
  1939.  
  1940. This message is sent to the UCMenu to query its style. 
  1941.  
  1942.  Param1 
  1943.  
  1944.            pStyle (PULONG) 
  1945.                           Pointer to a ULONG in which the style will be put. 
  1946.  
  1947.                           The style is a combination of the UCS_* values. 
  1948.  
  1949.   Returns
  1950.  
  1951.            Success (BOOL) 
  1952.  
  1953.                           TRUE           Query successful 
  1954.                           FALSE          Query Unsuccessful 
  1955.  
  1956.  Param2 
  1957.  
  1958.            param2 (ULONG) 
  1959.                           reserved 
  1960.  
  1961.  
  1962.  Remarks 
  1963.  
  1964.  
  1965.  Default Processing 
  1966.  
  1967.  
  1968.  Related 
  1969.  
  1970.  
  1971. ΓòÉΓòÉΓòÉ 14.5. UCMENU_QUERYFORCEDSIZE ΓòÉΓòÉΓòÉ
  1972.  
  1973. This message is sent to the UCMenu to query the value of its forced size 
  1974.  
  1975.  Param1 
  1976.  
  1977.            pCx (PULONG) 
  1978.                           Pointer to a ULONG in which the width will be put. 
  1979.  
  1980.  Param2 
  1981.  
  1982.            pCy (PULONG) 
  1983.                           Pointer to a ULONG in which the height will be put. 
  1984.  
  1985.   Returns
  1986.  
  1987.            Success (BOOL) 
  1988.  
  1989.                           TRUE           Query successful 
  1990.                           FALSE          Query Unsuccessful 
  1991.  
  1992.  
  1993.  Remarks 
  1994.  
  1995.  
  1996.  Default Processing 
  1997.  
  1998.  
  1999.  Related 
  2000.  
  2001.  
  2002. ΓòÉΓòÉΓòÉ 14.6. UCMENU_ADDITEMSTOCM ΓòÉΓòÉΓòÉ
  2003.  
  2004. This user message can be sent to the UCMenu to add items to its context menu 
  2005.  
  2006.  Param1 
  2007.  
  2008.            NbOfItems (ULONG) 
  2009.                           Number of items to add 
  2010.  
  2011.  Param2 
  2012.  
  2013.            pCMItems (PCMITEMS) 
  2014.                           Pointer to a CMITEMS structure. It contains an ID and 
  2015.                           pszText for each item added 
  2016.  
  2017.   Returns
  2018.  nothing 
  2019.  
  2020.             () 
  2021.  
  2022.  
  2023.  Remarks 
  2024.  This message should be sent, since the caller has to free pszItemText in the 
  2025.  CMITEMS structure. 
  2026.  
  2027.  
  2028.  Default Processing 
  2029.  No default processing 
  2030.  
  2031.  
  2032.  Related 
  2033.  See CMITEMS type. See UCMENU_DELETECMITEM 
  2034.  
  2035.  
  2036. ΓòÉΓòÉΓòÉ 14.7. UCMENU_DELETECMITEM ΓòÉΓòÉΓòÉ
  2037.  
  2038. This user message can be sent to the UCMenu to delete items from its context 
  2039. menu 
  2040.  
  2041.  Param1 
  2042.  
  2043.            NbOfItems (ULONG) 
  2044.                           Number of items to delete. 
  2045.  
  2046.  Param2 
  2047.  
  2048.            pItemId (PULONG) 
  2049.                           Array of items ids. 
  2050.  
  2051.   Returns
  2052.  nothing 
  2053.  
  2054.  
  2055.  Remarks 
  2056.  By default, the context menu has the following items : 
  2057.  
  2058.  Edit...   IDM_UCM_EDIT 
  2059.  Create... IDM_UCM_CREATE 
  2060.  Delete    IDM_UCM_DELETE 
  2061.  Separator line IDM_UCM_SEPARATOR 
  2062.  Style...  IDM_UCM_STYLE 
  2063.  Load Default IDM_UCM_DEFAULT 
  2064.  Import... IDM_UCM_LOAD 
  2065.  Export... IDM_UCM_SAVEAS 
  2066.  
  2067.  
  2068.  Default Processing 
  2069.  No default processing 
  2070.  
  2071.  
  2072.  Related 
  2073.  See CMITEMS type See UCMENU_ADDITEMSTOCM See UCN_CMITEM 
  2074.  
  2075.  
  2076. ΓòÉΓòÉΓòÉ 14.8. UCMENU_QUERYVERSION ΓòÉΓòÉΓòÉ
  2077.  
  2078. This user message is sent to the UCMenu to query the version of the UCMenus dll 
  2079.  
  2080.  Param1 
  2081.  
  2082.            param1 (ULONG) 
  2083.                           Reserved 
  2084.  
  2085.  Param2 
  2086.  
  2087.            param2 (ULONG) 
  2088.                           Reserved 
  2089.  
  2090.   Returns
  2091.  
  2092.            version (ULONG) 
  2093.                           Version number of the dll, eg 2 for 0.02 and 100 for 
  2094.                           1.00. 
  2095.  
  2096.  
  2097.  Remarks 
  2098.  
  2099.  
  2100.  Default Processing 
  2101.  No default processing 
  2102.  
  2103.  
  2104.  Related 
  2105.  
  2106.  
  2107. ΓòÉΓòÉΓòÉ 14.9. UCMENU_SETSTYLE ΓòÉΓòÉΓòÉ
  2108.  
  2109. This message is sent to the UCMenu to set the style flags and the associated 
  2110. width and height values. 
  2111.  
  2112.  Param1 
  2113.  
  2114.            StyleFlags (ULONG) 
  2115.                           Combination of UCS_* flags. 
  2116.  
  2117.  Param2 
  2118.  
  2119.            cx (USHORT) 
  2120.                           The width of the items if UCS_FORCESIZE is set. 
  2121.  
  2122.            cy (USHORT) 
  2123.                           The height of the items if UCS_FORCESIZE is set. 
  2124.  
  2125.   Returns
  2126.  
  2127.            Success (BOOL) 
  2128.                           TRUE if successful, FALSE else. 
  2129.  
  2130.  
  2131.  Remarks 
  2132.  A UCMENU_UPDATE message must be issued in order to reflect the changes. 
  2133.  
  2134.  
  2135.  Default Processing 
  2136.  
  2137.  
  2138.  Related 
  2139.  UCMENU_UPDATE 
  2140.  
  2141.  
  2142. ΓòÉΓòÉΓòÉ 14.10. UCMENU_QUERYUCMINFO ΓòÉΓòÉΓòÉ
  2143.  
  2144. This message is sent to the UCMenu to retrieve the UCMINFO structure 
  2145.  
  2146.  Param1 
  2147.  
  2148.            pUCMInfo (PUCMINFO) 
  2149.                           Pointer to the UCMINFO structure to fill. 
  2150.  
  2151.  Param2 
  2152.  
  2153.            param2 (ULONG) 
  2154.                           reserved. 
  2155.  
  2156.   Returns
  2157.  
  2158.            Success (BOOL) 
  2159.                           TRUE if successful, FALSE else. 
  2160.  
  2161.  
  2162.  Remarks 
  2163.  If the PSZ fields are not null, they have been allocated by the UCMenu and 
  2164.  have to be freed with UCMenuFree by the sender. 
  2165.  
  2166.  
  2167.  Default Processing 
  2168.  No default processing 
  2169.  
  2170.  
  2171.  Related 
  2172.  
  2173.  
  2174. ΓòÉΓòÉΓòÉ 14.11. UCMENU_UPDATE ΓòÉΓòÉΓòÉ
  2175.  
  2176. This message is sent to the UCMenu to display the changes made. 
  2177.  
  2178.  Param1 
  2179.  
  2180.            param1 (ULONG) 
  2181.                           reserved. 
  2182.  
  2183.  Param2 
  2184.  
  2185.            param2 (ULONG) 
  2186.                           reserved. 
  2187.  
  2188.   Returns
  2189.  
  2190.            Success (BOOL) 
  2191.                           TRUE if successful, FALSE else. 
  2192.  
  2193.  
  2194.  Remarks 
  2195.  
  2196.  
  2197.  Default Processing 
  2198.  No default processing 
  2199.  
  2200.  
  2201.  Related 
  2202.  UCMENU_SETSTYLE UCMENU_SETBGCOLOR 
  2203.  
  2204.  
  2205. ΓòÉΓòÉΓòÉ 14.12. UCMENU_SETBGCOLOR ΓòÉΓòÉΓòÉ
  2206.  
  2207. This message is sent to the UCMenu to set the UCMenu background color 
  2208.  
  2209.  Param1 
  2210.  
  2211.            BgColor (ULONG) 
  2212.                           The RGB color which will be used for the UCMenu 
  2213.                           background. 
  2214.  
  2215.  Param2 
  2216.  
  2217.            ItemBgColor (ULONG) 
  2218.                           The RGB color which will be used for the items 
  2219.                           background. 
  2220.  
  2221.   Returns
  2222.  
  2223.            Success (BOOL) 
  2224.                           TRUE if successful, FALSE else. 
  2225.  
  2226.  
  2227.  Remarks 
  2228.  
  2229.  
  2230.  Default Processing 
  2231.  No default processing 
  2232.  
  2233.  
  2234.  Related 
  2235.  
  2236.  
  2237. ΓòÉΓòÉΓòÉ 14.13. UCMENU_SETFONT ΓòÉΓòÉΓòÉ
  2238.  
  2239. This message is sent to the UCMenu to set the UCMenu font. 
  2240.  
  2241.  Param1 
  2242.  
  2243.            FontNameSize (PSZ) 
  2244.                           Font name, such as used in WinSetPresParam. 
  2245.  
  2246.  Param2 
  2247.  
  2248.            - (ULONG) 
  2249.                           Reserved. 
  2250.  
  2251.   Returns
  2252.  
  2253.            Success (BOOL) 
  2254.                           TRUE if successful, FALSE else. 
  2255.  
  2256.  
  2257.  Remarks 
  2258.  
  2259.  
  2260.  Default Processing 
  2261.  No default processing 
  2262.  
  2263.  
  2264.  Related 
  2265.  
  2266.  
  2267. ΓòÉΓòÉΓòÉ 14.14. UCMENU_ACTIONSINSERTED ΓòÉΓòÉΓòÉ
  2268.  
  2269. This message is posted to the UCMenu by its owner when it has filled the list 
  2270. of actions 
  2271.  
  2272.  Param1 
  2273.  
  2274.            param1 (ULONG) 
  2275.                           Reserved. 
  2276.  
  2277.  Param2 
  2278.  
  2279.            param2 (ULONG) 
  2280.                           Reserved 
  2281.  
  2282.   Returns
  2283.  nothing 
  2284.  
  2285.  
  2286.  Remarks 
  2287.  
  2288.  
  2289.  Default Processing 
  2290.  
  2291.  
  2292.  Related 
  2293.  UCMENU_INSERTACTION 
  2294.  
  2295.  
  2296. ΓòÉΓòÉΓòÉ 14.15. UCMENU_INSERTACTION ΓòÉΓòÉΓòÉ
  2297.  
  2298. This message is sent to the UCMenu by its owner after it received 
  2299. UCN_QRYACTIONLIST. 
  2300.  
  2301.  Param1 
  2302.  
  2303.            Action (PSZ) 
  2304.                           String including the name of the action eventually 
  2305.                           followed by parameters. 
  2306.  
  2307.  Param2 
  2308.  
  2309.            Description (PSZ) 
  2310.                           A description of the action. 
  2311.  
  2312.   Returns
  2313.  nothing 
  2314.  
  2315.  
  2316.  Remarks 
  2317.  This message has to be sent, not posted to the UCMenus control. 
  2318.  
  2319.  
  2320.  Default Processing 
  2321.  
  2322.  
  2323.  Related 
  2324.  UCN_QRYACTIONLIST 
  2325.  
  2326.  
  2327. ΓòÉΓòÉΓòÉ 14.16. UCMENU_SETBUBBLETIMERS ΓòÉΓòÉΓòÉ
  2328.  
  2329. This message is sent to the UCMenu by its owner to set the time delays 
  2330. associated with the bubble-help feature (UCS_BUBBLEHELP style). 
  2331.  
  2332.  Param1 
  2333.  
  2334.            HoverDelay (ULONG) 
  2335.                           Number of msec pointer must hover over the same menu 
  2336.                           item before the bubble help is displayed.  Maximum of 
  2337.                           65000 msec (65 seconds). 
  2338.  
  2339.  Param2 
  2340.  
  2341.            ReadTime (ULONG) 
  2342.                           Number of msec bubble help will be visible while 
  2343.                           pointer remains over the same menu item.  Bubble help 
  2344.                           is removed when the pointer leaves the UCMenu toolbar 
  2345.                           if this time has not expired yet.  Maximum of 65000 
  2346.                           msec (65 seconds). 
  2347.  
  2348.   Returns
  2349.  nothing 
  2350.  
  2351.  
  2352.  Remarks 
  2353.  
  2354.  
  2355.  Default Processing 
  2356.  
  2357.  
  2358.  Related 
  2359.  
  2360.  
  2361. ΓòÉΓòÉΓòÉ 14.17. UCMENU_ACTIVECHG ΓòÉΓòÉΓòÉ
  2362.  
  2363. This message is sent to the UCMenu by its owner whenever the frame window in 
  2364. which the menu exists becomes active or inactive. 
  2365.  
  2366.  Param1 
  2367.  
  2368.            Activated (BOOL) 
  2369.                           TRUE if the window is being activated, FALSE if being 
  2370.                           deactivated. 
  2371.  
  2372.  Param2 
  2373.  Reserved. 
  2374.  
  2375.   Returns
  2376.  Nothing 
  2377.  
  2378.  
  2379.  Remarks 
  2380.  The owner must send this message whenever the window frame in which the 
  2381.  toolbar exists becomes active or inactive. 
  2382.  
  2383.  
  2384.  Example 
  2385.  
  2386.     // Owner must notify toolbar on active status changes:
  2387.  
  2388.     case WM_ACTIVATE:
  2389.       /* Tell toolbar we are becoming active or inactive */
  2390.       WinSendMsg(ToolHwnd, UCMENU_ACTIVECHG, mp1, MPVOID);
  2391.       break;
  2392.  
  2393.  
  2394.  Related 
  2395.  
  2396.  
  2397. ΓòÉΓòÉΓòÉ 14.18. UCMENU_DISABLEUPDATE ΓòÉΓòÉΓòÉ
  2398.  
  2399. This message is sent to the UCMenu by its owner to disable updates to the 
  2400. toolbar window while items are inserted, deleted, or modified. 
  2401.  
  2402.  Param1 
  2403.  
  2404.            Disable (BOOL) 
  2405.                           TRUE if updates are to be disabled, FALSE if they are 
  2406.                           to be shown. 
  2407.  
  2408.  Param2 
  2409.  Reserved. 
  2410.  
  2411.   Returns
  2412.  Nothing 
  2413.  
  2414.  
  2415.  Remarks 
  2416.  This message can be used to improve performance when more than one menu item 
  2417.  will be inserted, deleted, or modified.  The menu will not be visually updated 
  2418.  when Disable is TRUE.  Updates will be shown when Disable is FALSE. 
  2419.  
  2420.  Note that a UCMENU_UPDATE message must be sent after the menu is disabled and 
  2421.  then enabled to insure proper update if the window. 
  2422.  
  2423.  
  2424.  Related 
  2425.  
  2426.  
  2427. ΓòÉΓòÉΓòÉ 15. Programming Interfaces (API) ΓòÉΓòÉΓòÉ
  2428.  
  2429. This section describes each of the callable UCMenu programming interfaces. 
  2430.  
  2431.  
  2432. ΓòÉΓòÉΓòÉ 15.1. UCMenuCreateFromResource ΓòÉΓòÉΓòÉ
  2433.  
  2434. This function creates a UCMenu using a menu template stored in the resources. 
  2435.  
  2436. Syntax: 
  2437.  
  2438. hUCMenu UCMenuCreateFromResource(hab hParent hOwner ulStyle x y cx cy hInsertBehind ulID hmodResource usMenuID pUCMInfo phTextMenu)
  2439.  
  2440. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2441. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2442. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2443. Γöéhab            ΓöéHAB       Γöéinput     ΓöéHandle of the anchor-block.                       Γöé
  2444. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2445. ΓöéhParent        ΓöéHWND      Γöéinput     ΓöéHandle of the parent window                       Γöé
  2446. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2447. ΓöéhOwner         ΓöéHWND      Γöéinput     ΓöéHandle of the owner window                        Γöé
  2448. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2449. ΓöéflStyle        ΓöéULONG     Γöéinput     ΓöéStyle flags of the UCMenu window, combination of  Γöé
  2450. Γöé               Γöé          Γöé          ΓöéWS_ flags and CMS_VERT, CMS_HORZ, CMS_MATRIX,     Γöé
  2451. Γöé               Γöé          Γöé          ΓöéCMS_MATRIX_VERT, CMS_MATRIX_HORZ                  Γöé
  2452. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2453. Γöéx              ΓöéULONG     Γöéinput     Γöéx coordinate of UCMenu window position            Γöé
  2454. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2455. Γöéy              ΓöéULONG     Γöéinput     Γöéy coordinate of UCMenu window position            Γöé
  2456. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2457. Γöécx             ΓöéULONG     Γöéinput     Γöéwidth of the UCMenu window, ignored if vertical orΓöé
  2458. Γöé               Γöé          Γöé          Γöématrix UCMenu                                     Γöé
  2459. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2460. Γöécy             ΓöéULONG     Γöéinput     Γöéheight of the UCMenu window, ignored if horizontalΓöé
  2461. Γöé               Γöé          Γöé          Γöéor matrix UCMenu                                  Γöé
  2462. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2463. ΓöéhInsertBehind  ΓöéULONG     Γöéinput     ΓöéSibling window behind which the UCMenu is placed, Γöé
  2464. Γöé               Γöé          Γöé          Γöécan also be HWND_TOP or HWND_BOTTOM.              Γöé
  2465. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2466. ΓöéulID           ΓöéULONG     Γöéinput     ΓöéID given to the UCMenu.                           Γöé
  2467. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2468. ΓöéhmodResource   ΓöéHMODULE   Γöéinput     ΓöéHandle of the module where the menu resource is toΓöé
  2469. Γöé               Γöé          Γöé          Γöébe found.                                         Γöé
  2470. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2471. ΓöéusMenuID       ΓöéUSHORT    Γöéinput     ΓöéID of the resource menu used as a template to     Γöé
  2472. Γöé               Γöé          Γöé          Γöécreate the UCMenu.                                Γöé
  2473. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2474. ΓöépUCMInfo       ΓöéPUCMINFO  Γöéinput     ΓöéPointer to the UCMINFO UCMenu creation structure  Γöé
  2475. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2476. ΓöéphTextMenu     ΓöéPHWND     Γöéoutput    ΓöéHandle of the menu loaded from the resource. It   Γöé
  2477. Γöé               Γöé          Γöé          Γöéshould normally not be used.                      Γöé
  2478. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2479. Returns 
  2480.  
  2481. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2482. ΓöéhUCMenu        ΓöéPSZ       Γöéreturn    ΓöéHandle of the UCMenu or NULLHANDLE if the creationΓöé
  2483. Γöé               Γöé          Γöé          Γöéfailed.                                           Γöé
  2484. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2485.  
  2486.  
  2487. Remarks 
  2488.  
  2489.  
  2490. Related 
  2491. UCMINFO data structure 
  2492.  
  2493.  
  2494. ΓòÉΓòÉΓòÉ 15.2. UCMenuCreateFromHMenu ΓòÉΓòÉΓòÉ
  2495.  
  2496. This function creates a UCMenu using an already loaded or created PM text menu. 
  2497.  
  2498. Syntax: 
  2499.  
  2500. hUCMenu UCMenuCreateFromHMenu(hab hParent hOwner ulStyle x y cx cy hInsertBehind ulID  hMenu pUCMInfo)
  2501.  
  2502. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2503. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2504. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2505. Γöéhab            ΓöéHAB       Γöéinput     ΓöéHandle of the anchor-block.                       Γöé
  2506. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2507. ΓöéhParent        ΓöéHWND      Γöéinput     ΓöéHandle of the parent window                       Γöé
  2508. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2509. ΓöéhOwner         ΓöéHWND      Γöéinput     ΓöéHandle of the owner window                        Γöé
  2510. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2511. ΓöéflStyle        ΓöéULONG     Γöéinput     ΓöéStyle flags of the UCMenu window, combination of  Γöé
  2512. Γöé               Γöé          Γöé          ΓöéWS_ flags and CMS_VERT, CMS_HORZ, CMS_MATRIX,     Γöé
  2513. Γöé               Γöé          Γöé          ΓöéCMS_MATRIX_VERT, CMS_MATRIX_HORZ                  Γöé
  2514. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2515. Γöéx              ΓöéULONG     Γöéinput     Γöéx coordinate of UCMenu window position            Γöé
  2516. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2517. Γöéy              ΓöéULONG     Γöéinput     Γöéy coordinate of UCMenu window position            Γöé
  2518. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2519. Γöécx             ΓöéULONG     Γöéinput     Γöéwidth of the UCMenu window, ignored if vertical orΓöé
  2520. Γöé               Γöé          Γöé          Γöématrix UCMenu                                     Γöé
  2521. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2522. Γöécy             ΓöéULONG     Γöéinput     Γöéheight of the UCMenu window, ignored if horizontalΓöé
  2523. Γöé               Γöé          Γöé          Γöéor matrix UCMenu                                  Γöé
  2524. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2525. ΓöéhInsertBehind  ΓöéULONG     Γöéinput     ΓöéSibling window behind which the UCMenu is placed, Γöé
  2526. Γöé               Γöé          Γöé          Γöécan also be HWND_TOP or HWND_BOTTOM.              Γöé
  2527. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2528. ΓöéulID           ΓöéULONG     Γöéinput     ΓöéID given to the UCMenu.                           Γöé
  2529. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2530. ΓöéhMenu          ΓöéHWND      Γöéinput     ΓöéHandle of the PM menu used as a template to createΓöé
  2531. Γöé               Γöé          Γöé          Γöéthe UCMenu                                        Γöé
  2532. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2533. ΓöépUCMInfo       ΓöéPUCMINFO  Γöéinput     ΓöéPointer to the UCMINFO UCMenu creation structure  Γöé
  2534. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2535. Returns 
  2536.  
  2537. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2538. ΓöéhUCMenu        ΓöéPSZ       Γöéreturn    ΓöéHandle of the UCMenu or zero if the creation      Γöé
  2539. Γöé               Γöé          Γöé          Γöéfailed.                                           Γöé
  2540. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2541.  
  2542.  
  2543. Remarks 
  2544. Note that the passed menu handle is the handle of a standard PM menu, not a 
  2545. UCMenu.  This function can be used to create an empty UCMenu by first creating 
  2546. an empty PM menu as shown in the example below. 
  2547.  
  2548.  
  2549. Example 
  2550.  
  2551.  // Create empty UCMenu from an empty PM menu
  2552.  
  2553.  PMMenu = WinCreateWindow(hwnd,   // parent
  2554.                WC_MENU,           // PM menu class
  2555.                 "",               // no window text
  2556.                 MS_ACTIONBAR,     // window style
  2557.                 0,0,0,0,          // UCMenu will set size
  2558.                 hwnd,             // owner
  2559.                 HWND_TOP,         // top of siblings
  2560.                 0,                // ID of the control
  2561.                 NULL,             // No ctl data -> empty menu
  2562.                 NULL);            // No pres parms
  2563.  UCMenu = UCMenuCreateFromHMenu(hab,
  2564.                 hwnd,             // parent
  2565.                 hwnd,             // owner to get msgs
  2566.                 CMS_HORZ,         // Orientation (CMS_* flags)
  2567.                 0,0,0,0,          // Sizing will be done by UCMenu
  2568.                 HWND_TOP,         // Put on top of siblings
  2569.                 ID_COPYMENU,      // ID new menu will have
  2570.                 PMMenu,           // Handle of menu to use for template
  2571.                 &UCMInfo);        // Initialization data structure
  2572.  
  2573.  
  2574. Related 
  2575. UCMINFO data structure 
  2576.  
  2577.  
  2578. ΓòÉΓòÉΓòÉ 15.3. UCMenuCreateFromTemplate ΓòÉΓòÉΓòÉ
  2579.  
  2580. This function creates a UCMenu using an already loaded UCMenu template 
  2581. previously created by the UCMenuMakeTemplate function. 
  2582.  
  2583. Syntax: 
  2584.  
  2585. hUCMenu UCMenuCreateFromTemplate(hab hParent hOwner ulStyle x y cx cy hInsertBehind ulID pMenuTemplate pUCMInfo phTextMenu)
  2586.  
  2587. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2588. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2589. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2590. Γöéhab            ΓöéHAB       Γöéinput     ΓöéHandle of the anchor-block.                       Γöé
  2591. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2592. ΓöéhParent        ΓöéHWND      Γöéinput     ΓöéHandle of the parent window                       Γöé
  2593. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2594. ΓöéhOwner         ΓöéHWND      Γöéinput     ΓöéHandle of the owner window                        Γöé
  2595. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2596. ΓöéflStyle        ΓöéULONG     Γöéinput     ΓöéStyle flags of the UCMenu window, combination of  Γöé
  2597. Γöé               Γöé          Γöé          ΓöéWS_ flags and CMS_VERT, CMS_HORZ, CMS_MATRIX,     Γöé
  2598. Γöé               Γöé          Γöé          ΓöéCMS_MATRIX_VERT, CMS_MATRIX_HORZ                  Γöé
  2599. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2600. Γöéx              ΓöéULONG     Γöéinput     Γöéx coordinate of UCMenu window position            Γöé
  2601. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2602. Γöéy              ΓöéULONG     Γöéinput     Γöéy coordinate of UCMenu window position            Γöé
  2603. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2604. Γöécx             ΓöéULONG     Γöéinput     Γöéwidth of the UCMenu window, ignored if vertical orΓöé
  2605. Γöé               Γöé          Γöé          Γöématrix UCMenu                                     Γöé
  2606. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2607. Γöécy             ΓöéULONG     Γöéinput     Γöéheight of the UCMenu window, ignored if horizontalΓöé
  2608. Γöé               Γöé          Γöé          Γöéor matrix UCMenu                                  Γöé
  2609. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2610. ΓöéhInsertBehind  ΓöéULONG     Γöéinput     ΓöéSibling window behind which the UCMenu is placed, Γöé
  2611. Γöé               Γöé          Γöé          Γöécan also be HWND_TOP or HWND_BOTTOM.              Γöé
  2612. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2613. ΓöéulID           ΓöéULONG     Γöéinput     ΓöéID given to the UCMenu.                           Γöé
  2614. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2615. ΓöépmtMenuTemplateΓöéPVOID     Γöéinput     ΓöéPointer to the menu template in binary format     Γöé
  2616. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2617. ΓöépUCMInfo       ΓöéPUCMINFO  Γöéinput     ΓöéPointer to the UCMINFO UCMenu creation structure  Γöé
  2618. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2619. ΓöéphTextMenu     ΓöéPHWND     Γöéoutput    ΓöéHandle of the menu loaded from the resource. It   Γöé
  2620. Γöé               Γöé          Γöé          Γöéshould normally not be used.                      Γöé
  2621. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2622. Returns 
  2623.  
  2624. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2625. ΓöéhUCMenu        ΓöéPSZ       Γöéreturn    ΓöéHandle of the UCMenu or NULLHANDLE if the creationΓöé
  2626. Γöé               Γöé          Γöé          Γöéfailed.                                           Γöé
  2627. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2628.  
  2629.  
  2630. Remarks 
  2631. Note that the template is a UCMenu template which is not the same as a PM menu 
  2632. template.  The templated passed in much have been created by a UCMenu 
  2633. template-creation function such as UCMenuMakeTemplate. 
  2634.  
  2635.  
  2636. Related 
  2637. UCMINFO data structure UCMenuMakeTemplate UCMenuSaveTemplate UCMenuLoadTemplate 
  2638. UCMenuSaveTemplateIni UCMenuLoadTemplateIni 
  2639.  
  2640.  
  2641. ΓòÉΓòÉΓòÉ 15.4. UCMenuLoadBitmap ΓòÉΓòÉΓòÉ
  2642.  
  2643. This function loads a bitmap from a file and returns its handle. 
  2644.  
  2645. Syntax: 
  2646.  
  2647. hBitmap UCMenuLoadBitmap(pszFileName)
  2648.  
  2649. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2650. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2651. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2652. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéName of the file to load.                         Γöé
  2653. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2654. Returns 
  2655.  
  2656. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2657. ΓöéhBitmap        ΓöéLONG      Γöéreturn    ΓöéBit-map handle (0 if error)                       Γöé
  2658. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2659.  
  2660.  
  2661. Remarks 
  2662. If the bitmap file contains multiple resolutions, the bitmap the most 
  2663. appropriate to the current display will be chosen. 
  2664.  
  2665.  
  2666. Related 
  2667.  
  2668.  
  2669. ΓòÉΓòÉΓòÉ 15.5. UCMenuMakeTemplate ΓòÉΓòÉΓòÉ
  2670.  
  2671. This function builds the UCMenu menu template associated with a specified 
  2672. UCMenu. Note that a UCMenu menu template is a binary data structure whose 
  2673. internal format is known and understood only by UCMenus.  UCMenus templates 
  2674. should not be used to create standard PM menus, and PM menu templates cannot be 
  2675. used to create a UCMenu. 
  2676.  
  2677. Syntax: 
  2678.  
  2679. pBuffer UCMenuMakeTemplate(hwndUCMenu, pBufLen)
  2680.  
  2681. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2682. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2683. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2684. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  2685. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2686. ΓöépBufLen        ΓöéPULONG    Γöéoutput    ΓöéPointer to the UCMenu template buffer length.     Γöé
  2687. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2688. Returns 
  2689.  
  2690. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2691. ΓöépBuffer        ΓöéPVOID     Γöéreturn    ΓöéPointer to the template (NULL if error), has to beΓöé
  2692. Γöé               Γöé          Γöé          Γöéfreed by the caller with UCMenuFree.              Γöé
  2693. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2694.  
  2695.  
  2696. Remarks 
  2697.  
  2698.  
  2699. Related 
  2700. UCMenuCreateFromTemplate UCMenuSaveTemplate UCMenuLoadTemplate 
  2701. UCMenuSaveTemplateIni UCMenuLoadTemplateIni 
  2702.  
  2703.  
  2704. ΓòÉΓòÉΓòÉ 15.6. UCMenuSaveTemplate ΓòÉΓòÉΓòÉ
  2705.  
  2706. This function builds and saves a UCMenu menu template. Note that a UCMenu menu 
  2707. template is a binary data structure whose internal format is known and 
  2708. understood only by UCMenus.  UCMenus templates should not be used to create 
  2709. standard PM menus, and PM menu templates cannot be used to create a UCMenu. 
  2710.  
  2711. Syntax: 
  2712.  
  2713. bRc UCMenuSaveTemplate(hwndUCMenu, pszFileName)
  2714.  
  2715. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2716. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2717. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2718. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  2719. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2720. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2721. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2722. Returns 
  2723.  
  2724. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2725. ΓöébRc            ΓöéBOOL      Γöéreturn    ΓöéFALSE if an error occurred.                       Γöé
  2726. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2727.  
  2728.  
  2729. Remarks 
  2730.  
  2731.  
  2732. Related 
  2733. UCMenuCreateFromTemplate UCMenuMakeTemplate UCMenuLoadTemplate 
  2734. UCMenuSaveTemplateIni UCMenuLoadTemplateIni 
  2735.  
  2736.  
  2737. ΓòÉΓòÉΓòÉ 15.7. UCMenuLoadTemplate ΓòÉΓòÉΓòÉ
  2738.  
  2739. This function loads a UCMenu menu template from a file. Note that a UCMenu menu 
  2740. template is a binary data structure whose internal format is known and 
  2741. understood only by UCMenus.  UCMenus templates should not be used to create 
  2742. standard PM menus, and PM menu templates cannot be used to create a UCMenu. 
  2743.  
  2744. Syntax: 
  2745.  
  2746. pBuffer UCMenuLoadTemplate(pszFileName, pBufLen)
  2747.  
  2748. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2749. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2750. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2751. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2752. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2753. ΓöépBufLen        ΓöéPULONG    Γöéoutput    ΓöéPointer to the length of the allocated buffer.    Γöé
  2754. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2755. Returns 
  2756.  
  2757. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2758. ΓöépBuffer        ΓöéPVOID     Γöéinput     ΓöéPointer to a buffer (NULL if error). Note: The    Γöé
  2759. Γöé               Γöé          Γöé          Γöébuffer must be freed by the caller using the      Γöé
  2760. Γöé               Γöé          Γöé          ΓöéUCMenuFree() function.                            Γöé
  2761. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2762.  
  2763.  
  2764. Remarks 
  2765.  
  2766.  
  2767. Related 
  2768. UCMenuCreateFromTemplate UCMenuMakeTemplate UCMenuSaveTemplate 
  2769. UCMenuSaveTemplateIni UCMenuLoadTemplateIni 
  2770.  
  2771.  
  2772. ΓòÉΓòÉΓòÉ 15.8. UCMenuSaveTemplateIni ΓòÉΓòÉΓòÉ
  2773.  
  2774. This function builds and saves a UCMenu menu template in an ini file. Note that 
  2775. a UCMenu menu template is a binary data structure whose internal format is 
  2776. known and understood only by UCMenus.  UCMenus templates should not be used to 
  2777. create standard PM menus, and PM menu templates cannot be used to create a 
  2778. UCMenu. 
  2779.  
  2780. Syntax: 
  2781.  
  2782. bRc UCMenuSaveTemplateIni(hwndUCMenu, pszFileName, pszKeyName)
  2783.  
  2784. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2785. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2786. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2787. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  2788. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2789. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2790. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2791. ΓöépszKeyName     ΓöéPSZ       Γöéinput     ΓöéTemplate name (NULL-terminated string)            Γöé
  2792. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2793. Returns 
  2794.  
  2795. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2796. ΓöébRc            ΓöéBOOL      Γöéreturn    ΓöéFALSE if an error occurred.                       Γöé
  2797. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2798.  
  2799.  
  2800. Remarks 
  2801.  
  2802.  
  2803. Related 
  2804. UCMenuCreateFromTemplate UCMenuMakeTemplate UCMenuSaveTemplate 
  2805. UCMenuLoadTemplate UCMenuLoadTemplateIni 
  2806.  
  2807.  
  2808. ΓòÉΓòÉΓòÉ 15.9. UCMenuLoadTemplateIni ΓòÉΓòÉΓòÉ
  2809.  
  2810. This function loads a UCMenu menu template from an ini file. Note that a UCMenu 
  2811. menu template is a binary data structure whose internal format is known and 
  2812. understood only by UCMenus.  UCMenus templates should not be used to create 
  2813. standard PM menus, and PM menu templates cannot be used to create a UCMenu. 
  2814.  
  2815. Syntax: 
  2816.  
  2817. pBuffer UCMenuLoadTemplateIni(pszFileName, pszKeyName, pBufLen)
  2818.  
  2819. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2820. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2821. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2822. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéIni File name (NULL-terminated string)            Γöé
  2823. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2824. ΓöépszKeyName     ΓöéPSZ       Γöéinput     ΓöéTemplate name (NULL-terminated string)            Γöé
  2825. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2826. ΓöépBufLen        ΓöéPULONG    Γöéoutput    ΓöéPointer to the length of the allocated buffer.    Γöé
  2827. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2828. Returns 
  2829.  
  2830. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2831. ΓöépBuffer        ΓöéPVOID     Γöéinput     ΓöéPointer to a buffer (NULL if error). Note: The    Γöé
  2832. Γöé               Γöé          Γöé          Γöébuffer must be freed by the caller using the      Γöé
  2833. Γöé               Γöé          Γöé          ΓöéUCMenuFree() function.                            Γöé
  2834. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2835.  
  2836.  
  2837. Remarks 
  2838.  
  2839.  
  2840. Related 
  2841. UCMenuCreateFromTemplate UCMenuMakeTemplate UCMenuSaveTemplate 
  2842. UCMenuLoadTemplate UCMenuSaveTemplateIni 
  2843.  
  2844.  
  2845. ΓòÉΓòÉΓòÉ 15.10. UCMenuSaveStyle ΓòÉΓòÉΓòÉ
  2846.  
  2847. This function saves various UCMenu style-related information to a file. 
  2848.  
  2849. Syntax: 
  2850.  
  2851. bRC UCMenuSaveStyle(hwndMenu, pszFileName)
  2852.  
  2853. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2854. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2855. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2856. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  2857. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2858. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2859. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2860. Returns 
  2861.  
  2862. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2863. ΓöébRC            ΓöéBOOL      Γöéreturn    ΓöéFALSE if an error occurred.                       Γöé
  2864. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2865.  
  2866.  
  2867. Remarks 
  2868. The following items are saved in the file: 
  2869.  
  2870.      Style flags 
  2871.      Current size (cx, cy) 
  2872.      Background color 
  2873.      Button face background color 
  2874.      Font name and size 
  2875.  
  2876.  
  2877.  Related 
  2878.  UCMenuLoadStyle UCMenuLoadStyleIni UCMenuSaveStyleIni 
  2879.  
  2880.  
  2881. ΓòÉΓòÉΓòÉ 15.11. UCMenuLoadStyle ΓòÉΓòÉΓòÉ
  2882.  
  2883. This function loads a menu style from a file into a UCMINFO UCMenu creation 
  2884. structure. 
  2885.  
  2886. Syntax: 
  2887.  
  2888. bSuccess UCMenuLoadStyle(pszFileName, pUCMInfo)
  2889.  
  2890. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2891. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2892. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2893. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2894. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2895. ΓöépUCMInfo       ΓöéUCMINFO * Γöéoutput    ΓöéPointer to the UCMINFO structure in which to load Γöé
  2896. Γöé               Γöé          Γöé          Γöéthe style                                         Γöé
  2897. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2898. Returns 
  2899.  
  2900. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2901. ΓöébSuccess       ΓöéBOOL      Γöéreturn    ΓöéFALSE if an error occurred.                       Γöé
  2902. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2903.  
  2904.  
  2905. Remarks 
  2906.  
  2907.  
  2908. Related 
  2909. UCMenuSaveStyle UCMenuLoadStyleIni UCMenuSaveStyleIni 
  2910.  
  2911.  
  2912. ΓòÉΓòÉΓòÉ 15.12. UCMenuSaveStyleIni ΓòÉΓòÉΓòÉ
  2913.  
  2914. This function saves the information relative to the style of a UCMenu in an ini 
  2915. file. 
  2916.  
  2917. Syntax: 
  2918.  
  2919. bRC UCMenuSaveStyleIni(hwndMenu, pszFileName, pszKeyName)
  2920.  
  2921. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2922. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2923. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2924. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  2925. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2926. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2927. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2928. ΓöépszKeyName     ΓöéPSZ       Γöéinput     ΓöéStyle name (NULL-terminated string)               Γöé
  2929. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2930. Returns 
  2931.  
  2932. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2933. ΓöébRC            ΓöéBOOL      Γöéreturn    ΓöéFALSE if an error occurred.                       Γöé
  2934. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2935.  
  2936.  
  2937. Remarks 
  2938. The following items are saved: 
  2939.  
  2940.      Style flags 
  2941.      Current size (cx, cy) 
  2942.      Background color 
  2943.      Button face background color 
  2944.      Font name and size 
  2945.  
  2946.  
  2947.  Related 
  2948.  UCMenuLoadStyle UCMenuSaveStyle UCMenuLoadStyleIni 
  2949.  
  2950.  
  2951. ΓòÉΓòÉΓòÉ 15.13. UCMenuLoadStyleIni ΓòÉΓòÉΓòÉ
  2952.  
  2953. This function loads a menu style from an ini file into a UCMInfo UCMenu 
  2954. creation structure. 
  2955.  
  2956. Syntax: 
  2957.  
  2958. bSuccess UCMenuLoadStyleIni(pszFileName, pszKeyName, pUCMInfo)
  2959.  
  2960. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2961. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2962. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2963. ΓöépszFileName    ΓöéPSZ       Γöéinput     ΓöéFile name (NULL-terminated string)                Γöé
  2964. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2965. ΓöépszKeyName     ΓöéPSZ       Γöéinput     ΓöéStyle name (NULL-terminated string)               Γöé
  2966. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2967. ΓöépUCMInfo       ΓöéUCMINFO * Γöéoutput    ΓöéPointer to the UCMInfo structure in which to load Γöé
  2968. Γöé               Γöé          Γöé          Γöéthe style                                         Γöé
  2969. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2970. Returns 
  2971.  
  2972. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2973. ΓöébSuccess       ΓöéBOOL      Γöéreturn    ΓöéFALSE if an error occurred.                       Γöé
  2974. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2975.  
  2976.  
  2977. Remarks 
  2978.  
  2979.  
  2980. Related 
  2981. UCMenuLoadStyle UCMenuSaveStyle UCMenuSaveStyleIni 
  2982.  
  2983.  
  2984. ΓòÉΓòÉΓòÉ 15.14. UCMenuFreeMenuData ΓòÉΓòÉΓòÉ
  2985.  
  2986. This function frees the data associated with the OWNERDRAW items of a menu. 
  2987.  
  2988. Syntax: 
  2989.  
  2990. - UCMenuFreeMenuData(hwndMenu)
  2991.  
  2992. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2993. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  2994. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2995. ΓöéhwndMenu       ΓöéHWND      Γöéinput     ΓöéMenu window handle.                               Γöé
  2996. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2997. Returns 
  2998.  
  2999. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3000. Γöé-              ΓöéVOID      Γöé-         ΓöéNothing.                                          Γöé
  3001. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3002.  
  3003.  
  3004. Remarks 
  3005. This function parses the whole menu (including submenus). It frees the data 
  3006. structure associated with every OWNERDRAW item. 
  3007.  
  3008. This function requires the owner of the menu to be the UCMenu. Note: This 
  3009. function is automatically executed when a UCMenu receives a WM_DESTROY message. 
  3010.  
  3011.  
  3012. Related 
  3013.  
  3014.  
  3015. ΓòÉΓòÉΓòÉ 15.15. UCMenuIdFromCoord ΓòÉΓòÉΓòÉ
  3016.  
  3017. This function returns the id of the menu item that is at a specified position. 
  3018.  
  3019. Syntax: 
  3020.  
  3021. ItemID UCMenuIdFromCoord(hwndMenu, pptrPos)
  3022.  
  3023. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3024. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3025. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3026. ΓöéhwndMenu       ΓöéHWND      Γöéinput     ΓöéMenu window handle.                               Γöé
  3027. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3028. ΓöépptrPos        ΓöéPPOINTL   Γöéinput     ΓöéPosition                                          Γöé
  3029. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3030. Returns 
  3031.  
  3032. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3033. ΓöéItemID         ΓöéUSHORT    Γöéreturn    ΓöéThe item Identifier. 0 if not found.              Γöé
  3034. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3035.  
  3036.  
  3037. Remarks 
  3038. This function doesn't check the submenus. However, you can identify an item in 
  3039. a submenu if you pass the hwnd of the submenu. 
  3040.  
  3041.  
  3042. Related 
  3043.  
  3044.  
  3045. ΓòÉΓòÉΓòÉ 15.16. UCMenuGetActionID ΓòÉΓòÉΓòÉ
  3046.  
  3047. This function returns the ID of the item with a pszAction action, starting at 
  3048. the item sStart. 
  3049.  
  3050. Syntax: 
  3051.  
  3052. FoundID UCMenuGetActionID(hwndUCM, pszAction, , bSubmenus, sStart )
  3053.  
  3054. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3055. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3056. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3057. ΓöéhwndUCM        ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  3058. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3059. ΓöépszAction      ΓöéPSZ       Γöéinput     ΓöéAction string to look for                         Γöé
  3060. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3061. ΓöébSubmenus      ΓöéBOOL      Γöéinput     ΓöéLook in submenus or not.                          Γöé
  3062. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3063. ΓöéStart          ΓöéSHORT     Γöéinput     ΓöéItem ID to start with, MIT_FIRST for the          Γöé
  3064. Γöé               Γöé          Γöé          Γöébeginning.                                        Γöé
  3065. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3066. Returns 
  3067.  
  3068. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3069. ΓöéFoundID        ΓöéSHORT     Γöéreturn    ΓöéItem ID found, or MIT_NONE                        Γöé
  3070. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3071.  
  3072.  
  3073. Remarks 
  3074. Note that more than one item in the menu may have the same action string.  This 
  3075. function can be used to enumerate all the items in the menu with a particular 
  3076. action string. 
  3077.  
  3078.  
  3079. Related 
  3080.  
  3081.  
  3082. ΓòÉΓòÉΓòÉ 15.17. UCMenuSetActionAttr ΓòÉΓòÉΓòÉ
  3083.  
  3084. This function sets the attributes of the items with the given action string. 
  3085.  
  3086. Syntax: 
  3087.  
  3088. void UCMenuSetActionAttr(hwndUCM, pszAction, usAttrMask, usAttrValue)
  3089.  
  3090. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3091. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3092. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3093. ΓöéhwndUCM        ΓöéHWND      Γöéinput     ΓöéUCMenu window handle.                             Γöé
  3094. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3095. ΓöépszAction      ΓöéPSZ       Γöéinput     ΓöéAction string to look for                         Γöé
  3096. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3097. ΓöéusAttrMask     ΓöéUSHORT    Γöéinput     ΓöéAttribute mask to use                             Γöé
  3098. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3099. ΓöéusAttrValue    ΓöéUSHORT    Γöéinput     ΓöéAttribute value to set                            Γöé
  3100. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3101. Returns 
  3102.  
  3103. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3104. Γöé-              ΓöéVOID      Γöéreturn    ΓöéNothing                                           Γöé
  3105. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3106.  
  3107.  
  3108. Remarks 
  3109. A UCMenu may have more than one item with the same action string.  This 
  3110. function will set the given attribte on all items in the menu with the given 
  3111. action string. 
  3112.  
  3113.  
  3114. Related 
  3115.  
  3116.  
  3117. ΓòÉΓòÉΓòÉ 15.18. UCMenuLoadDefault ΓòÉΓòÉΓòÉ
  3118.  
  3119. This function updates the UCMenu with the default template. 
  3120.  
  3121. Syntax: 
  3122.  
  3123. bSuccess UCMenuLoadDefault(hwndUCMenu)
  3124.  
  3125. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3126. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3127. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3128. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéHandle of the UCMenu                              Γöé
  3129. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3130. Returns 
  3131.  
  3132. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3133. ΓöébSuccess       ΓöéBOOL      Γöéreturn    ΓöéTrue if successful, FALSE else                    Γöé
  3134. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3135.  
  3136.  
  3137. Remarks 
  3138. This call will cause the UCMenu to send a UCN_QRYDEFTEMPLATE or 
  3139. UCN_QRYDEFTEMPLATEID message to the owner to get the default template to be 
  3140. loaded. 
  3141.  
  3142.  
  3143. Related 
  3144.  
  3145.  
  3146. ΓòÉΓòÉΓòÉ 15.19. UCMenuNew ΓòÉΓòÉΓòÉ
  3147.  
  3148. This function updates the UCMenu with a new template.  Note that the template 
  3149. is a UCMenus template created with one of the UCMenu template functions (such 
  3150. as UCMenuMakeTemplate).  A PM menu template may not be used. 
  3151.  
  3152. Syntax: 
  3153.  
  3154. bSuccess UCMenuNew(hwndUCMenu, pTemplate)
  3155.  
  3156. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3157. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3158. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3159. ΓöéhwndUCMenu     ΓöéHWND      Γöéinput     ΓöéHandle of the UCMenu                              Γöé
  3160. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3161. ΓöépTemplate      ΓöéPVOID     Γöéinput     ΓöéTemplate of the new menu.                         Γöé
  3162. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3163. Returns 
  3164.  
  3165. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3166. ΓöébSuccess       ΓöéBOOL      Γöéreturn    ΓöéTrue if successful, FALSE else                    Γöé
  3167. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3168.  
  3169.  
  3170. Remarks 
  3171.  
  3172.  
  3173. Related 
  3174.  
  3175.  
  3176. ΓòÉΓòÉΓòÉ 15.20. UCMenuResourceBuffetDlg ΓòÉΓòÉΓòÉ
  3177.  
  3178. This dialog let the user pick items from a buffet toolbar coming from a 
  3179. resource. 
  3180.  
  3181. Syntax: 
  3182.  
  3183. - UCMenuResourceBuffetDlg(hParent, hUCMenu, ulBuffetID, hmodBuffet)
  3184.  
  3185. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3186. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3187. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3188. ΓöéhParent        ΓöéHWND      Γöéinput     ΓöéParent of the dialog.                             Γöé
  3189. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3190. ΓöéhUCMenu        ΓöéHWND      Γöéinput     ΓöéHandle of the UCMenu to modify.                   Γöé
  3191. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3192. ΓöéulBuffetID     ΓöéULONG     Γöéinput     ΓöéID of the buffet menu.                            Γöé
  3193. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3194. ΓöéhmodBuffet     ΓöéHMODULE   Γöéinput     ΓöéModule where the buffet menu is.                  Γöé
  3195. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3196. Returns 
  3197.  
  3198. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3199. ΓöéulResult       ΓöéULONG     Γöéreturn    Γöéresult of WinDglBox                               Γöé
  3200. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3201.  
  3202.  
  3203. Remarks 
  3204.  
  3205. The purpose of this call is to allow easy drag-and-drop customization of a 
  3206. UCMenu.  A dialog will be displayed which contains two UCMenus (the buffet menu 
  3207. and the menu to be customized).  The user can drag items from the buffet and 
  3208. add them to the menu, and they can drag items from the menu to a shredder icon 
  3209. to delete them. 
  3210.  
  3211. The application supplies (via the ulBuffetID menu) the list of menu items the 
  3212. user can choose from.  The user cannot change the bitmaps or action strings of 
  3213. the menu items, nor can they add new items not supplied by the application. 
  3214.  
  3215. When the user selects the OK button on the buffet dialog, the UCMenu 
  3216. represented by hUCMenu is updated.  If the user cancels, the menu is not 
  3217. affected.  When a menu is updated via the buffet dialog, all the current items 
  3218. of the menu will be deleted, followed by insertion of the new items. 
  3219. Applications which monitor the insert and delete of menu items should be 
  3220. prepared to handle this mass-delete and mass-insert which occurs when the menu 
  3221. is updated via the buffet dialog. 
  3222.  
  3223.  
  3224. Related 
  3225.  
  3226.  
  3227. ΓòÉΓòÉΓòÉ 15.21. UCMenuTemplateBuffetDlg ΓòÉΓòÉΓòÉ
  3228.  
  3229. This dialog let the user pick items from a buffet toolbar coming from a 
  3230. template.  Note that this template is a UCMenus template created by one of the 
  3231. UCMenu template functions.  It is not a PM menu template. 
  3232.  
  3233. Syntax: 
  3234.  
  3235. - UCMenuTemplateBuffetDlg(hParent, hUCMenu, pTemplate)
  3236.  
  3237. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3238. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3239. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3240. ΓöéhParent        ΓöéHWND      Γöéinput     ΓöéParent of the dialog.                             Γöé
  3241. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3242. ΓöéhUCMenu        ΓöéHWND      Γöéinput     ΓöéHandle of the UCMenu to modify.                   Γöé
  3243. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3244. ΓöépTemplate      ΓöéPVOID     Γöéinput     ΓöéTemplate of the buffet menu                       Γöé
  3245. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3246. Returns 
  3247.  
  3248. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3249. ΓöéulResult       ΓöéULONG     Γöéreturn    Γöéresult of WinDglBox                               Γöé
  3250. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3251.  
  3252.  
  3253. Remarks 
  3254.  
  3255.  
  3256. Related 
  3257.  
  3258.  
  3259. ΓòÉΓòÉΓòÉ 15.22. UCMenuGetVersion ΓòÉΓòÉΓòÉ
  3260.  
  3261. This function returns the version of the UCMenus code. 
  3262.  
  3263. Syntax: 
  3264.  
  3265. ulVersion UCMenuGetVersion(-)
  3266.  
  3267. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3268. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3269. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3270. Returns 
  3271.  
  3272. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3273. ΓöéulVersion      ΓöéULONG     Γöéreturn    Γöéversion of the UCMenus.                           Γöé
  3274. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3275.  
  3276.  
  3277. Remarks 
  3278.  
  3279.  
  3280. Related 
  3281.  
  3282.  
  3283. ΓòÉΓòÉΓòÉ 15.23. UCMenuAlloc ΓòÉΓòÉΓòÉ
  3284.  
  3285. External entry point to the allocation routine used by the UCMenus. 
  3286.  
  3287. Syntax: 
  3288.  
  3289. PVOID UCMenuAlloc(size)
  3290.  
  3291. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3292. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3293. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3294. Γöésize           Γöésize_t    Γöéinput     ΓöéSize to allocate.                                 Γöé
  3295. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3296. Returns 
  3297.  
  3298. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3299. ΓöépMem           ΓöéPVOID     Γöéreturn    ΓöéPointer to the allocated memory or 0 if failure.  Γöé
  3300. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3301.  
  3302.  
  3303. Remarks 
  3304. Strings and structures which may passed to UCMenus should use the UCMenu memory 
  3305. allocation functions. 
  3306.  
  3307.  
  3308. Related 
  3309. UCMenuFree UCMenuStrdup 
  3310.  
  3311.  
  3312. ΓòÉΓòÉΓòÉ 15.24. UCMenuStrdup ΓòÉΓòÉΓòÉ
  3313.  
  3314. Allocates and copies string using UCMenu memory allocation. 
  3315.  
  3316. Syntax: 
  3317.  
  3318. PSZ UCMenuStrdup(string)
  3319.  
  3320. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3321. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3322. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3323. Γöéstring         ΓöéPSZ       Γöéinput     ΓöéString to be copied.                              Γöé
  3324. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3325. Returns 
  3326.  
  3327. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3328. Γöécopy           ΓöéPSZ       Γöéreturn    ΓöéPointer to the copied string or 0 if failure.     Γöé
  3329. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3330.  
  3331.  
  3332. Remarks 
  3333. Strings and structures which may passed to UCMenus should use the UCMenu memory 
  3334. allocation functions. 
  3335.  
  3336.  
  3337. Related 
  3338. UCMenuFree UCMenuAlloc 
  3339.  
  3340.  
  3341. ΓòÉΓòÉΓòÉ 15.25. UCMenuFree ΓòÉΓòÉΓòÉ
  3342.  
  3343. External entry point to the freeing routine used by the UCMenus. 
  3344.  
  3345. Syntax: 
  3346.  
  3347. - UCMenuFree(pMem)
  3348.  
  3349. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3350. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3351. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3352. ΓöépMem           ΓöéPVOID     Γöéinput     ΓöéPointer to free.                                  Γöé
  3353. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3354. Returns 
  3355.  
  3356. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3357. Γöé-              ΓöéVOID      Γöé-         ΓöéNothing.                                          Γöé
  3358. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3359.  
  3360.  
  3361. Remarks 
  3362.  
  3363.  
  3364. Related 
  3365. UCMenuAlloc UCMenuStrdup 
  3366.  
  3367.  
  3368. ΓòÉΓòÉΓòÉ 15.26. UCMenuItemDup ΓòÉΓòÉΓòÉ
  3369.  
  3370. Allocate storage for, and copy a UCMITEM structure including the strings it 
  3371. contains. Any of the string pointers may be NULL. 
  3372.  
  3373. Syntax: 
  3374.  
  3375. UCMITEM * UCMenuItemDup(UCMItem)
  3376.  
  3377. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3378. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3379. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3380. ΓöéUCMItem        ΓöéUCMITEM * Γöéinput     ΓöéPointer to UCMITEM structure which is to be       Γöé
  3381. Γöé               Γöé          Γöé          Γöéduplicated.                                       Γöé
  3382. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3383. Returns 
  3384.  
  3385. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3386. ΓöéNewItem        ΓöéUCMITEM * Γöéreturns   ΓöéReturns a pointer to the new UCMITEM structure.   Γöé
  3387. Γöé               Γöé          Γöé          ΓöéThe structure will be filled with strings         Γöé
  3388. Γöé               Γöé          Γöé          Γöéduplicated from the original UCMITEM structure.   Γöé
  3389. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3390.  
  3391.  
  3392. Remarks 
  3393. Note that the structure as well as the string pointes are duplicated by this 
  3394. function. 
  3395.  
  3396.  
  3397. Related 
  3398. UCMenuAlloc UCMenuStrdup 
  3399.  
  3400.  
  3401. ΓòÉΓòÉΓòÉ 15.27. UCMenuItemFree ΓòÉΓòÉΓòÉ
  3402.  
  3403. Free all strings in a UCMITEM structure and then free the storage for the 
  3404. structure itself. Any of the string pointers may be NULL. 
  3405.  
  3406. Syntax: 
  3407.  
  3408. void UCMenuItemFree(UCMItem)
  3409.  
  3410. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3411. ΓöéName           ΓöéType      ΓöéIn/Out    ΓöéDescription                                       Γöé
  3412. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3413. ΓöéUCMItem        ΓöéUCMITEM * Γöéinput     ΓöéPointer to UCMITEM structure which contains       Γöé
  3414. Γöé               Γöé          Γöé          Γöépointers to strings to be freed.                  Γöé
  3415. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3416. Returns 
  3417.  
  3418. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3419. Γöé-              ΓöéVOID      Γöé-         ΓöéNothing.                                          Γöé
  3420. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3421.  
  3422.  
  3423. Remarks 
  3424. Note that the structure as well as the string pointes are freed by this 
  3425. function. 
  3426.  
  3427.  
  3428. Related 
  3429. UCMenuAlloc UCMenuStrdup