I post an examble of GenericGrid Control with new features to test.
Before use,read ReadMe text file.
KetilO.
Test my Control in Radasm,to see if works OK with differents fonts in Dialogs.
Manos.
Before use,read ReadMe text file.
KetilO.
Test my Control in Radasm,to see if works OK with differents fonts in Dialogs.
Manos.
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?
KetilO
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?
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:
1.GetBitmap
2.GetID.
The GetID return the number 258.
Manos.
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:
1.GetBitmap
2.GetID.
The GetID return the number 258.
Manos.
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.
KetilO
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.
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.
Manos.
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.
Manos.
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.
KetilO
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.
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.
Manos.
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.
Manos.
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.
KetilO
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.
KetilO
Ooops.
Forgot the zip.
Forgot the zip.
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".
Manos.
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".
Manos.
It means it wasn't your fault.
Hello Qweerdy.
Thanks you.
Manos.
Thanks you.
Manos.