INDODELPHI

Blog’s Tutorial Delphi – Reference from Onez Delphi Explorer

SETTING UP THE MDI PARENT WINDOW CORRECTLY

// ******************************************************************
// SETTING UP THE MDI PARENT WINDOW CORRECTLY
// Category        : MDI
// Author          : Michael Burton
// Author Email    :
// Author Web      : http://www.rimrocksoftware.com/tips.html
// Tips Website    : Rimrock Software
// Tips Website URL: http://www.rimrocksoftware.com/tips.html
// ******************************************************************

{
Delphi does not set up the MDI parent window correctly. Use the following to set
the proper border for the MDI parent window.
}

SetWindowLong(ClientHandle, GWL_EXSTYLE, WS_EX_CLIENTEDGE);
SetWindowPos(ClientHandle, HWND_BOTTOM, 0,0,0,0,SWP_NOCOPYBITS);

// (From Russ Reese)

November 6, 2007 - Posted by maulaku | Application - MDI | | No Comments Yet

No comments yet.

Leave a comment