Problem Solved xdxd
int CreateFrame(long x,long y,long ancho,long alto,HDC* dc,PAINTSTRUCT* ps){
RECT rc;
HBRUSH pincel = CreateSolidBrush(RGB(255,0,0));
rc.left = x;
rc.top = y;
rc.right = x + ancho;
rc.bottom = y + alto;
cout<<rc.left<<" - " << rc.top <<" - "<<rc.right<<" - "<<rc.bottom<<"\n";
if(FrameRect(*dc,&rc,pincel)){
if(Ellipse(*dc,rc.left+10,rc.top+10,rc.left+20,rc.top+20)){
cout<<"se dibujo elipse\n";
}
cout<<"exito\n";
}
DeleteObject(pincel);
return 1;
}