FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A coupe of little changes for TMdiFrame and TMdiChild
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

A coupe of little changes for TMdiFrame and TMdiChild

Posted: Sun Feb 05, 2006 06:33 PM
TMdiFrame:

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

nClrFore  := GetSysColor( COLOR_WINDOWTEXT ), nClrBack := GetSysColor( COLOR_APPWORKSPACE ),;


instead of the current

nClrFore  := CLR_BLACK, nClrBack := GetSysColor( COLOR_WINDOW ),;


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

SendMessage( ::hWnd, WM_SETICON, 0, oIcon:hIcon )


is commented out.

TMdiChild:

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

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


EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

A coupe of little changes for TMdiFrame and TMdiChild

Posted: Tue Feb 07, 2006 11:03 AM

Enrico,

Implemented,

many thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

A coupe of little changes for TMdiFrame and TMdiChild

Posted: Tue Feb 07, 2006 11:38 AM

Thank you!

EMG

Continue the discussion