Hallo Media Studio-Team,
please make On RightClick-Function for the Listbox in the next release! It's very important for file search projects.
Thank you.
Sergio
Professional Software Development Tools
Hallo Media Studio-Team,
please make On RightClick-Function for the Listbox in the next release! It's very important for file search projects.
Thank you.
Sergio
Last edited by takitano; 02-04-2010 at 12:05 PM. Reason: New Header
[Work-A-Round]
place a hotspot over the listbox and use its right click event
[/Work-A-Round]
Last edited by RizlaUK; 02-16-2010 at 05:01 AM.
Open your eyes to Narcissism, Don't let her destroy your life!!
What about something like this?
There are 10 types of people in the world: those who understand binary, and those who don't.
as far as im aware, Z-Order is assigned in the order the objects are created, as long as you place the listbox first it should not be a problem, well, its never given me any troubleThe workaround is not guaranteed to work
in the case of the grid, what you say is right, k it does not work, but its never been a problem when placed over a listbox (im my experience)
i would be interested in seeing a example where this does not work with a listbox
so.... how about updating the events system
RightClick > ListBox
DoubleClick > Grid
this has been asked many many times in the past, will we ever see these updates
search the forum for worms "IsInRect" function, it will take care of the object positions, test if the mouse cursor is inside the rectangle of the object and fire the RC event on a per object basis rather than testing co-ord's, this way its more genericWhat about something like this?
Last edited by RizlaUK; 02-05-2010 at 05:46 AM.
Open your eyes to Narcissism, Don't let her destroy your life!!
Code:But the RightClick in the listbox made all a little simpler and more elegant.Code:search the forum for worms "IsInRect" function, it will take care of the object positions, test if the mouse cursor is inside the rectangle of the object and fire the RC event on a per object basis rather than testing co-ord's, this way its more generic
Open your eyes to Narcissism, Don't let her destroy your life!!
if use of an external (Memory) plugin is OK then
Here is the better way to perform a right click on a regular ListBox object
also you can select listbox items with right click
steps :
catch right click on a listbox
send a fake left click message to listbox for select an item throught right click
show a popup menu and apply user's choice on menu
This method can also be applied to Grid and other windowed objects
ScreenShot : Click Here
Example : Click Here
Memory plugin is fantastic, but i think it scares most users, mention "Subclassing" and most users run like h.e.l.l
Rex, you need to update the plugin, subclass function were added to latest version
Open your eyes to Narcissism, Don't let her destroy your life!!
what, you disappoint me, your a great programmer, i would have thought you had API stuff pretty much nailed by now (i thought you was learning C++)
to be honest, at first i struggled to get my head round it all, but countless hours of reading at MSDN fixed that .....
subclassing is as simple as assigning a callback function, almost everything windows does is done in memory, subclassing just redirects the window/object callback function to your custom function by changing the memory pointer
the advantage of subclassing is you can choose the events you want to react to and pass the rest onto the window/object so it operates as normal
iv rewritten both the ListIcon and Explorer plugins to use the memory plugin to catch the events (beta version is out to a few users, release will come when i find time to finish)
im looking at some real advanced objects to add to AMS, but as usual, my time is very limited so most wont see the light of day, if i managed to make everything i thought of, id be a rich man by now, lol
Open your eyes to Narcissism, Don't let her destroy your life!!
I went from C++ to C# because C++ is just stupidly difficult for me at the moment.
Also, you can be sure that when I get paid I'll be getting my hands on that ListIcon object. You know I've always wanted that one.![]()
lol, yeah, iv got to get my site back up first, i pulled it down because of the bugs in the plugins, but its all fixed, just waiting for conformation from my beta testers that all is ok (was some issues, nothing serious, just teething stuff)
and you are going to love the next project, see attachment(it will take a little time to convert to a plugin tho)
Last edited by RizlaUK; 02-16-2010 at 05:01 AM.
Open your eyes to Narcissism, Don't let her destroy your life!!