[Help] Dynamically Create Right Click Menu Or Portion
Saturday, July 28, 2007 by SirSmiley | Discussion: DesktopX
So, I'm working on my first "Skinnable" Widget/Gadget which uses the ImageMagick Com object
to create a reflective PNG. This came about after a request over at Aqua-soft.
My goal is to populate a portion of the right click menu with a list of the skins. At the moment
I'm using a Subfolder Collection to pull all of the Ini file's. Has anyone got an idea on how to
dynamically populate the right click menu with the names & calls?

Reply #22 Tuesday, July 31, 2007 6:52 PM
I'm thinking it's most likely using the zero based array? Even though there's nothing specific in the DX documentation most likely zero is a default? So, I'll work on adjusting my arrays accordingly.
Reply #23 Tuesday, July 31, 2007 7:02 PM
So class the lesson for the day is, when dynamically creating a right click menu one can't use a zero based array!
Thanks a lot for all the help guys.
Reply #24 Tuesday, July 31, 2007 7:23 PM
Glad to hear you worked it out. I'll certainly keep this in mind in future.Reply #27 Friday, August 3, 2007 4:49 PM
"Drag'n'drop ImageMagickObject.dll onto RegSvr to register the com object"
I did and I got this error: LoadLibrary("C:\Documents")failed - The specified module could not be found
Then when I drag and drop a PNG image onto the first spot of the widget I get an error saying something went wrong and the widget only accepts images by drag and drop.
What do I do now?
Reply #28 Friday, August 3, 2007 5:10 PM
I'm going to check dA to see if they screwed up my last update.
Reply #29 Friday, August 3, 2007 5:34 PM
Detail: Object required.
Reply #30 Friday, August 3, 2007 5:49 PM
Reply #31 Friday, August 3, 2007 5:54 PM
Reply #32 Friday, August 3, 2007 6:01 PM
Thanks for the help in getting the right click menu to work.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #21 Tuesday, July 31, 2007 6:12 PM
CASE ELSE as well.
good one!