A coupe of little changes for TMdiFrame and TMdiChild

A coupe of little changes for TMdiFrame and TMdiChild

Postby Enrico Maria Giordano » Sun Feb 05, 2006 6:33 pm

TMdiFrame:

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

Code: Select all  Expand view  RUN
nClrFore  := GetSysColor( COLOR_WINDOWTEXT ), nClrBack := GetSysColor( COLOR_APPWORKSPACE ),;


instead of the current

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


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

Code: Select all  Expand view  RUN
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  RUN
::SendMsg( WM_SETICON, 0, oIcon:hIcon )


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Tue Feb 07, 2006 11:03 am

Enrico,

Implemented,

many thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Tue Feb 07, 2006 11:38 am

Thank you!

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests