Results 1 to 5 of 5
  1. #1
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    687
    Reputation
    24
    Thanks
    865
    My Mood
    Blah

    First Attempt at Custom Control (Transparent Listbox)

    I never got help from online resources so this is coded 100% from scratch.
    So it might not be the correct way of doing this. I did it my way.

    I made it from a label. I know i should of used a listbox but decided to start with that.
    Im guessing some of you're pro at custom controls so if you have any suggestions, just say whats on your mind.

    Features:
    SelectedIndex
    Add
    RemoveAt
    Remove
    Contains
    Clear
    Change inner and outer border color.
    Change highlight color and set alpha
    Change selected item border color.
    Scroll text. No scrollbar, just use your mouse wheel to scroll up/down
    Remove item from list by double clicking it.
    Pastebin Link

    Video showing you how to add to your project. No audio though..

  2. The Following 2 Users Say Thank You to Pingo For This Useful Post:

    ♪~ ᕕ(ᐛ)ᕗ (07-28-2012),rkN (12-29-2012)

  3. #2
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Nice. Keep it up mate

  4. #3
    rkN's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    278
    Reputation
    30
    Thanks
    3,765
    My Mood
    Bored
    Did you do this with gdi? Looks pretty awesome.

  5. #4
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    687
    Reputation
    24
    Thanks
    865
    My Mood
    Blah
    gdi?
    I'v fixed some errors i never spotted when i first made it, also added some stuff to it.

  6. #5
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    It looks really sharp. good job, I'm jealous

Similar Threads

  1. first attempt at cs4
    By azan in forum Showroom
    Replies: 14
    Last Post: 04-08-2009, 12:21 PM
  2. first attempt
    By aimgods in forum Showroom
    Replies: 20
    Last Post: 02-27-2009, 12:50 AM
  3. First attempt at using a C4D *sigh*
    By Zen in forum Showroom
    Replies: 19
    Last Post: 02-17-2009, 06:59 PM
  4. my first attempt at a sig
    By Zen in forum Showroom
    Replies: 29
    Last Post: 01-29-2009, 05:51 PM
  5. First Attempt: Clip Masking
    By moosicgawd in forum Showroom
    Replies: 4
    Last Post: 01-02-2009, 07:23 PM