Right-click menu?

BlitzPlus Forums/BlitzPlus Programming/Right-click menu?

JoshK(Posted 2003) [#1]
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?


Binary_Moon(Posted 2003) [#2]
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)


JoshK(Posted 2003) [#3]
CRC errors on the .rar file and the .bb won't compile. Too bad, it looks cool.


Binary_Moon(Posted 2003) [#4]
Double post :(


Binary_Moon(Posted 2003) [#5]
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


soja(Posted 2003) [#6]
CRC errors in the rar file could just mean it was created with a newer version than yours


JoshK(Posted 2003) [#7]
Yes!

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

Cool, thanks!


JoshK(Posted 2003) [#8]
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.


Beaker(Posted 2003) [#9]
Mine is just made of bits from various places.


JoshK(Posted 2003) [#10]
I need the declarations for these commands, since mine seem to not be working:

ModifyMenu
DestroyMenu
TrackPopupMenuEx
CreatePopupMenu


Beaker(Posted 2003) [#11]
.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)