The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Jango on March 09, 2012, 06:11:50 AM

Title: Listview question
Post by: Jango on March 09, 2012, 06:11:50 AM
i am new to masm.  I have two procedures.

In first one, when the users press the A button it will go to first procedure where I have created local variable LOCAL lvi:LV_ITEM.  This procedure is for filling listview.

In second one, when the users press the B  button, it will go to second procedure.  The second procedure is for grabbing the item in dialogbox edit control.  In second procedure, I want to make the use of this code:

invoke SendMessage,hList,LVM_GETITEMTEXT,lParam,addr lvi

Now, I dont know how to pass these lvi and lParam to second procedure.  Can anyone help me out in this case?
Title: Re: Listview question
Post by: Force on March 09, 2012, 10:25:51 AM
maybe those projects will help you
http://www.masm32.com/board/index.php?topic=18363.0  (http://www.masm32.com/board/index.php?topic=18363.0)


http://www.masm32.com/board/index.php?topic=18377.15  (http://www.masm32.com/board/index.php?topic=18377.15)


Force