Hello.
So my problem is kinda easy:
typedef struct
{
PANEL* my_panel;
int target_var;
}Mystruct;
this panel have button, and after clicking it i vant to change var in struct.
Problem starts if im generating more structs and shoving on screen.
I dont knov hov to find struct vho have pressed button and to change its target_var (for example).
If im using just one i can use global var.