A coupe of little changes for TMdiFrame and TMdiChild

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

A coupe of little changes for TMdiFrame and TMdiChild

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

Implemented,

many thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply