-- Tightened up rules for value of the <show_type> parameter of the
show service, so that controls only accept "show", "hide" and their
synonyms, not the other dialog-oriented possibilities.

-- Again for the show service, added the <show_type>s "traymin",
"trayicon" (and a bunch of arguments to follow) for dialogs, so
dialogs can now display an icon in the system tray (not necessarily
the one assigned to the dialog).  

-- Calling dlgHan.show("traymin") will hide the dialog as well as
creating the tray icon.  

-- dlgHan.show("traydel") will kill the tray icon.

-- You can assign an action to a tray icon using the <script_to_call>
argument of the show service; you can use cl services to make that
action showing a menu.

-- You can set the colours of a control's tooltip with set_tooltip and
set_colour…

-- …but Sheri Pierce notices that there's a problem using tooltips and
XP visual styles.  I'm still trying to fix that.

-- You can use set_tooltip to set a tooltip on a tray icon created
with the show service, and to display a balloon-style, notification
tip from the tray icon on request.  

-- set_tooltip, if used to set a balloon tooltip's properties, can
have a further parameters, <title> and <icon>.

-- set_tooltip <delay> parameter can be used to set a tooltip's delays.

-- You can use set_response to set or change actions associated with
mouse clicks on the tray icon.

-- For dialogs you can specify <sys_command>s for set_response,
allowing you to respond to stuff like user closing, moving, resizing,
minimising and maximize the dialog.

-- There can now be only one control with <id> (set as a parameter of
define_control) of "escapable" or "cancel"; one precludes the other. 
You can also get the same effect as "escapable" by creating a button
with <id> of  "cancel" and with the "nodestroy" style.

-- the <name> parameter of define_control is subject to tighter rules;
must be be of 2-63 characters in length, must begin with an alphabetic
character, and must not be the same (case insensitive) as any of the
<show_type>s allowed for the show command applied to a dialog

-- I thought tooltip text could only have explicit line breaks if you
specified <width> as part of <tooltip_style>.  Turns out, not so.  And
since "\n" works fine as a line break in a tooltip, I've removed the
rule that line breaks are marked by "/".  That means if you want a
tooltip with line breaks, you can't define it in a
<dialog_definition_file>; you'll have to use set_tooltip instead.

-- Clarified discussion of <action_on_close>.

-- Added "prevctrl" property to get_value applied to dialogs, and
"owner" applied to controls and dialogs created modal and with an <owner>.

-- Updated dialogPluginFunctions.txt to match above changes

-- Improved specificity of error messages to do with bad parameters.

-- Finally got around to fleshing out handling script ("onLV") for the
listView in dialogPluginDemo5.powerpro; it now reports any time a new
row is selected in the control.

-- Fixed bug in get_value for listviews with keyword "selectedindex" 



Reply via email to