The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: Bieb on December 23, 2004, 10:21:41 PM

Title: Using Controls
Post by: Bieb on December 23, 2004, 10:21:41 PM
Alright, I've got easy code running, and I can set up my forms, but now I need to know how to access the controls' properties at runtime, and how to respond to events those controls may have.  I really don't have the time to read through all of Iczelion's tutorials (I've read the first few), could someone give me the basics real quick.
Title: Re: Using Controls
Post by: Ramon Sala on December 23, 2004, 10:52:35 PM
Hi Bieb,

Okay, I'll try to prepare an explanation for you. Meanwhile, have a look at Easy Code help file:

topic: Visual Projects (Easy Code Power Mode)

Inside it, look for Adding controls.


Regards,

Ramon
Title: Re: Using Controls
Post by: rodamari on January 10, 2007, 12:34:36 AM
Hi, i'm new here, but i have quite the same question::
I want a list box, I put it on my form, then i wonder how i could fill the list  man !!!! i just need an example, i will peruse it.
I mean the property pane don't show for "list" something like::listfillrange, or list !

Thanks
Title: Re: Using Controls
Post by: Ramon Sala on January 10, 2007, 05:49:05 PM
Hi rodamari,

To add a string to a ListBox, you first have to retrieve its handle and then sending a LB_ADDSTRING message to the ListBox control. Have a look at the example below.

Thanks for using Easy Code.

Ramon


[attachment deleted by admin]