News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Property list box

Started by DMac, December 04, 2009, 02:03:24 AM

Previous topic - Next topic

DMac

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.

Stefan Pendl

Did you already take a look at the site of JohnF?
---
Stefan

Proud member of the UltraDefrag Development Team

MrBcx

Quote from: Stefan Pendl on December 04, 2009, 01:10:36 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

Stefan Pendl

Quote from: MrBcx on December 04, 2009, 04:12:11 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

DMac

Quote from: Stefan Pendl on December 04, 2009, 01:10:36 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.