I post an examble of GenericGrid Control with new features to test.
Before use,read ReadMe text file.

Test my Control in Radasm,to see if works OK with differents fonts in Dialogs.

Posted on 2002-07-03 07:25:36 by Anonymous
Hi manos

I am not able to make the grid respond to any messages when I put it on a dialog (not using CreateWindowEx). Are you in any way destroying it's ID?

Posted on 2002-07-03 09:10:13 by KetilO
Hi KetilO.

I don't destroy the ID.
I don't changed the behavior of Control.It is the same with previous edition.Simply,i have add more functionality.
The Dll exports the following functions:
The GetID return the number 258.

Posted on 2002-07-03 09:53:00 by Anonymous
Hi manos

The dll still seem ok. The problem is I am not able to use SendDlgItemMessage or use GetDlgItem. On previous versions I did not test this.

Posted on 2002-07-03 13:35:42 by KetilO
Hi KetilO.

I think that the problem is in ID.Where you use the ID ?
What ID is that ?

I am waiting your answer and i think that the problem sould be solved.

Posted on 2002-07-03 14:42:41 by Anonymous
Hi manos

It's the ID I choose to give the Generic Grid control in the resource script (.rc file).

CONTROL "",1010,"GENERIC_GRID",0x50000000,0,0,200,200,0x00000000

In the above case the ID is 1010.

Posted on 2002-07-03 15:44:17 by KetilO
Hi KetilO.

I don't think that ID is the promblem.
I want know the following:

1.If the Control appear in a Dialog at design time.
2.When you Load the Dll ?
3.When you Unload the Dll by calling FreeLibrary ?
If you call FreeLibrary then the window class of control is destroyed and the control does not receive messages.
First destroyed the control and after called FreeLibrary.

I am waiting your answer.

Posted on 2002-07-04 01:18:43 by Anonymous
Hi manos

I am embaresed and will not tell what I messed up.
Everything works great now. The grid gets the dialog font.
I include my little test project.

Posted on 2002-07-04 01:56:10 by KetilO

Forgot the zip.
Posted on 2002-07-04 01:57:35 by KetilO
Hi KetilO.

Because i know a litle of English,I don't understand what is the meaning of "I am embaresed and will not tell what I messed up".

Posted on 2002-07-04 04:31:13 by Anonymous
It means it wasn't your fault.
Posted on 2002-07-04 07:13:58 by Qweerdy
Hello Qweerdy.

Thanks you.

Posted on 2002-07-04 08:20:13 by Anonymous