Page 1 of 1

A coupe of little changes for TMdiFrame and TMdiChild

PostPosted: 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  Expand view
nClrFore  := GetSysColor( COLOR_WINDOWTEXT ), nClrBack := GetSysColor( COLOR_APPWORKSPACE ),;


instead of the current

Code: Select all  Expand view
nClrFore  := CLR_BLACK, nClrBack := GetSysColor( COLOR_WINDOW ),;


2) We get a better look of the window icon if

Code: Select all  Expand view
SendMessage( ::hWnd, WM_SETICON, 0, oIcon:hIcon )


is commented out.

TMdiChild:

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

Code: Select all  Expand view
::SendMsg( WM_SETICON, 0, oIcon:hIcon )


EMG

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

Implemented,

many thanks!

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

EMG