Fullscreen Form - Microsoft Dynamics AX

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


public void activate(boolean _active)
{
super(_active);

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

WinAPI::SendMessage(element.hWnd(), #WM_SYSCOMMAND, #SC_MAXIMIZE, '');
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.