<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Amigos,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>antes que nada, saludarlos y desearles un buen 
año.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Realmente es mi primer post, pues he sido un 
ferviente lector de esta lista.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ahora, estoy tratando de modificar un archivo en C 
que tengo por ahí (aclaro, no lo he hecho yo), me manda el siguiente warning que 
quisiera eliminar.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Warning W8065: Call to function 'GetTextExtent' 
with no prototype in function HB_FUN_DRAWRADIO</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Alguien podria decirme que significa?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>He tratado de buscar información en "san google", 
pero no he encontrado algo que realmente me aclare la duda.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Agredeciendole sus finas atenciones de 
antemano.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>William Morales</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PD. esta es parte del código</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>HB_FUNC( DRAWRADIO ) // ( hDC, nTop, nLeft, cText, 
hFont, lChecked, 
nClrBtn,<BR>                     
//   nClrText, nClrLight, nClrDark, lDisable, 
l3D,<BR>                     
//   lFocused, nStyle, lDrawFocus, lTwice, hBitMap 
)<BR>{<BR>   HDC 
hDC            = ( HDC ) 
hb_parni( 1 ) ;<BR>   int 
iTop           = hb_parni( 2 ) 
;<BR>   int 
iLeft          = hb_parni( 3 ) 
;<BR>   LPSTR cText        = 
hb_parc( 4 ) ;<BR>   HFONT 
hFont        =  ( HFONT ) hb_parni( 5 ) 
;<BR>   BOOL bSelect       = hb_parl( 6 
) ;<BR>   COLORREF nClrBtn   = ( COLORREF ) hb_parnl( 7 ) 
;<BR>   COLORREF nClrText  = ( COLORREF ) hb_parnl( 8 ) 
;<BR>   COLORREF nClrLight = ( COLORREF ) hb_parnl( 9 ) 
;<BR>   COLORREF nClrDark  = ( COLORREF ) hb_parnl( 10 ) 
;<BR>   BOOL bDisable      = hb_parl( 11 ) 
;<BR>   BOOL b3DInv        = ( 
ISLOG( 12 ) ? ! hb_parl( 12 ) : FALSE ) ;<BR>   BOOL 
b3D           = ( ISLOG( 12 ) 
? TRUE : FALSE ) ;<BR>   BOOL 
bFocus        = ( ISLOG( 13 ) ? hb_parl( 13 ) 
: FALSE ) ;<BR>   int 
iStyle         = hb_parni( 14 ) 
;<BR>   BOOL bDraw         = 
hb_parl( 15 ) ;<BR>   BOOL 
bTwice        = hb_parl( 16 ) 
;<BR>   HBITMAP hBitMap    = (HBITMAP) hb_parni( 17 ) 
;<BR>   int 
iBmpW          = hb_parni( 18 ) + 2 
;<BR>   int 
iBmpH          = hb_parni( 19 ) 
;<BR>   HFONT hOldFont = SelectObject( hDC, hFont ) ;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>   COLORREF nClr2  = MakeDarker( 
nClrBtn, 48 ) ;<BR>   COLORREF nClr3  = MakeDarker( nClrBtn, -48 
) ;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>   HPEN hPDark  = CreatePen( 
PS_SOLID, 1, nClr2 ) ;<BR>   HPEN hPNull  = CreatePen( PS_NULL, 
0, 0 ) ;<BR>   HPEN hPLight = CreatePen( PS_SOLID, 1, nClr3 ) 
;<BR>   HPEN hPWhite = CreatePen( PS_SOLID, 1, RGB( 221, 221, 221 ) 
);<BR>   HPEN hPGray = CreatePen( PS_SOLID, 1, RGB( 128, 128, 128 ) ) 
;<BR>   HPEN hPNegra = CreatePen( PS_SOLID, 1, 0 ) ;<BR>   
HPEN hPHGray = CreatePen( PS_SOLID, 1, RGB( 192, 192, 192 ) ) ;<BR>   
HPEN hPBlack = CreatePen( PS_SOLID, 1, bDisable ? GetSysColor( COLOR_BTNSHADOW ) 
: 0 ) ;<BR>   HPEN hPOld   = SelectObject( hDC, iStyle == 3 
|| iStyle != 4 ? hPBlack : hPDark ) ;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>   LOGBRUSH lb ;<BR>   HBRUSH 
hBNull ;<BR>   HBRUSH hBBlack = CreateSolidBrush( bDisable ? 
GetSysColor( COLOR_BTNSHADOW ) : 0 ) ;<BR>   HBRUSH hBGray  = 
CreateSolidBrush( bDisable ? GetSysColor( COLOR_BTNFACE ) : nClrBtn ) 
;<BR>   HBRUSH hBDisab = CreateSolidBrush( GetSysColor( 
COLOR_BTNSHADOW ) ) ;<BR>   HBRUSH hBWhite = CreateSolidBrush( RGB( 
241, 241, 241 ) ) ;<BR>   HBRUSH hBOld   = SelectObject( 
hDC, hBGray ) ;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>   POINT aB[ 4 ] ;<BR>   POINT 
aP[ 7 ] ;<BR>   RECT rct ;<BR>   int iBkOld, iExt 
;<BR>   int iLen = hb_parclen( 4 ) ;<BR>   TEXTMETRIC tm 
;<BR>   GetTextMetrics( hDC, &tm ) ;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>   lb.lbStyle = BS_NULL ;<BR>   
hBNull  = CreateBrushIndirect( &lb ) ;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>   CDC<BR>   
iExt       = LOWORD( GetTextExtent( hDC, cText, 
iLen ) ) ;<BR> </FONT></DIV></BODY></HTML>