Right-click menu?

BlitzPlus Forums/BlitzPlus Programming/Right-click menu?

This is the only feature I think Blitz Plus lacks that is really crucial. I'm doing some work for a client, and they are going to expect this option, which is understandable.

Any way to fudge this temporarily?

You've seen this right?

http://www.blitzbasic.com/codearcs/codearcs.php?code=697

AFAIK it works in all gadgets except text fields (that has it's own cut/ copy/ paste menu)

CRC errors on the .rar file and the .bb won't compile. Too bad, it looks cool.

Double post :(

It opened for me. You've added the stuff to the userlib yeah?

I've uploaded the files as a zip.

http://www.binarymoon.co.uk/preview/rightclick.zip

CRC errors in the rar file could just mean it was created with a newer version than yours

Yes!

There was an error in my user32.decls, but I fixed it.

Cool, thanks!

Hmmm...

The .exe example works, but the .bb crashes any time I click. It must be an error in my user32.decls. Where did you guys get yours? I've got the one that has api_ in front of every command, and looking at this source, everyone else seems to be using a different one.

Mine is just made of bits from various places.

I need the declarations for these commands, since mine seem to not be working:

ModifyMenu
DestroyMenu
TrackPopupMenuEx
CreatePopupMenu

.lib "user32.dll"
TrackPopupMenuEx%( mnu,flags,x,y,hwnd,tpm )
CreatePopupMenu%()
AppendMenu%(mnu,flags,menuID,txt$):"AppendMenuA"
ModifyMenu%(mnu,pos,flags,menuID,txt$):"ModifyMenuA"
DestroyMenu%(mnu)