DEFINE ICON oICO RESOURCE "WALKING"
DEFINE WINDOW oWnd1 ;
FROM 3,1 to 30,100 ;
of oWndMdi ;
Menu Buildmenu();
TITLE cTITLE ;
ICON oICO ;
NoMinimize ;
NoZoom ;
MdiChild
...
if ! ::lRegistered
::lRegistered = RegisterClass( "TMDICHILD",;
nOR( CS_VREDRAW, CS_HREDRAW, CS_DBLCLKS ),;
0, 0, 0, 0, 0, "", GetMDIChlProc() )
endif
...
if oIcon != nil
::SendMsg( WM_SETICON, 0, oIcon:hIcon )
endif
I have noticed from time to time that the child icons would appear and dissapear as inherited from the MDI .. I just never gave it much thought so I decided to define my own ..
ps .. I know this may be a MS restriction .. but is there a way to inherit the aero glass frame from a MDI to its child ??
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 47 guests