Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Blue Window Menu Plug-in help

Author
Message
GameMaker Jason
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: UK
Posted: 21st Feb 2004 14:55
how do I create a menu there is no help file i've used create menu and create main menu but they do nothing any help?

Kikkeli
20
Years of Service
User Offline
Joined: 11th Feb 2004
Location:
Posted: 21st Feb 2004 15:58
The Readme:

"
Windows Menus Plugin
by Robert Knight

thundermonkey5@hotmail.com
====================

This is primarily intented for use as a DarkBASIC Professional third party commandset.

However it can be used by any application if necessary.

You may use this DLL freely, however, please include a credit in the readme or about info.

Version History
===============

>> 1.04
Modifications should hopefully allow plugin to work correctly under Win98

>> 1.03
SET RADIO added
SET RADIO GROUP added
ADD SUB ITEM added
All set property commands are now more flexible (can be applied to main menus, items or subitems)
GET MENU ITEM STRING added
GET CHECKED added
GET VISIBLE added
GET ENABLED added
GET MENU ITEM POSITION added
Experimental ENTRY function added (Input box, but currently you cannot set the caption etc)

>> 1.02
All DLL exports now use cdecl calling convention, this fixes the bug where
a crash would occur if these commands were called inside functions in the application.

>> 1.01
Initial Release


Installation
============

DBP users should copy the DLL file to
C:\Program Files\Dark Basic Software\Dark Basic Professional\Compiler\plugins-user

and the keywords file to

C:\Program Files\Dark Basic Software\Dark Basic Professional\Editor\Keywords


Commands
========

See the attached source code for an explanation of how all of the commands work in DarkBASIC Professional.

The DLL actual function names are:

CREATE MENU >> CreateMenu
ADD MAIN MENU >> AddMainMenuItem
ADD MENU ITEM >> AddSubMenuItem
DELETE MENU >> TidyMenus
SET CHECKED >> SetChecked
SET ENABLED >> SetEnabled
SET VISIBLE >> SetVisible
SET ITEM TEXT >> SetMenuItemText
GET MENU ITEM >> SelectedMenuItem
"

This should help little?

DBP43V3R
GameMaker Jason
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: UK
Posted: 21st Feb 2004 19:58
what is the actual santax?

Login to post a reply

Server time is: 2024-11-26 05:45:16
Your offset time is: 2024-11-26 05:45:16