What is wrong with line 20 of the sample code included with the Styx Plugins window shaper?
Does anyone have a clue what the problem is??? The code was never altered and came with the Plugin.
The current syntax is:
20 Shape Drag Mode \"shapeDrag.bmp\"
The ERROR Reads:
Parameter mismatch in command \'SHAPE DRAG MODE\' at line 20.
I have the recomended (Latest) DirectX 9 and am Running Dark Basic Pro Ver 1.074. I\'m Running XP Pro SP3
What is the problem???
This is from the Styx Help File:
SHAPE DRAG MODE
SHAPE DRAG MODE sets the mouse drag mode of a shaped window. The default is 0, meaning the window can\'t be dragged with the
mouse. A value of 1 allows to drag the window whenever the left mouse button is pressed anywhere within the window. Additionally a
mask bitmap file can be specified. This bitmap allows you to define one or more areas where mouse dragging is allowed. In this case an additional mask colour can be specified too. By default the command uses the bottom left pixel colour.
Note that with the current version of the STYX plugin only Windows Bitmap files (.BMP) are supported.
ARGUMENTS:
* Drag Mode = The drag mode
or
* Mask Bitmap = Mask bitmap file with drag zones
optional:
* Mask Colour = Mask colour for the mask bitmap file
SYNTAX
SHAPE DRAG MODE Drag Mode
SHAPE DRAG MODE Mask Bitmap [,Mask Colour]
Regards Dale k.