Version: Super Mega Alpha 0.001
Purpose: Free DLL, used for making Windows style interfaces for your programs
= Done!
= Needs Work
= Not Started
-----------
The DLL actually loads in DBP (hey man, for me this is an achievement)
Create new Windows
Buttons
Labels
Closing/Destroying Windows and Gadgets
Window/Gadget Events and Event Handlers
Tons of new gadgets, like lists, menus, status bars, tool bars, etc...
Basically I started this project this morning, but i figure it's better to have a place to keep a lot of notes to myself and to interested people. The DLL was made in PureBasic, which makes it easy in one way yet annoying in 2 others. Also I've been running into problems with DBP itself (main enemy right now is CASE asking for "literal parameters").
Command List (I'll fix it in a second)
Nova_CreateWindow - Creates a New Window, returns a handle for the window
Nova_CreateButton - Creates button, gives a handle to the button
Nova_CreateIMGButton - Creates an image button, but this doesnt actually work yet :(
Nova_SetParent - Sets the parent window to add a gadget to
Nova_CreateLabel - Makes a label then gives a handle for it
Nova_WinEvent - Checks for events in a window
Nova_WinEventWait - Checks + Waits for the next event in a window
Nova_WinEventOccur - If an event occured, this tells what window it was in
Nova_GadgetEvent - Returns what gadget an event occured in
Nova_MenuEvent == Returns what menu item an event occured in (useless as of now)
Nova_EventType == Returns the type of event (ex. Left mouse click, right mouse click... it varies a lot)
ATTACHED BELOW IS:
-example code (.dba)
-the DLL
-the keywords
-compiled example program
TOTAL: ~330K
PROBLEMS:
-One problem I have now (which pretty much makes this entire DLL useless until I find a way to fix it), is the gadget events dont register correctly or something. For example, I check for a button click, and when I click the button, its supposed to close the application, but it never happens. Check the example code for youreslf!
Who are the brain police?