Disable maximize button in .exe?

I was wondering is this possible? I have tried to do something with fscommand, but I haven’t succeed :(.

fscommand("fullscreen", "false");
fscommand("allowscale", "false");

How do you disable this button?