DesktopX version 2.2

What's new from version 2.1:
-------
Major new features:
+ Overlays - use F9/F10 to activate or show/hide widgets and objects that are normal Z-order.
+ Overlay hot keys can be defined by users
+ Widgets will automatically install themselves to your widget folder no matter where they are run from.
+ Widgets can be set to be run on start up from their right-click menu.
+ Important to remember: Widgets DO NOT require DesktopX to be running to be used.
+ DirectGUI V2 now the base graphics engine. Means much faster graphics drawing, animation, shadows, real time dragging, etc. Just plain faster.
+ Rotation and sizing now integrated into scripts and very fast.
+ ActiveX controls have lower memory overhead.

 

Minor new features or fixes:

- New Documentation
- Widgets can be imported into your DesktopX environment as objects (import menu)
- Widgets will automatically install themselves into the DesktopX Widgets folder for future use.
- Widgets will remember their last position
- Widgets and objects can install fonts that are included as part of them (see summary page on object to attach files).
- Load widget menu item from DesktopX system tray item.
- ActiveX controls behave better.
- Tons of new abilities to the DesktopX class (right click properties, object type) such as create a new object.
- New tab for configuring overlays
- IconX graduates to its own stand-alone program but IconX support still integrated into DesktopX (if you have IconX installed you can configure it from DesktopX still).
- Lots of "Crash bugs" found/fixed
- Multi-monitor support improved
- Shadows set to be controlled by offsets
- Multi-line DX labels
- Better edge alignment support
- Multi-line tooltips
- Bitmap resizing much faster.
- Most of the object model is now accessible from scripting.
- DX auto-reinitializes VBScript.dll if it gets messed for some reasons.
- Added Object.Contrast [-100,100]
- Added States("name") namespace. It supports:
.Hue [1,255] 0=disabled
.Opacity [0,100]
.Brightness [-255,255]
.Contrast [-100,100]
.Rotation
.TextColor
.Text
.TextBorder
.TextBorderColor
- Added Widget.Restore
Widget.Minimize
Widget.About
Widget.Close
Widget.Caption - sets the widget systray tooltip or taskbar item text.
- Added States and Comment fields to the Navigator.
- Object browser can directly modify the object position, width and comments.
- ObjNav row selections are synced with actual DX objects selections.
- Improved and fixed widget systray and taskbar access.
- Fixed/improved ActiveX dragging over layered windows.
- Objects stick on screen border.
- To reference ALL states, use empty string (i.e. .State("").)
- Fixed 1000 max objects limit.
- Systray Widgets icon click toggles it visible/invisible.
- Exposed the Widget namespace in the GUI.
- Added System_OnScreenChange. It can be used to manually reposition/resize objects and contained objects.  In this case it is suggested to disable automatic reposition (just leave Left/Top screen adjustment settings).
- Changed the way workarea is implemented. It should fix positioning issues and other problems.
- Added By Name and By Date sorting methods in Object and Theme navigator.
- Fixed export preview to take invisible objects in consideration.
- DesktopX builds now bitmaps and effects on the fly only when they are needed and trashes them when they are not used anymore. This greatly reduces loading time and average memory usage.
- Fixed bug when unloading non-Pro widgets.
- Fixed all Browse dialogs on Win9x.
- Implemented Object.Parent to set parent objects at runtime.
- Fixed crash in .ini parser for corrupted objects.
- DXScripts should be Norton friendly.
- Improved automatic installation/uninstallation of sdctrls.dll for DX Pro objects.
- Fixed bad crash with multiple object properties panels opened.
- Added Object.Resize(w, h) method. It's the dual of .Move. It sets width+height in one shoot for better performance.
- Fixed Hue changing resetting the animation.
- Added System.IsKeyDown(vk).
- Added Object_OnKeyUp(vk, flags).
- Added Cursor templates to DX objects (Relation panel).
- Removed Persistent objects. You can more effectly use widgets for that purpose.
- Fixed Object dragging continuing after losing focus.
- Tons of core optimizations and tweaks.
- AX ctrls properties can be correctly set at design time.
- Fixed AX ctrls misalign after parent dragging.
- Added Object_OnStateChanged(state). This is different from _OnStateChange in that it notifies when the status change has completed (i.e. when the animation has finished). This can be useful for synchronization of objects and effects.
- Added script methods: System.FolderDialog(title, rootdir, flags) for flags, see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/browseinfo.asp System.FileOpenDialog and FileSaveDialog(title, defaultFile, initialDir, extensions, flags) extensions must be a serie of | separated description-extension pairs like: "Text files|*.txt|All files|*.*" for flags, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/CommonDialogBoxLibrary/CommonDialogBoxReference/CommonDialogBoxStructures/OPENFILENAME.asp
 

ex.
x = System.FileSaveDialog("My title", "new.txt", "c:\temp", "Text files|*.txt|All files|*.*", 0)

Object_OnDropFiles(files)
files is a string with dropped file names separated by "|"
ex.
Function Object_OnDropFiles(files)
x = Split(files, "|")
For i=0 To UBound(x)
msgbox x(i)
Next
Object_OnDropFiles = True
End Function
 

- Fixed global admin password not setting (not 9x browse buttons though)
- Fixed System.SetWallpaper
- Fixed AX misalignment on setting appbars.
- Fixed desktop zorder in standalone widgets.
- Correct workarea calculation and appbar sizing in standalone widgets.
- Fixed Remove widget option leaving undeleted objects.