How to force to Fullscreen Form

Is it possibile by code resize a form to fullscreen? (like button Maximize) ?

// VAR Changed on 10 Jun 2013 at 12:17:41 by Fandy Xie
public void activate(boolean _active)
{
;
    super(_active);

    #define.SC_MAXIMIZE (61488)
    #define.WM_SYSCOMMAND (0x0112)

    WinAPI::SendMessage(element.hWnd(), #WM_SYSCOMMAND, #SC_MAXIMIZE, '');
}
原文地址:https://www.cnblogs.com/Fandyx/p/3181939.html