Yeah, I code the GUI manually too.
I tried the code you posted, and everything shows up fine, except that the menu functions didn't work. I'll try screwing around with it tomorrow.
Another BlueGui problem. I don't understand what I'm doing wrong. If anybody could find some sort of error in my code, then please tell me, because this is driving me nuts.
When I compile the following code, nothing shows up unless I resize the window, in which the buttons flash in and out randomly. Can somebody please test this out and tell me if it does the same for them?
#include "gui.dba"
startBlue "USERID","Key"
set window title "Inspire! HelpingHand"
set window layout 1,1,1
set window size 115,195
createMainMenu()
createUI()
do
getEvent
loop
function createUI()
newBookmark=createEdit(10,10,90,20,0,menu)
oldBookmark=createComboBox(10,35,90,100,menu)
makeBookmark=createButton(10,60,90,25,"New Bookmark",0,menu)
saveBookmark=createButton(10,95,90,25,"Save Bookmarks",0,menu)
openBookmark=createButton(10,130,90,25,"Open",0,menu)
addItem oldBookmark,"My Documents"
addItem oldBookmark,"My Pictures"
addItem oldBookmark,"My Music"
endfunction
function createMainMenu()
menu=createMenu(0)
endfunction
Also, what is the best way to keep the user from resizing the window?