Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    May 2006
    Posts
    5,380

    CheckList Action Plugin

    This embeds inside a normal listbox and displays a list of checkboxes

    list of functions
    Code:
    CheckList.Init
    CheckList.AddItem
    CheckList.SetText
    CheckList.GetText
    CheckList.SetChecked
    CheckList.GetChecked
    CheckList.GetEnabled
    CheckList.SetEnabled
    CheckList.GetVisible
    CheckList.SetVisible
    heres how to set up a simple list, CheckList items always start from a index of 1 above the ListID, so a ListID of 100 will have items 101, 102, 103 etc)
    Code:
    hWnd = ListBox.GetProperties("ListBox5").WindowHandle;
    
    CheckList.Init(hWnd, 100, 12632256, CL_Double);
    CheckList.AddItem(100, 1, "CheckBox 1", 3355443, CL_Center);
    CheckList.AddItem(100, 2, "CheckBox 2", 3355443, CL_Right);
    CheckList.AddItem(100, 3, "CheckBox 3", 3355443);
    CheckList.AddItem(100, 4, "CheckBox 4", 3355443);
    CheckList.Show(hWnd, 100);
    and there is 1 exported event
    Code:
    function CheckList_Event(nListItemID,nState)
    	if nState == 1 then
    	
    		Label.SetText("Label1", "Item: "..nListItemID.." was Checked.");
    
    	else
    	
    		Label.SetText("Label1", "Item: "..nListItemID.." was UnChecked.");	
    	end
    end
    have fun and report bugs

    i just noticed, there are some undocumented functions, once you call CheckList.Show(hWnd, 100) you can not add any more items to the list
    Last edited by RizlaUK; 02-01-2009 at 11:34 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    dude your on a pluginspree here don't overwork yourself xD Thanks alot, great plugin... again
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    thanks, i know AMS already has checkboxes, but i tought this would come in handy to some, i know i will use it on settings windows where the AMS CB just looks to cumbersome and a few boxes take half the page, this is a little more sleek, and makes adding and working with a number of CB's much easyer
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by RizlaUK View Post
    thanks, i know AMS already has checkboxes, but i tought this would come in handy to some, i know i will use it on settings windows where the AMS CB just looks to cumbersome and a few boxes take half the page, this is a little more sleek, and makes adding and working with a number of CB's much easyer
    Very nice, I hope you're still working on ListIcon though.

  5. #5
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by ShadowUK View Post
    Very nice, I hope you're still working on ListIcon though.
    Hehe, Shadow, i'm busy with something nice aswell ^^
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    I hope you're still working on ListIcon though.
    well, im trying to establish the bounderys of what can and what cannot be done, while making some smaller less complex objects i might learn something that will fix the listicon ... till then .. its on the shelf
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    May 2006
    Posts
    1,443
    good job

    it works well

    one thing it is not resizable and movable

  8. #8
    Join Date
    May 2006
    Posts
    5,380
    one thing it is not resizable and movable
    im working on that right now, will have a update tonight
    Open your eyes to Narcissism, Don't let her destroy your life!!

  9. #9
    Join Date
    May 2006
    Posts
    5,380
    na, this system is just not working, no matter what i do it crashes when the window is resized, these objects are for non resibile windows only

    it seems my object additions are going to be some what limited ... time to move onto another worthy cause then, lol
    Open your eyes to Narcissism, Don't let her destroy your life!!

  10. #10
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by RizlaUK View Post
    na, this system is just not working, no matter what i do it crashes when the window is resized, these objects are for non resibile windows only

    it seems my object additions are going to be some what limited ... time to move onto another worthy cause then, lol
    Could you possibly release ListIcon then? I mean, I'd love it even without the resizing stuff.

  11. #11
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Wow! Nice work Rizla. Thanks for sharing.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  12. #12
    Join Date
    May 2006
    Posts
    5,380
    Could you possibly release ListIcon then?
    ok, i'll finish it off then, if it will get used i will make it, just dident think it was much use only on a non-resizeible window
    Open your eyes to Narcissism, Don't let her destroy your life!!

  13. #13
    Join Date
    Jan 2009
    Posts
    172
    excellent! THX

  14. #14
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Nice work. You know non sizable objects could be used on popup DialogEx windows. Most of the time (at least for me) they are not resizable.
    Dermot

    I am so out of here

  15. #15
    Join Date
    May 2006
    Posts
    5,380
    very true, i hardly have resizebile dialogs

    i found a bug in my own code tho, that i dident know was there till now, its in the whole selection system with checkboxes enabled, returning wrong values so it needs some tweeking, i got the "Set" section done, now for the "Get" section

    give me a day or 2 and i'll post it in the plugins forum
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. FREE: UserMgmt Action Plugin
    By TimeSurfer in forum AutoPlay Media Studio 7.5
    Replies: 3
    Last Post: 04-11-2010, 09:21 PM
  2. API - Action Plugin Installer -- Beta II [HOT!!!]
    By TimeSurfer in forum AutoPlay Media Studio 7.5
    Replies: 7
    Last Post: 06-13-2008, 02:55 AM
  3. Spotlight: CD Audio Action Plugin
    By Desmond in forum AutoPlay Media Studio 5.0
    Replies: 16
    Last Post: 05-15-2006, 07:02 PM
  4. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM
  5. SUF6.0.0.2 -- installer hangs.
    By jassing in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-19-2001, 11:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts