can I have the listbox object source

This forum is currently in read-only mode.
  • I really need the listbox object source for a project I'm working on

    would it be possible to have that please?

    and you don't want to dropbox it here or whatever, and it's ok for me to have it

    if by email

    and don't worry, I don't plan on releasing any modified versions

    Edit: nevermind

  • actually I do still need it

    I guess the answer is no, since subsequent posts were responded to, but not this one

    but just in case that's an incorrect assumption

    if it's doable

    I really could use it

  • I'll see if we can stick it on CVS at some point.

  • thanks ash

    if you get bored, throw canvas on there as well

    I think reading through some of that could be helpful down the road to making plugins that draw stuff

  • The listbox object doesn't draw anything, it just wraps MFC's CListBox.

  • i meant i could learn about drawing from canvas.

    the listbox object i need for a different reason

    basically, im making a plugin that will help me edit levels for an engine im working on, and if i could modify listbox (for personal use only)

    i can streamline the editor code in construct by making common listbox tasks get called through callfunctions by my editor plugin. ive done this with modified sprites, lines, and textboxes, and honestly i dont think i could have gotten as far as i have without having done so. its coming along awesomely

  • Just curious, what would you want to add to it (and are you using it for its intended purpose, the display of data on screen)? Most functions are wrapped in the ACEs, so if you need anything and it's useful we could always add it.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • i would only be using it for its intended purpose, but adding callfunctions to bypass using the aces, and adding complexity to an already complex cap. im using it mostly for right click menus. the editor im building has several type of simple geometric math objects. sine waves, ratio values, interpolated curves, etc. they all interact in many ways, and as i build and test it, the methods continue to grow. if i want to pick a curve, for instance, right now, through events, i right click, in pops up a listbox, depending on what ive clicked on, and select curve will come up as an option, if i click on that, it brings up a list of all the curves that have been created in the current editting session. to do this, i need a right click event, suppressed depending on whats clicked, create a list box, make the first item a label to check later which type of menu or submenu it is, then i run a looping condition created specifically to run through the curves and output strings of object names to the listbox, then on selection changed, i run an action that loops through the list of curves to find the one with the name that was clicked on after supressing the click on the label. there are also right click menus with functions instead of lists. and in order to destroy a submenu listbox along with the original i need to call a function to forget the one picked by clicking and then destroy them. so far things arent getting too bad yet. but anytime i want to change a function, or add a new option or list of objects, i have to create several events, and add new conditionsand actions just to control listboxes. by adding a few callfunctions to my engine code and to listbox, i could streamline the whole process, and concentrate on the engine and the editor, instead of spending long periods on updating listbox code.. pretty soon now that the basics are done, things are going to start getting really complicated. and the listbox thing although a simple problem, would start taking up large amounts of dev time. so yeah, the things i plan to add are pretty useless to the general community, but super useful for the current project i have going. the same for the other objects ive modified, they dont really do anything new, but if would have had to redo the code to draw curve with the line object everytime ive changed the underlying logic, i probably wouldnt be able to complete this project at all, due to the length of time itd take just inrearraning and redoing events

  • Wall of ... text!

  • yeah, i posted that on my cel, so i didnt know until afterward how long and wally it was

  • im using it mostly for right click menus

    That sounds like a pretty big hack...

  • it works amazingly well though:

    <img src="http://files.getdropbox.com/u/1013446/New%20folder%20%282%29/Capture8.PNG">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)