Forms 4.0 runtime - Maximizing windows

From: Tcs <tsarma_at_us.oracle.com>
Date: 20 Jul 1994 22:10:44 GMT
Message-ID: <30k7d4$7rd_at_dcsun4.us.oracle.com>


it is true that Forms 4.0 does not support any functions to maximize the application window. But you can write an USER_EXIT giving window calls to maximize it. It may look some thing like this.

      
      hwndClient   = GetWindow(hwndCurrent, GW_CHILD); 

/* Send message to current Application Window (Parent) to maximize */
SendMessage(hwndCurrent, WM_SYSCOMMAND, SC_MAXIMIZE, 0L);
/* Send message to current child window of Application to maximize */
hActiveChild = LOWORD (SendMessage(hwndClient,WM_MDIGETACTIVE,0,0L)); SendMessage(hwndClient,WM_MDIMAXIMIZE,hActiveChild,0L); SendMessage(hActiveChild,WM_SIZE,SIZEFULLSCREEN,0L);

This will work only under windows. Hope this helps.

TCS Received on Thu Jul 21 1994 - 00:10:44 CEST

Original text of this message