New Features

Completely rewritten, this version of the plugin is now roughly half the size of the previous version, with more size reductions to come.

This version of the plugin also allows for the skinning of the popup menus the plugin displays. To accomplish this, a new UIS section has been introduced, WBWinMenu. This section is completely optional. If not entered, the plugin operates as in previous versions. If entered, all of the section's parameters must be entered and must be valid for the popup menus to be skinned properly.

UIS Modifications

Titlebar Button Section

This section is required and is used to associate the plugin with a titlebar button. You have the option of providing a skin bmp yourself or of having the plugin draw the button for you using a default bmp. The default bmp looks like this: The magenta colored pixels will not be drawn.

Section Title

Button?

Section Parameters

Parameter Description
XCoord Specifies the
YCoord Specifies the
Align Specifies the
Action Specifies the
Visibility Specifies the
ButtonImage Specifies the
DllName Specifies the WB home directory relative path to the WBWinMenu.dll file.
Width Specifies the
Height Specifies the

Example

[Button6]
XCoord=83
YCoord=5
Align=1
Action=-4
Visibility=0
ButtonImage=Polymer\WinMenu.bmp
DllName=Polymer\WBWinMenu.dll

WBWinMenu Skinning Section

Section Title

WBWinMenu

Section Parameters

Parameter Description
BkgndImage Specifies the WB home directory relative path to the .bmp file to use as the menu's background.
FixedLeft Specifies the number of pixels along the left menu edge to be considered as fixed in width.
FixedTop Specifies the number of pixels along the top menu edge to be considered as fixed in height.
FixedRight Specifies the number of pixels along the right menu edge to be considered as fixed in width.
FixedBottom Specifies the number of pixels along the bottom menu edge to be considered as fixed in height.

The 4 sizing parameters are used to divide the bitmap in up to 9 different segments. Assuming all 4 sizing parameters are non-zero, the segments are as follows:

Segment Width Height Width Parm Height Parm
1 Fixed Fixed FixedLeft FixedTop
2 Tiled Fixed N/A FixedTop
3 Fixed Fixed FixedRight FixedTop
4 Fixed Tiled FixedLeft N/A
5 Stretched Stretched N/A N/A
6 Fixed Tiled FixedRight N/A
7 Fixed Fixed FixedLeft FixedBottom
8 Tiled Fixed N/A FixedBottom
9 Fixed Fixed FixedRight FixedBottom

Example

[WBWinMenu]
BkgndFile=Polymer\WBWinMenu.bmp
FixedLeft=17
FixedTop=22
FixedRight=17
FixedBottom=22