PV_PluginsInfo (Name.s,HiVersion.l,LoVersion.l,Info.s,Copyright.s)
Previous  Top  Next

Allows PureVision to identify the Plugin as a valid and allows you to specify internal information.


Name
Name of your Plugin

HiVersion
High version number

LoVersion
Low version number

Info
Short description of your plugin

Copyright
Copyright information for plugin


Returns 0 if failure.



Example:

XIncludeFile "../Modules/Module_PVPlugins.pbi" ;<-- Modify as needed for path of Modules Folder

Result=PV_PluginsInfo("Test",1,2,"Simple Test Plugin","2005 Reel Media Productions")


If Result
PV_PluginsWindowName("TestForm")
PV_PluginsWindowTitle("Created with Plugin")
PV_PluginsWindowX(80)
PV_PluginsWindowY(80)
PV_PluginsWindowW(300)
PV_PluginsWindowH(200)
PV_PluginsWindowBGColor(RGB(0,0,150))


PV_PluginsGadgetType("ButtonGadget")
PV_PluginsGadgetName("TestButton")
PV_PluginsGadgetText("Click Here")
PV_PluginsGadgetX(10)
PV_PluginsGadgetY(10)
PV_PluginsGadgetW(80)
PV_PluginsGadgetH(20)
EndIf

PV_Plugins()