adding a menu

BlitzPlus Forums/BlitzPlus Programming/adding a menu

GameCoder(Posted 2004) [#1]
Ok after like a year without using blitzplus I thought I'd go back and use it to make a little 2d particle editor.

I've gone through the examples and have loaded some other demo's but have yet not seen a program that has a file menu.

How can I create this?

Am I being retarded or just retarded?


aab(Posted 2004) [#2]
; Assuming you have a window called window:

mastermenu=WindowMenu(window)

;MENUS MMMMMMMMMMMmmmmmmmmmmmmmm
m_file=CreateMenu("file",0,mastermenu)
file_New=createmenu("New",1,m1_file)

m_Settings=CreateMenu("Settings",0,mastermenu)

m_Help=CreateMenu("Help",0,mastermenu)


GameCoder(Posted 2004) [#3]
ahh 100 thank u's