Hey
in a application i create panels during runtime. Their pointers are saved in a array like (i hope, this is right):
array_panels_d_elemente[i] = (int*)pan_temp;
If the user right-clicks on a panel, i have to check, if its a panel, which was saved in the array.
I wanted to use mouse_panel for this.
But I have some problems with the comparison . how can I check if the pointer of the mouse_panel "points" on a panel, which is saved in the array?
int i;
for(i=0;i<50;i++)
{
if(mouse_panel !? array_panels_d_elemente[i]) // my problems
{
//....
}
}
Could someone help me how to search for the pointer right?
Thanks