OK, I\'ve created an update. It has an extras command: MouseOnCommand(CommandNumber). You will not need to use this command to do what you say, Mean Mashine.
In the DrawCommand function, there is an extra parameter, OCOImageNumber. Set this to the image that will be displayed when the mouse in over the command.
Also, I\'ve fixed a problem with the DrawOB function, a simple copy-paste error, and two sets of media which you are free to use in your application. (That makes the file about 460 kb (0.46 mb))
Updated Command List:
DrawOB(Width,Height,ImageNumber) - Draws the dialog box onto the screen. Use during a seperate loop.
DrawTitle(ImageNumber) - Draws a titlebar above the dialog box.
DrawOBToolBar(Height, Color) - Draws a toolbar on your screen for use in the main loop.
TitleClicked() - Returns a 1 if the title has been clicked.
DeleteTitle() - Deletes the titlebar if it exists.
DrawCommand(ImageNumber,OCOImageNumber,CommandNumber,X,Y) - Draws seperate commands onto the box. Use in the same loop as the DrawOB command and use after the DrawOB command.
DeleteCommand(CommandNumber, Previous) - Deletes the specified command.
MouseOnCommand(CommandNumber) - Returns a 1 if the mouse is over the command.
GoThroughCommands() - Returns the number of the command clicked (0 if none)
DeleteAll() - Deletes all the commands, the dialog box and the titlebar (if existent)
CommandClicked(CommandNumber) - Returns a 1 if the specified command has been clicked.
Any more ideas?
http://www.freeforum101.com/forum/index.php?mforum=fortfn - Thomas Smith