home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ucmen212.zip / HELP / UCMENUS.HLP (.txt) next >
OS/2 Help File  |  1996-05-31  |  6KB  |  188 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Style dialog ΓòÉΓòÉΓòÉ
  3.  
  4. You can check the following items to change the general style of the UCMenu : 
  5.  
  6.  Show the text 
  7.            Display the text. 
  8.  Frame the items 
  9.            Draw a 3D frame around each item. 
  10.  Force the size 
  11.            Use the Width and Height fields to specify the size in pixels you 
  12.            want to give to each item. 
  13.            If the item is smaller, it is centered. 
  14.            If the item is bigger, the bitmap is shrunk. 
  15.            There are three shrink modes : 
  16.            Ignore 
  17.                           Ignore the lost lines and columns, works best for 
  18.                           bitmaps with lots of colors. 
  19.            And 
  20.                           Works best for bitmaps with dark drawings on light 
  21.                           backgrounds. 
  22.            Or 
  23.                           Works best for bitmaps with light drawings on dark 
  24.                           backgrounds. 
  25.  
  26.  
  27. ΓòÉΓòÉΓòÉ 2. Item edition notebook ΓòÉΓòÉΓòÉ
  28.  
  29. This notebook is displayed when you select Create item or Edit item from the 
  30. context menu. You can display one of the following pages : 
  31.  
  32.      Position 
  33.      General 
  34.      Action 
  35.  
  36.  
  37. ΓòÉΓòÉΓòÉ 3. Item position ΓòÉΓòÉΓòÉ
  38.  
  39. You can create an item at the End of the UCMenu, Before or After the current 
  40. item. 
  41.  
  42. Note:  If you did not display the context menu over an item, you can just chose 
  43. End 
  44.  
  45. If you select the Non selectable item button, the created item will not be 
  46. selectable and will just be used as a decoration. 
  47.  
  48. If you select the Spacer button, the created item will be an item without text, 
  49. bitmap or frame, which can be used as a separator. 
  50.  
  51.  
  52. ΓòÉΓòÉΓòÉ 4. General ΓòÉΓòÉΓòÉ
  53.  
  54. This page allows to chose the text and the bitmap of an item. An item must have 
  55. at least one of the two. 
  56.  
  57.  Title 
  58.            Text to be written in the item if the Show text style is chosen. 
  59.            An accelerator key can be defined by putting a "~" in front of the 
  60.            chosen character. The character will be displayed underscored on the 
  61.            item and pressing on its key while the focus is on the UCMenu will 
  62.            select the item. 
  63.  Built-in... 
  64.            Display a dialog to chose a new bitmap among the set of built-in 
  65.            bitmaps. 
  66.  Load... 
  67.            Display a file dialog to chose a new bitmap. 
  68.  Edit... 
  69.            If the icon comes from a file, start iconedit to edit it. 
  70.  Create... 
  71.            Start iconedit to create a new bitmap. 
  72.  
  73.  Under the bitmap frame is displayed its filename, or its id if it comes from 
  74.  the resources. 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 5. Item action ΓòÉΓòÉΓòÉ
  78.  
  79. The chosen Function will be executed  with the associated Parameters when the 
  80. item is selected. 
  81.  
  82. You can chose the function in a list: 
  83.  
  84.      The ExecuteProgram function starts the program given in the Parameters 
  85.       field in another thread. 
  86.      The other functions supplied depends on the application using the UCMenu. 
  87.  
  88.  
  89. ΓòÉΓòÉΓòÉ 6. Drag and drop features ΓòÉΓòÉΓòÉ
  90.  
  91. You can use drag and drop to copy or move items between ucmenus. 
  92.  
  93. The default operation is move, you can also do a copy if you press the Control 
  94. key while dropping. 
  95.  
  96. It is possible to do drag and drop between ucmenus from different applications. 
  97.  
  98. The submenus attached to an item are not kept if you do a copy, or if you do a 
  99. drag and drop between different applications. 
  100.  
  101. If you press the Alt key while dropping over an item , the operation will be a 
  102. copy to the submenu of this item. If it had no submenu, one will be created. 
  103.  
  104. A frame is drawn around the destination item. 
  105.  
  106. On an horizontal or matrix ucmenu, the dropped item can go either to the left 
  107. or to the right of the destination item, depending on the drop zone. 
  108.  
  109. On a vertical ucmenu, it goes to the top or to the bottom of the destination 
  110.  
  111. You can drop on the part of the UCMenu where there are no items, the dropped 
  112. item will be added at the end. 
  113.  
  114. An item can be rendered as a bitmap file. 
  115.  
  116. If its bitmap comes from a file and not from the application, an item can be 
  117. dropped for example on iconedit to edit its bitmap. 
  118.  
  119. If a bitmap file is dropped, a new item using this bitmap is created. 
  120.  
  121. An item can also be dropped on the shredder to be deleted. 
  122.  
  123. Fonts and colors can be dragged and dropped from the system palettes to change 
  124. the appearance of the ucmenu. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 7. Context Menu ΓòÉΓòÉΓòÉ
  128.  
  129. You can select an action which will affect either one item or the whole 
  130. toolbar. 
  131.  
  132.  
  133. ΓòÉΓòÉΓòÉ 8. Edit item... ΓòÉΓòÉΓòÉ
  134.  
  135. Display a notebook to select the bitmap, text and action associated to the 
  136. item. 
  137.  
  138.  
  139. ΓòÉΓòÉΓòÉ 9. Create item... ΓòÉΓòÉΓòÉ
  140.  
  141. Display a notebook to select the bitmap, text, action and position 
  142.  
  143.  of the new item. 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 10. Delete. ΓòÉΓòÉΓòÉ
  147.  
  148. Deletes the item on which the context menu was popped up. 
  149.  
  150.  
  151. ΓòÉΓòÉΓòÉ 11. Change style... ΓòÉΓòÉΓòÉ
  152.  
  153. Display a dialog to modify the appearance of the tool bar. 
  154.  
  155.  
  156. ΓòÉΓòÉΓòÉ 12. Load default. ΓòÉΓòÉΓòÉ
  157.  
  158. Switch back to the original tool bar. 
  159.  
  160.  
  161. ΓòÉΓòÉΓòÉ 13. Import... ΓòÉΓòÉΓòÉ
  162.  
  163. Restore a tool bar from a file. 
  164.  
  165.  
  166. ΓòÉΓòÉΓòÉ 14. Export... ΓòÉΓòÉΓòÉ
  167.  
  168. Save a tool bar to a file. 
  169.  
  170.  
  171. ΓòÉΓòÉΓòÉ 15. Toolbar buffet dialog. ΓòÉΓòÉΓòÉ
  172.  
  173. The top toolbar is the buffet, it contains all the built-in items. 
  174.  
  175. The bottom toolbar represents the toolbar you want to modify. 
  176.  
  177. You can drag items : 
  178.  
  179.      From the buffet to the bottom toolbar to add them. 
  180.      Inside the bottom toolbar to change their ordering. 
  181.      From the bottom toolbar to the shredder icon to remove them. 
  182.  
  183.  You can click on an item to pop up a message box with its description. 
  184.  
  185.  You can also click on the right mouse button over a bottom toolbar item to 
  186.  display the context menu and do more advanced modifications. 
  187.  
  188.