Toggle button w/o sound

hello again.

i’m trying to create a projector w/ window functionality,
ie. close, max, min

i got the close no problem but now i’m stuck w/ the minimize-maximize button.

anyone have any good resources on how to make a simple toggle button that would suit my needs.

thanks,