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