Wednesday 12 June 2013

Can one Maximize/ Minimize a Window in Forms?

On MS-Windows, Forms run inside a Windows Multiple-Document Interface (MDI) window. You can use SET_WINDOW_PROPERTY on the window called FORMS_MDI_WINDOW to resize this MDI (or any other named) window. Examples:
        set_window_property(FORMS_MDI_WINDOW, WINDOW_STATE, MINIMIZE);
        set_window_property(FORMS_MDI_WINDOW, POSITION, 7, 15);
        set_window_property('my_window_name', WINDOW_STATE, MAXIMIZE);

No comments:

Post a Comment