Page 1 of 1

A coupe of little changes for TMdiFrame and TMdiChild

Posted: Sun Feb 05, 2006 6:33 pm
by Enrico Maria Giordano
TMdiFrame:

1) It seems that the correct default colors for an MDI frame window are

Code: Select all

nClrFore  := GetSysColor( COLOR_WINDOWTEXT ), nClrBack := GetSysColor( COLOR_APPWORKSPACE ),;
instead of the current

Code: Select all

nClrFore  := CLR_BLACK, nClrBack := GetSysColor( COLOR_WINDOW ),;
2) We get a better look of the window icon if

Code: Select all

SendMessage( ::hWnd, WM_SETICON, 0, oIcon:hIcon )
is commented out.

TMdiChild:

1) As for TMdiFrame, it is better to comment out

Code: Select all

::SendMsg( WM_SETICON, 0, oIcon:hIcon )
EMG

Posted: Tue Feb 07, 2006 11:03 am
by Antonio Linares
Enrico,

Implemented,

many thanks!

Posted: Tue Feb 07, 2006 11:38 am
by Enrico Maria Giordano
Thank you!

EMG