you don't need windows.h in this case
there's already sys_metrics(); wink
0 and 1 return the x and y size

besides that using sys metrics is much easier for a beginner


POTATO-MAN saves the day! - Random