Modicr,
We have modified Class TWindow to include a new DATA nExStyle. And Class TGet and Class TMultiGet now looks like this:
#ifdef __CLIPPER__
if ! lNoBorder
::nStyle = nOr( ::nStyle, WS_BORDER )
endif
#else
if ! IsAppThemed()
if ! lNoBorder
::nStyle = nOr( ::nStyle, WS_BORDER )
endif
else
if ! lNoBorder
::nStyle = nOr( ::nStyle, If( oWnd:ChildLevel( TDialog() ) != 0, WS_BORDER, 0 ) )
::nExStyle = WS_EX_CLIENTEDGE
endif
endif
#endif
and in Method Create():
if ::nBottom != CW_USEDEFAULT
::hWnd = MGetCreate( cClsName, ::cCaption, ::nStyle, ;
::nLeft, ::nTop, ::nRight - ::nLeft + 1, ;
::nBottom - ::nTop + 1, ;
If( ::oWnd != nil, ::oWnd:hWnd, 0 ), ;
::nId, @hHeap, ::nExStyle )
else
::hWnd = MGetCreate( cClsName, ::cCaption, ::nStyle, ;
::nLeft, ::nTop, ::nRight, ::nBottom, ;
If( ::oWnd != nil, ::oWnd:hWnd, 0 ), ;
::nId, @hHeap, ::nExStyle )
endif
and finally in MGetCreate():
#ifndef UNICODE
_retnl( ( LONG ) CreateWindowEx( _parnl( 11 ),
_parc( 1 ), // Class
_parc( 2 ), // Title
_parnl( 3 ), // Style
_parni( 4 ), // Left
_parni( 5 ), // Top
_parni( 6 ), // Width
_parni( 7 ), // Height
( HWND ) _parnl( 8 ), // Parent
( HMENU ) _parnl( 9 ), // Menu
( HINSTANCE ) IF( ghEditDS,
( HINSTANCE ) HIWORD( ( LONG ) lpPtr ), GetInstance() ),
( ( PCOUNT() > 9 ) ? _parc( 10 ): 0 ) ) ); // Address Window-Creation-Data
#else