NO

Author Topic: Property list box  (Read 4849 times)

Offline DMac

  • Member
  • *
  • Posts: 272
Property list box
« on: December 04, 2009, 02:03:24 AM »
Does anyone have an example of an owner draw list box such as the one Pelle uses in the resource editor?
The only examples I have been able to find are MFC based and I suspect that adapting them would not yield very elegant or straight forward code.  In fact Pelle's owner drawn list box is the cleanest looking control I've seen.
I checked the "Source Code > Windows Programming" section on Smorgasbordet to see if Pelle might have included an example there but no luck.
Any suggestions or examples would be greatly appreciated.
Thanks,
DMac
No one cares how much you know,
until they know how much you care.

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: Property list box
« Reply #1 on: December 04, 2009, 01:10:36 PM »
Did you already take a look at the site of JohnF?
---
Stefan

Proud member of the UltraDefrag Development Team

Offline MrBcx

  • Global Moderator
  • Member
  • *****
  • Posts: 189
    • Bcx Basic to C/C++ Translator
Re: Property list box
« Reply #2 on: December 04, 2009, 04:12:11 PM »
Did you already take a look at the site of JohnF?

Stephan - I was curious about this subject, so I looked on John's site but didn't find anything.

Please supply a link to the file on John's site that you found.

Bcx Basic to C/C++ Translator
https://www.BcxBasicCoders.com

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: Property list box
« Reply #3 on: December 04, 2009, 04:34:31 PM »
Stephan - I was curious about this subject, so I looked on John's site but didn't find anything.

Please supply a link to the file on John's site that you found.

I have not found a file there, I have just suggested to look there.

It might be included in one of his examples too, if he uses such a list box.
---
Stefan

Proud member of the UltraDefrag Development Team

Offline DMac

  • Member
  • *
  • Posts: 272
Re: Property list box
« Reply #4 on: December 04, 2009, 04:48:02 PM »
Did you already take a look at the site of JohnF?

Yes, as a matter of fact I looked at both the LCC and Pelles C sections.

I have found one MFC example that is up to par with the properties listbox used in the Pelles C IDE,  I may have to work from that after all.
No one cares how much you know,
until they know how much you care.