topic
stringlengths
1
63
text
stringlengths
1
577k
funcion para comparar dos bitmaps ?
Si los dos bitmaps a comparar los mantienes en ficheros externos, podrias hacer: MsgInfo( MemoRead( "bitmap1.bmp" ) == MemoRead( "bitmap2.bmp" ) )
funcion para comparar dos bitmaps ?
Hola Antonio, No funciono. (siempre da falso) Saludos,
funcion para comparar dos bitmaps ?
Albero, Este ejemplo funciona bien aqui y muestra .T. albero.prg [code=fw:3uzpr2ak]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> MemoRead<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"albero.exe"</span> <span style="color: #000000;">&#41;</span> == MemoRead<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"albero.exe"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:3uzpr2ak]
funcion para comparar dos bitmaps ?
Antonio, Si funciona de esa manera. Lo que sucede es que no me hize entender . Lo que necesito es lo siguiente : Tengo un biometrico que me entrega un archivo bmp por cada lectura que haga, el primero lo guardo para compararlo con el nombre "compare.bmp", Luego en las siguientes lecturas guardo los archivos con otros nombres. Cuando hago el match de los dos bitmas ("compare.bmp" contra "otrofile.bmp") con la funcion MemoRead() me entrega siempre el valor de falso. ahora si tomo cualquier archivo bitmap y lo comparo con el mismo me entrega verdadero. Que otra opcion podria tener para realizar esa comparacion ? gracias,
funcion para comparar dos bitmaps ?
Lo que necesitas comparar es el contenido de esos dos bitmaps, si ? o solo los nombres ? La forma de hacerlo con MemoRead() comprueba si no son idénticos.
funcion para comparar dos bitmaps ?
Necesito comparar el contenido de los dos bitmaps. Los nombres no.
funcion para comparar dos bitmaps ?
Si la comparación de los MemoRead()s the da falso entonces es que son distintos (aunque se vean igual, por dentro son distintos)
funcion para comparar dos bitmaps ?
En el caso de lecturar biométricas, no existen dos lecturas idénticas, sino similares. Lo que hacen los sofwares biometricos es guardan un patron de puntos, y en base a un porcentaje de acierto retornan cierto o verdadero. Te adjunto un prototipo de una función que hice hace tiempo para comprobar similitudes entre ficheros bmp, esta integramente en Harbour + FW, tengo otra en C, pero esta te será más facil de manipular y adaptar a tus necesidades. [code=fw:18zki5gp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> Compara<span style="color: #000000;">&#40;</span>cBmpFile1,cBmpFile2,nPrecision,nDif<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hBmp1 &nbsp; &nbsp;:= ReadBitmap<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, cBmpFile1 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hBmp2 &nbsp; &nbsp;:= ReadBitmap<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, cBmpFile2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hDC &nbsp; &nbsp; &nbsp;:= CreateDC<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DISPLAY"</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hDCMem1 &nbsp;:= CreateCompatibleDC<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hDCMem2 &nbsp;:= CreateCompatibleDC<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hOldBmp1 := SelectObject<span style="color: #000000;">&#40;</span> hDCMem1, hBmp1 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> hOldBmp2 := SelectObject<span style="color: #000000;">&#40;</span> hDCMem2, hBmp2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nWBmp1 &nbsp; := nBmpWidth<span style="color: #000000;">&#40;</span> hBmp1 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nHBmp1 &nbsp; := nBmpHeight<span style="color: #000000;">&#40;</span> hBmp1 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nWBmp2 &nbsp; := nBmpWidth<span style="color: #000000;">&#40;</span> hBmp2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nHBmp2 &nbsp; := nBmpHeight<span style="color: #000000;">&#40;</span> hBmp2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nPix:=<span style="color: #000000;">0</span>,n,m,i:=<span style="color: #000000;">0</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nRed1,nBlue1,nGreen1,nRgbColor1<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nRed2,nBlue2,nGreen2,nRgbColor2<br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> nPrecision:=<span style="color: #000000;">5</span><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> nDif:=<span style="color: #000000;">10</span><br />&nbsp; &nbsp;DeleteDC<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nHBmp1 STEP nPrecision<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">for</span> m = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nWBmp1 STEP nPrecision<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRgbColor1:=GetPixel<span style="color: #000000;">&#40;</span> hDCMem1, n, m <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRed1 &nbsp;:=nRgbRed<span style="color: #000000;">&#40;</span>nRgbColor1<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nBlue1 :=nRgbBlue<span style="color: #000000;">&#40;</span>nRgbColor1<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nGreen1:=nRgbGreen<span style="color: #000000;">&#40;</span>nRgbColor1<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRgbColor2:=GetPixel<span style="color: #000000;">&#40;</span> hDCMem2, n, m <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRed2 &nbsp;:=nRgbRed<span style="color: #000000;">&#40;</span>nRgbColor2<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nBlue2 :=nRgbBlue<span style="color: #000000;">&#40;</span>nRgbColor2<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nGreen2:=nRgbGreen<span style="color: #000000;">&#40;</span>nRgbColor2<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> <span style="color: #0000ff;">Abs</span><span style="color: #000000;">&#40;</span>nRed1-nRed2<span style="color: #000000;">&#41;</span>>nDif .OR. <span style="color: #0000ff;">Abs</span><span style="color: #000000;">&#40;</span>nGreen1-nGreen2<span style="color: #000000;">&#41;</span>>nDif .OR. <span style="color: #0000ff;">Abs</span><span style="color: #000000;">&#40;</span>nBlue1-nBlue2<span style="color: #000000;">&#41;</span>>nDif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nPix++<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;i++<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp;<span style="color: #00C800;">next</span><br />&nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span>SelectObject<span style="color: #000000;">&#40;</span> hDCMem1, hOldBmp1 <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DeleteDC<span style="color: #000000;">&#40;</span> hDCMem1 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span>SelectObject<span style="color: #000000;">&#40;</span> hDCMem2, hOldBmp2 <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DeleteDC<span style="color: #000000;">&#40;</span> hDCMem2 <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #000000;">&#40;</span>nPix*<span style="color: #000000;">100</span>/i<span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:18zki5gp]
funcion para comparar dos bitmaps ?
Biel, Muy interesante, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
funcion para comparar dos bitmaps ?
Biel, Es verdad, muy interesante tu aporte. Una pregunta... ¿ Cual porcentaje de similitud puede ser el adecuado para validar como iguales dos huellas ? Se me ocurre pensar, aunque no tengo ni idea, que quizás los comprobadores de huella utilicen búsqueda de patrones. Me explico. Por ejemplo, que busquen la distancia entre el primer y el último surco... no sé... ya digo que no tengo ni idea: cosas de ver mucho CSI. Saludos a todos.
funcion para comparar dos bitmaps ?
Biel, Lo pruebo y te comento, Gracias, Saludos,
funcion para comparar dos bitmaps ?
[quote="hmpaquito":2a230dlk] Una pregunta... ¿ Cual porcentaje de similitud puede ser el adecuado para validar como iguales dos huellas ? Se me ocurre pensar, aunque no tengo ni idea, que quizás los comprobadores de huella utilicen búsqueda de patrones. Me explico. Por ejemplo, que busquen la distancia entre el primer y el último surco... no sé... ya digo que no tengo ni idea: cosas de ver mucho CSI. Saludos a todos.[/quote:2a230dlk] El porcentaje, ni idea. Eso sera cuestión de prueba y error e ir afinando el porcentaje. Esta fución la desarrolle para detectar movimiento en videovigilancia, pero imagino que puede servir para lo que pedian. En cuanto a biometria, con los lectores que yo he trabajo efectivamente, el SDK guarda un patron numérico cuyo algoritmo desconozco, toman n puntos de la huella para generarlo teniendo en cuenta lineas, y relieve de la misma.
funcion uuid()
Alguien tendrá una función que genere el codigo uuid() ? Gracias por anticipado
funcion uuid()
encontré este código en la red : * Funcion que genera un GUID de 36 caracteres * ***********************************************/ function generateGUID() { $guidstr = ""; for ($i=1;$i<=16;$i++) { $b = (int)rand(0,0xff); if ($i == 7) { $b &= 0x0f; $b |= 0x40; } // version 4 (random) if ($i == 9) { $b &= 0x3f; $b |= 0x80; } // variant $guidstr .= sprintf("%02s", base_convert($b,10,16)); if ($i == 4 || $i == 6 || $i == 8 || $i == 10) { $guidstr .= '-'; } } $guidstr=md5($_SERVER['SERVER_NAME'].$guidstr.microtime()); return substr($guidstr,0,8)."-".substr($guidstr,8,4)."-".substr($guidstr,12,4)."-".substr($guidstr,16,4)."-".substr($guidstr,20,12) ;//$guidstr; } Hay alguna alma caritativa <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> que me ayude a pasarlo a C para usarlo con xHarbour
funcion uuid()
Vikthor, Para adaptar esa función necesitas rand() y md5() para C. No te sería más fácil usar la función nRandom() de FWH para generar varios valores aleatorios y asi construir el GUID ? Eso es lo que hace basicamente esa función en C.
funcion uuid()
Antonio : Las funciones que mencionas en que librería estan ? Tengo que generar registros con esa función para obtener valores cómo estos : 01b1f5f7-01a8-54de-f173-a3abae11f875 03bdf88e-bf91-8636-1a40-30240c156a0a 07b1ff1d-e655-132d-69cc-6380683099fd 0ab5b5be-26d3-862b-a588-45e9aad7b800 0aff342e-ad32-39c0-d43a-ab0614277a26 0d7be660-7e01-229a-a089-8ed1bf48c10c 13d0b448-c3dd-fdb4-b7d4-74a35b251b35 172b85da-45bc-9dbb-62e9-b1e29e493de1 17def03c-1404-3577-6d98-8278ca23db5a 17e03e65-1a4b-e395-cf8c-3ac72145fab9
funcion uuid()
Solo necesitas nRandom( [<nRango>] ) --> n y DecToHex( n ) --> cHex. Ambas estan en FWH y asi puedes construir tu función desde PRG
funcion uuid()
Hola Tocayo: Tal vez este link te sea de utilidad <!-- m --><a class="postlink" href="http://www.codeproject.com/KB/string/uniquestring.aspx">http://www.codeproject.com/KB/string/uniquestring.aspx</a><!-- m --> Saludos Manuel Mercado
funcion uuid()
Vikthor, here is a sample how to create a 16bit and a 32 bit GUID. [code:3r2u6yae]//------------------------- // GuID generieren // Stefan Haupt, April 2005 //------------------------- #include "FiveWin&#46;ch" PROCEDURE Main &#40;&#41; MsgInfo &#40;"GuID16&#58; "+CreateGuID16&#40;&#46;t&#46;&#41;+CRLF+"GuID32&#58; "+CreateGuID32&#40;&#46;t&#46;&#41;,"GuID"&#41; RETURN //------------------------------------------------------------------ // short packed GUID &#40; 16 byte &#41; //------------------------------------------------------------------ FUNCTION CreateGuID16 &#40;lNoBracket&#41; LOCAL nCnt &#58;= 1, nID &#58;= 0, cID &#58;= "" LOCAL cGuID &#58;= "" DEFAULT lNoBracket &#58;= &#46;F&#46; cID &#58;= NewGuid16 &#40;&#41; FOR nCnt &#58;= 1 TO Len&#40;cID&#41; nID &#58;= SubStr&#40;cID,nCnt,1&#41; cGuID &#58;= cGuID + FT_Byt2Hex &#40;nID&#41; NEXT cGuid &#58;= CharRem &#40;"h",cGuid&#41; cGuid &#58;= PosIns &#40;cGuid,"-",9&#41; cGuid &#58;= PosIns &#40;cGuid,"-",14&#41; cGuid &#58;= PosIns &#40;cGuid,"-",19&#41; cGuid &#58;= PosIns &#40;cGuid,"-",24&#41; IF !lNoBracket cGuid &#58;= "&#123;"+cGuid+"&#125;" ENDIF RETURN &#40;cGuID&#41; //------------------------------------------------------------------ // standard 38 byte's M$ GuID //------------------------------------------------------------------ FUNCTION CreateGuID32 &#40;lNoBracket&#41; LOCAL cGuID &#58;= NewGuid&#40;&#41; DEFAULT lNoBracket &#58;= &#46;F&#46; IF lNoBracket cGuid &#58;= CharRem &#40;"&#123;",cGuid&#41; cGuid &#58;= CharRem &#40;"&#125;",cGuid&#41; ENDIF RETURN &#40;cGuID&#41; // Many thanks to Valerie for his help // and these 2 functions #pragma BEGINDUMP #include <windows&#46;h> #include "hbapi&#46;h" //------------------------------------------------------------------ // short packed GUID for use in may program &#40; 16 byte &#41; //------------------------------------------------------------------ HB_FUNC&#40; NEWGUID16 &#41; &#123; GUID mguid; if &#40; CoCreateGuid&#40;&mguid&#41; != NULL &#41; memset&#40;&#40; LPVOID &#41; &mguid,'?',sizeof&#40; mguid &#41;&#41;; hb_retclen&#40;&#40; LPVOID &#41; &mguid,sizeof&#40; mguid &#41;&#41;; &#125; //------------------------------------------------------------------ // standard 38 byte's M$ guid //------------------------------------------------------------------ HB_FUNC&#40; NEWGUID &#41; &#123; GUID guid; char obuff&#91;38&#93;; memset&#40; obuff, 0x0, 38 &#41;; if &#40; CoCreateGuid&#40;&guid&#41; == NULL &#41; &#123; OLECHAR tmpbuff&#91;76&#93;; StringFromGUID2&#40;&guid,tmpbuff,76&#41;; WideCharToMultiByte&#40;CP_OEMCP,0,tmpbuff,-1,obuff,38,NULL,NULL&#41;; &#125; hb_retclen&#40;obuff,38&#41;; &#125; #pragma ENDDUMP [/code:3r2u6yae] Hope it helps.
funcion uuid()
Stefan : Error: Unresolved external '_HB_FUN_FT_BYT2HEX' referenced from Error: Unresolved external '_HB_FUN_CHARREM' referenced from Error: Unresolved external '_HB_FUN_POSINS' referenced from I need any lib to link those functions ? Thanks
funcion uuid()
Vikthor, sorry, I forgot to mention it, you have link ct.lib and libnf.lib. Both libs are included in xHarbour.
funcion uuid()
Thanks Stefan.
funciona bien el método Preview de la clase report
Hola. ¿¿¿ Sabe alguien si funciona el método Preview de la clase report, en versiones, 2.6 ó 2.7 de fivewin para harbour ??? Gracias.
funciona bien el método Preview de la clase report
Ricardo, Acabamos de probar samples\TestPrn2.prg y el preview funciona bien. Puedes probar ese ejemplo y ver si te funciona correctamente ? gracias,
funciona bien el método Preview de la clase report
Gracias Antonio por contestarme. Si, el ejemplo que dices, me funcionó bien es decir se vé el preview perfectamente, pero en el resto de mis programas los cuales con versiones anteriores a la 2.6 funcionan sin problemas, ahora no me funcionan y me sacan un previsualizado sin datos ( pantalla de la prev32.dll de datos en blanco). Si quito el Preview, entonces si salen bien los datos por la impresora, pero claro, sin visualizarlos previamente. Esperando tu ayuda. Muchas Gracias. Ricardo Blanco
funciona bien el método Preview de la clase report
Ricardo, Podrias proporcionarnos un pequeño ejemplo, autocontenido, que reproduzca el error ? Gracias,
funciona bien el método Preview de la clase report
Antonio, he aislado los report que genero con mi aplicación y al compilarlos con el buildh.bat del direcctorio samples, si funcionan bien. Lo que si observo es que cuando los incluyo como módulos de la aplicación para generar el listado, estos si crean bien los archivos temporales tmp0001.emf, tmp0002.emf ,etc... ,es decir ,dichos ficheros si contienen los datos y formato del report que deseo imprimir, pero el problema es que esos ficheros no se ven en la ventana del preview , no se si porque no los abre, no los encuentra, etc..., por lo que no se pueden imprimir. Por cierto trabajo sobre windows 2000, por si sirve de algo para resolver el problema. Gracias. Ricardo Blanco <!-- e --><a href="mailto:blanco.r@iveco.com">blanco.r@iveco.com</a><!-- e -->
funciona bien el método Preview de la clase report
Antonio, estoy haciendo pruebas y siempre el flujo del programa entra por el condicionante __CLIPPER_ , en la clase printer. if ::lMeta #ifndef __CLIPPER__ AAdd( ::aMeta, ::cDir + "\tmp" + PadL( ::nPage, 4, "0" ) + ".emf" ) ::hDCOut := CreateEnhMetaFile( ::hDc,ATail( ::aMeta ), ::cDocument ) //jlcr #else AAdd( ::aMeta, ::cDir + "\tmp" + PadL( ::nPage, 4, "0" ) + ".wmf" ) ::hDCOut := CreateMetaFile( ATail( ::aMeta ) ) #endif else StartPage( ::hDC ) endif ¿ Que estoy haciendo mal para que suceda esto ? Gracias Ricardo Blanco
funciona bien el método Preview de la clase report
Antonio. Al compilar y linkar mi aplicación con la clase tprinter de fwh build 2.4 de Julio de 2.003 , el problema se soluciona, al no existir ningún condicionante del tipo __clipper__ en los métodos de dicha clase. El preview se muestra correctamente. Espero tus sugerencias de la posible causa del porqué el flujo de ejecución de mi aplicación compilada con la versión 2.7 pasa siempre por __Clipper__ lo que provoca el mal funcionamiento del preview, yo no tengo ni idea de por donde pueden ir los tiros. Muchas gracias por tu paciencia. Ricardo Blanco <!-- e --><a href="mailto:blanco.r@iveco.com">blanco.r@iveco.com</a><!-- e -->
funciona bien el método Preview de la clase report
Ricardo, El condicionante es en caso negativo: #ifndef __CLIPPER__ if n def luego es correcto si pasa por ahí. Podrias enviarme por email uno de los ficheros EMF que no se visualizan ? gracias.
funciona bien el método Preview de la clase report
Antonio, ya le he enviado el fichero solicitado para su análisis a su correo privado Muchas gracias Un saludo
funcionalidad en xBrowse
Hola, Me gustaría saber cómo guardar la configuración de columnas de xBrowse cuando se hace click derecho y se desmarcan algunas columnas, de modo que la próxima vez que se inicie dicho xBrowse sólo se cargen las que el usuario ha marcado. [url=http&#58;//imageshack&#46;us/photo/my-images/16/xbrowse&#46;png/:258t84ed][img:258t84ed]http&#58;//img16&#46;imageshack&#46;us/img16/9222/xbrowse&#46;png[/img:258t84ed][/url:258t84ed] Uploaded with [url=http&#58;//imageshack&#46;us:258t84ed]ImageShack.us[/url:258t84ed] Muchas gracias.
funcionalidad en xBrowse
cState := oBrw:SaveState() Save the value of cState in any file on disk. Next time when the program is run, read the value of cState and restore it by oBrw:RestoreState( cState ), after completely defining the browse.
funcionalidad en xBrowse
And for all columns?. The idea is let the user to choose the columns that he needs to be shown. Thank you.
funcionalidad en xBrowse
[quote="lucasdebeltran":798lf3k6]And for all columns?. The idea is let the user to choose the columns that he needs to be shown. Thank you.[/quote:798lf3k6] Yes. This saves the information of all columns about their status of visibility, position and widths
funcionalidad en xBrowse
Great. And where I place savestate and loadstate?. Thank you.
funcionalidad en xBrowse
Please try this sample [code=fw:1ay9gx7s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.Ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg, oBrw, cState, cFile := <span style="color: #ff0000;">"xbrstate.txt"</span><br /><br />&nbsp; &nbsp;USE CUSTOMER<br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">600</span>,<span style="color: #000000;">400</span> <span style="color: #0000ff;">PIXEL</span><br />&nbsp; &nbsp;@ <span style="color: #000000;">10</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-10</span>,<span style="color: #000000;">-10</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">AUTOCOLS</span> <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"CUSTOMER"</span> CELL LINES NOBORDER<br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> File<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cState &nbsp; := MemoRead<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; FErase<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">RestoreState</span><span style="color: #000000;">&#40;</span> cState <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span> <span style="color: #000000;">&#40;</span> MemoWrit<span style="color: #000000;">&#40;</span> cFile, oBrw:<span style="color: #000000;">SaveState</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, .t. <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br />&nbsp;</div>[/code:1ay9gx7s] Please indicate version of FWH and (x)Harbour you are using in your next posts.
funcionalidad en xBrowse
Hello. It works perfect with FW 11.08 + Harbour 2.x. Would be possible to implement a global set to handle this automatically?. A.e., SET XBROWSESAVESTATE ON And info coud be stored in the same .ini. For every xBrowse, section could be the name of the function where xbrowse is called. I think it is a very interesting feature. Thank you.
funcionalidad en xBrowse
It is better to leave it to the programmer. Different programmers may have different preferences to to store the saved state. You may like to save in ini file, some others somewhere else.
funcionalidad en xBrowse
In that case, the programer can edit that function to adapt to his needs. But in general, saves many time of coding.
funcionalidad en xBrowse
Mr Nao, Could be possible ? Thanks
funcionalidad interesante: alinear grupos de objetos
Hola chicos, Muy lindo el reporter <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> . Me gustaría sugerir por favor que se incorpore una opción para alinear los objetos que se seleccionen, como hace Fast Report. Con eso estaría de lujo. Muy agradecida.
funcionalidad interesante: alinear grupos de objetos
Elvira Creo que ya hay incluido al respecto (aún no he llegado ahi ) En ERItems.Prg [code=fw:2r2aeeoi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> MultiItemProperties<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>  <br /> </div>[/code:2r2aeeoi] Seleccionas varios objetos con CTRL y Doble-Click o Boton derecho (supongo, ya te digo que aun yo no le he probado) ------------------------ EDITADO ----------------------------------- Ya lo he probado y no funciona la multiseleccion con CTRL, asi que como si no hubiese dicho nada
funcionalidad interesante: alinear grupos de objetos
Hola, Pues sí, muy buena idea. Efectivamente, la multiselección no funciona. Una vez arreglada, sería poner en la barra un botón titulado Alinear, cuando se pincha el botón un menú con las opciones Izquierda, Derecha y Justificado. ¿Qué os parece?. Muchas gracias.
funcionalidad interesante: alinear grupos de objetos
[quote="lucasdebeltran":3odcpe2m]Hola, Pues sí, muy buena idea. Efectivamente, la multiselección no funciona. Una vez arreglada, sería poner en la barra un botón titulado Alinear, cuando se pincha el botón un menú con las opciones Izquierda, Derecha y Justificado. ¿Qué os parece?. Muchas gracias.[/quote:3odcpe2m] Lucas , realmente la alineación existe pero de una manera un tanto extraña .... . Se usa la multiseleción , se seleccionan varios elementos , pulsas en propiedades y sale el cuadro multiselección donde tú pones las coordenadas donde quieres alinear y aceptas . El problema es que tenemos un bug pendiente en las selecciones y si tienes seleccionado un elemento , la multiseleción no funciona correctamente , aparece el ciado de propiedades del elemento , en vez el de multiselecion . Para que aparezca correcto , lanza el reporte y sin seleccionar ningún elemento , realiza un multiseleción con el ratón haciendo un cuadro al rededor de los elementos ( quedaran resaltados ) , entonces botón propiedades ... Saludos.
funcionalidad interesante: alinear grupos de objetos
Hola!!!, Al final, ¿se solucionó este problema?. Muy agradecida <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
funcionalidad interesante: alinear grupos de objetos
a primera vista parece que el bug queda resuelto , aún queda algún bug mas .
funcionalidad interesante: alinear grupos de objetos
He corregido un bug ahora parece que va mejor ... la multiselecion es con SHIFT y no con CTRL , confirmarme que funciona.
funcionalidad interesante: alinear grupos de objetos
Lucas ,Cristobal , en caso de poner botones de alineado , de los elementos selecionados , cual tomariamos como referencia ? . Me explico supongamos 3 textos que queremos alinear a la izquierda , ¿ cual de ellos sería el maestro , a cuyas cordenadas alineamos los demas ?
funcionalidad interesante: alinear grupos de objetos
Creo que lo lógico es tomar el primero que se seleccione, no?
funcionalidad interesante: alinear grupos de objetos
Eso es, como dice Cristóbal. Muchas gracias.
funcionalidad interesante: alinear grupos de objetos
Eso es, como dice Cristóbal. Muchas gracias.
funcionalidad interesante: alinear grupos de objetos
[quote="mastintin":3eguxtdv]He corregido un bug ahora parece que va mejor ... la multiselecion es con SHIFT y no con CTRL , confirmarme que funciona.[/quote:3eguxtdv] Manuel, si seleccionamos un item y después pulsamos SHIFT para seguir seleccionando, no parece que podamos seleccionar el siguiente. Si inicialmente, antes de tener seleccionado ningún item pulsamos SHIFT, si selecciona Además parece como si debajo del primer item seleccionado deje una marca ( algo asi: _ )
funcionalidad interesante: alinear grupos de objetos
ok. De momento lo implementaré en el mismo submenu que colocar al fondo y traer al frente , y aprovecharé todo lo implementado para "multiproperties" luego si funciona ya lo pondremos mas "bonito" . Gracias .
funcionalidad interesante: alinear grupos de objetos
[quote="cnavarro":21he9t6g] Manuel, si seleccionamos un item y después pulsamos SHIFT para seguir seleccionando, no parece que podamos seleccionar el siguiente. Si inicialmente, antes de tener seleccionado ningún item pulsamos SHIFT, si selecciona Además parece como si debajo del primer item seleccionado deje una marca ( algo asi: _ )[/quote:21he9t6g] Cristobal , lo he visto , puedes seleccionar mas items pero el inicial pierde la selección y no veo como solucionarlo fácilmente . <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> .......... edito .............. He subido código para el alineado a ver como lo veis... Respecto a la selección , confirmado se pierde el primer seleccionado ( el que no uso shift ) ... a ver si cazo como controlarlo. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> ........... edito ................. He cambiado como funciona la selección en el programa . Antes cuando solo se seleccionaba un item este no se anotaba en aSelection , ahora se anota y se resalta también el primer item con lo que la selección se hace para todos . A ver si no trae "efectos secundarios" .
funcionalidad para Fivewin
Hola Antonio, Necesitaríamos por favor que el menú tuviera el look de Windows 10: [img:3dzji2wu]http&#58;//i57&#46;tinypic&#46;com/1zccmqb&#46;jpg[/img:3dzji2wu] Muchas gracias.
funcionalidad para Fivewin
Moises, gracias por la sugerencia, vamos a implementarlo cuanto antes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
funcionalidad para Fivewin
Que cláusula usamos para activarlo ? había pensado usar 2015 por el año. Alguna otra sugerencia ? He pensado en WIN10, pero me gustaria tener vuestra opinión, gracias
funcionalidad para Fivewin
Que tal FWin10 ? para no dejar por fuera a FiveWin..digo..nose..saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
funcionalidad para Fivewin
Antonio: Yo pondría 2015, para seguir con la serie de estilos actualmente en vigor y no confundir. Muchas gracias.
funcionalidad para Fivewin
Si, yo tambien creo que es mejor usar el año o nos haremos un lio...
funcionalidad para Fivewin
Moisés, No funciona VirtualBox en Windows 10 (10074) y de momento no puedo probarlo en XP. No puedo probarlo en Windows 10, porque se ve como el de Windows 10 por defecto. Si quieres publico aqui el código por si lo quieres probar tu, hasta que se me ocurra otra solución.
funcionalidad para Fivewin
Moisés, He preparado este fichero para ir implementando el estilo de menu de Windows 10. Además de este código hace falta la clase TMenu modificada y menus.ch modificado. Los puedo publicar tambien si te interesa probarlo. De momento no muestra el estilo de Windows 10. El problema que tengo es que virtualbox no funciona en Windows 10. menudraw.c [code=fw:3o19ywlj]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <Windows.h><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><br />BOOL bStrAt<span style="color: #000000;">&#40;</span> BYTE bChar, LPSTR szText <span style="color: #000000;">&#41;</span>;<br />HBITMAP CreateMemBitmap<span style="color: #000000;">&#40;</span> HDC hDC, LPSTR cBitmap <span style="color: #000000;">&#41;</span>;<br />void pascal DelResource<span style="color: #000000;">&#40;</span> HANDLE hResource <span style="color: #000000;">&#41;</span>;<br />void DrawGrayed<span style="color: #000000;">&#40;</span> HDC, HBITMAP, int, int <span style="color: #000000;">&#41;</span>;<br />void DrawMasked<span style="color: #000000;">&#40;</span> HDC, HBITMAP, WORD, WORD <span style="color: #000000;">&#41;</span>;<br />void Gradient<span style="color: #000000;">&#40;</span> HDC hDC, RECT * rct, COLORREF crStart, COLORREF crEnd, BOOL bVertical <span style="color: #000000;">&#41;</span>; <br />BOOL HB_ISDIBitmap<span style="color: #000000;">&#40;</span> LPDRAWITEMSTRUCT lpdis <span style="color: #000000;">&#41;</span>;<br />long RoundBox<span style="color: #000000;">&#40;</span> HDC hDC, int iLeft, int iTop, int iRight,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int iBottom, int iRound1, int iRound2, COLORREF lColor, long lPenSize <span style="color: #000000;">&#41;</span>;<br />void RegisterResource<span style="color: #000000;">&#40;</span> HANDLE hResource, LPSTR szType <span style="color: #000000;">&#41;</span>;<br />LPSTR StrToken<span style="color: #000000;">&#40;</span> LPSTR szText, WORD wOcurrence, BYTE bSeparator, LPWORD pwLen <span style="color: #000000;">&#41;</span>;<br /><br />typedef struct _SKIN_MENU<br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;long clr_gradBar1_1; &nbsp; <span style="color: #B900B9;">//first gradient bar colors</span><br />&nbsp; &nbsp;long clr_gradBar1_2; &nbsp; <span style="color: #B900B9;">//second gradient bar colors</span><br />&nbsp; &nbsp;long clr_gradBar2_1; &nbsp; <span style="color: #B900B9;">//first gradient bar colors</span><br />&nbsp; &nbsp;long clr_gradBar2_2; &nbsp; <span style="color: #B900B9;">//second gradient bar colors &nbsp; </span><br />&nbsp; &nbsp;long clr_leftSide; &nbsp; &nbsp; <span style="color: #B900B9;">// left side color</span><br />&nbsp; &nbsp;long clr_rightSide; &nbsp; &nbsp;<span style="color: #B900B9;">// right side color</span><br />&nbsp; &nbsp;long clr_vertical1;<br />&nbsp; &nbsp;long clr_vertical2;<br />&nbsp; &nbsp;long clr_box;<br />&nbsp; &nbsp;long clr_gradSelected1_1;<br />&nbsp; &nbsp;long clr_gradSelected1_2;<br />&nbsp; &nbsp;long clr_gradSelected2_1;<br />&nbsp; &nbsp;long clr_gradSelected2_2; &nbsp; <br />&nbsp; &nbsp;long clr_textGrayed;<br />&nbsp; &nbsp;long clr_gradGrayed1_1;<br />&nbsp; &nbsp;long clr_gradGrayed1_2; <br />&nbsp; &nbsp;long clr_gradGrayed2_1; <br />&nbsp; &nbsp;long clr_gradGrayed2_2; <br />&nbsp; &nbsp;long clr_boxGrayed; <br />&nbsp; &nbsp;BYTE * byteChecked;<br />&nbsp; &nbsp;enum fw_SKIN skin;<br />&nbsp; &nbsp;int roundSize;<br />&nbsp; &nbsp;BOOL bdrawGrayed;<br />&nbsp; &nbsp;<br /><span style="color: #000000;">&#125;</span> SKIN_MENU;<br /><br /><span style="color: #00C800;">static</span> HBITMAP hBmpCheck2015 = <span style="color: #00C800;">NULL</span>;<br /><span style="color: #00C800;">static</span> SKIN_MENU skinMenu;<br /><br />HBITMAP Check2015<span style="color: #000000;">&#40;</span> HDC hDC, BYTE * byteImg <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// ( hDC ) --> hBitmap</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hBmpCheck2015 == <span style="color: #00C800;">NULL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; hBmpCheck2015 = CreateMemBitmap<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">&#40;</span> LPSTR <span style="color: #000000;">&#41;</span> byteImg <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;<span style="color: #00C800;">return</span> hBmpCheck2015;<br /><span style="color: #000000;">&#125;</span><br /><br />void DelCheck2015<span style="color: #000000;">&#40;</span> void <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hBmpCheck2015 != <span style="color: #00C800;">NULL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; DelResource<span style="color: #000000;">&#40;</span> hBmpCheck2015 <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; DeleteObject<span style="color: #000000;">&#40;</span> hBmpCheck2015 <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; DelResource<span style="color: #000000;">&#40;</span> hBmpCheck2015 <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; hBmpCheck2015 = <span style="color: #00C800;">NULL</span>;<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span>&nbsp; <br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> DELCHECK2015 <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;DelCheck2015<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span> <br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> MENUDRAW2015 <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// ( pDrawItemStruct, cPrompt, hTopMenu, hBitmap, hWnd )</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp;#ifndef _WIN64 <br />&nbsp; &nbsp; &nbsp; HMENU hTopMenu = <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; HBITMAP hBmp = <span style="color: #000000;">&#40;</span> HBITMAP <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; HWND hWnd = <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; LPDRAWITEMSTRUCT lpdis = <span style="color: #000000;">&#40;</span> LPDRAWITEMSTRUCT <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; HMENU hTopMenu = <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> hb_parnll<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; HBITMAP hBmp = <span style="color: #000000;">&#40;</span> HBITMAP <span style="color: #000000;">&#41;</span> hb_parnll<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; HWND hWnd = <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnll<span style="color: #000000;">&#40;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; LPDRAWITEMSTRUCT lpdis = <span style="color: #000000;">&#40;</span> LPDRAWITEMSTRUCT <span style="color: #000000;">&#41;</span> hb_parnll<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;#endif<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;LPSTR szPrompt = <span style="color: #000000;">&#40;</span> LPSTR <span style="color: #000000;">&#41;</span> hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;BOOL bTab = bStrAt<span style="color: #000000;">&#40;</span> <span style="color: #000000;">9</span>, szPrompt <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;WORD wLen;<br />&nbsp; &nbsp;HPEN hNormal;<br />&nbsp; &nbsp;HBRUSH hBrush, holdBrush;<br />&nbsp; &nbsp;LOGBRUSH lb;<br />&nbsp; &nbsp;RECT rct;<br />&nbsp; &nbsp;UINT uFormat;<br />&nbsp; &nbsp;LONG top, <span style="color: #0000ff;">left</span>, bottom, <span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp;HRGN hReg;<br />&nbsp; &nbsp;HDC hdcMem;<br />&nbsp; &nbsp;HBITMAP hbmp, holdBmp;<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">static</span> BOOL bVista = <span style="color: #00C800;">FALSE</span>;<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! hBmpCheck2015 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;&nbsp;OSVERSIONINFO vi;<br />&nbsp; &nbsp;&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; Check2015<span style="color: #000000;">&#40;</span> lpdis->hDC, skinMenu.byteChecked <span style="color: #000000;">&#41;</span>; &nbsp; <br /><br />&nbsp; &nbsp; &nbsp; ZeroMemory<span style="color: #000000;">&#40;</span> &vi, sizeof<span style="color: #000000;">&#40;</span> OSVERSIONINFO <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; vi.dwOSVersionInfoSize = sizeof<span style="color: #000000;">&#40;</span> OSVERSIONINFO <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; GetVersionEx<span style="color: #000000;">&#40;</span> &vi <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> vi.dwMajorVersion == <span style="color: #000000;">6</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Vista</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bVista = <span style="color: #00C800;">TRUE</span>;<br />&nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp; &nbsp; &nbsp;<br /><br />&nbsp; &nbsp;hReg = CreateRoundRectRgn<span style="color: #000000;">&#40;</span> lpdis->rcItem.<span style="color: #0000ff;">left</span>, lpdis->rcItem.top, lpdis->rcItem.<span style="color: #0000ff;">right</span>, lpdis->rcItem.bottom, skinMenu.roundSize, skinMenu.roundSize <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;SetWindowRgn<span style="color: #000000;">&#40;</span> lpdis->hwndItem, hReg, <span style="color: #00C800;">FALSE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hReg <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #00C800;">switch</span><span style="color: #000000;">&#40;</span> lpdis->itemAction <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">case</span> ODA_DRAWENTIRE:<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">case</span> ODA_SELECT:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hTopMenu == <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> lpdis->hwndItem && ! <span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_SELECTED <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; POINT <span style="color: #0000ff;">pt</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetClientRect<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hWnd, &rct <span style="color: #000000;">&#41;</span>; <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Gradient for top menu </span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top = lpdis->rcItem.top;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> GetPixel<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">right</span> + <span style="color: #000000;">2</span>, lpdis->rcItem.top <span style="color: #000000;">&#41;</span> != RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">254</span>, <span style="color: #000000;">254</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span> && <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetPixel<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">right</span> + <span style="color: #000000;">2</span>, lpdis->rcItem.top <span style="color: #000000;">&#41;</span> != RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span> &&<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetPixel<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">right</span> + <span style="color: #000000;">2</span>, lpdis->rcItem.top <span style="color: #000000;">&#41;</span> != RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">248</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span> &&<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetPixel<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">right</span> + <span style="color: #000000;">2</span>, lpdis->rcItem.top <span style="color: #000000;">&#41;</span> != RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">239</span>, <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span> <span style="color: #000000;">&#41;</span> &&<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetPixel<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">right</span> + <span style="color: #000000;">2</span>, lpdis->rcItem.top <span style="color: #000000;">&#41;</span> != RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">245</span>, <span style="color: #000000;">254</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lpdis->rcItem.<span style="color: #0000ff;">right</span> = rct.<span style="color: #0000ff;">right</span> + <span style="color: #000000;">3</span> + <span style="color: #000000;">&#40;</span> bVista ? <span style="color: #000000;">5</span> : <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.bottom = lpdis->rcItem.top + <span style="color: #000000;">8</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Gradient<span style="color: #000000;">&#40;</span> lpdis->hDC, &lpdis->rcItem, skinMenu.clr_gradBar1_1, skinMenu.clr_gradBar1_2, <span style="color: #00C800;">TRUE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.top = lpdis->rcItem.bottom + <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.bottom = bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Gradient<span style="color: #000000;">&#40;</span> lpdis->hDC, &lpdis->rcItem, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">212</span>, <span style="color: #000000;">219</span>, <span style="color: #000000;">237</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">225</span>, <span style="color: #000000;">230</span>, <span style="color: #000000;">246</span> <span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">TRUE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.top = top;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// bottom lines</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lb.lbStyle = BS_SOLID;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lb.lbColor = RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">182</span>, <span style="color: #000000;">188</span>, <span style="color: #000000;">204</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.top = lpdis->rcItem.bottom - <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.<span style="color: #0000ff;">left</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.bottom = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &rct, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lb.lbStyle = BS_SOLID;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lb.lbColor = &nbsp;bVista ? RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span> <span style="color: #000000;">&#41;</span> : <span style="color: #000000;">RGB</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.top = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.bottom = lpdis->rcItem.bottom + <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &rct, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.<span style="color: #0000ff;">right</span> = <span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_SELECTED <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! <span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_GRAYED <span style="color: #000000;">&#41;</span> || skinMenu.bdrawGrayed <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int iWidth, iHeight;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;long lGrad1_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;long lGrad1_2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;long lGrad2_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;long lGrad2_2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;long lbox;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> skinMenu.bdrawGrayed && <span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_GRAYED <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad1_1 = skinMenu.clr_gradGrayed1_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad1_2 = skinMenu.clr_gradGrayed1_2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad2_1 = skinMenu.clr_gradGrayed2_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad2_2 = skinMenu.clr_gradGrayed2_2; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lbox &nbsp; &nbsp; = skinMenu.clr_boxGrayed;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span><span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad1_1 = skinMenu.clr_gradSelected1_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad1_2 = skinMenu.clr_gradSelected1_2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad2_1 = skinMenu.clr_gradSelected2_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lGrad2_2 = skinMenu.clr_gradSelected2_2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lbox &nbsp; &nbsp; = skinMenu.clr_box;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;iWidth &nbsp;= &nbsp;lpdis->rcItem.<span style="color: #0000ff;">right</span> - lpdis->rcItem.<span style="color: #0000ff;">left</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;iHeight = lpdis->rcItem.bottom - lpdis->rcItem.top;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.top = <span style="color: #000000;">0</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.<span style="color: #0000ff;">left</span> = <span style="color: #000000;">0</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom = iHeight;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.<span style="color: #0000ff;">right</span> = iWidth;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hdcMem = CreateCompatibleDC<span style="color: #000000;">&#40;</span> lpdis->hDC <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hbmp &nbsp; = CreateCompatibleBitmap<span style="color: #000000;">&#40;</span> lpdis->hDC, iWidth, iHeight <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;holdBmp = <span style="color: #000000;">&#40;</span> HBITMAP <span style="color: #000000;">&#41;</span> SelectObject<span style="color: #000000;">&#40;</span> hdcMem, hbmp <span style="color: #000000;">&#41;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bottom = rct.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom = iHeight / <span style="color: #000000;">2</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Gradient<span style="color: #000000;">&#40;</span> hdcMem, &rct, lGrad1_1, lGrad1_2, <span style="color: #00C800;">TRUE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;top = rct.top;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.top = rct.bottom + <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom = bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom--;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Gradient<span style="color: #000000;">&#40;</span> hdcMem, &rct, lGrad2_1, lGrad2_2, <span style="color: #00C800;">TRUE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.top = top;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom++;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbStyle = BS_PATTERN;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbHatch = <span style="color: #000000;">&#40;</span> ULONG_PTR <span style="color: #000000;">&#41;</span> hbmp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SetBrushOrgEx<span style="color: #000000;">&#40;</span> lpdis->hDC, <span style="color: #000000;">0</span>, lpdis->rcItem.top, <span style="color: #00C800;">NULL</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;holdBrush = <span style="color: #000000;">&#40;</span> HBRUSH <span style="color: #000000;">&#41;</span> SelectObject<span style="color: #000000;">&#40;</span> lpdis->hDC, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BeginPath<span style="color: #000000;">&#40;</span> lpdis->hDC <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RoundBox<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">left</span>, lpdis->rcItem.top, lpdis->rcItem.<span style="color: #0000ff;">right</span>,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.bottom, skinMenu.roundSize, skinMenu.roundSize, lbox, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;EndPath<span style="color: #000000;">&#40;</span> lpdis->hDC <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillPath<span style="color: #000000;">&#40;</span> lpdis->hDC <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RoundBox<span style="color: #000000;">&#40;</span> lpdis->hDC, lpdis->rcItem.<span style="color: #0000ff;">left</span>, lpdis->rcItem.top, lpdis->rcItem.<span style="color: #0000ff;">right</span>,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.bottom, skinMenu.roundSize, skinMenu.roundSize, lbox, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SelectObject<span style="color: #000000;">&#40;</span> lpdis->hDC, holdBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SelectObject<span style="color: #000000;">&#40;</span> hdcMem, holdBmp <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hbmp <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteDC<span style="color: #000000;">&#40;</span> hdcMem <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hTopMenu != <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> lpdis->hwndItem <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Draw left side</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbStyle = BS_SOLID;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbColor = skinMenu.clr_leftSide;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lpdis->rcItem.<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">24</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &lpdis->rcItem, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lpdis->rcItem.<span style="color: #0000ff;">right</span> = <span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Clean right side</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbColor = skinMenu.clr_rightSide;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">left</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hTopMenu != <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> lpdis->hwndItem <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.<span style="color: #0000ff;">left</span> += <span style="color: #000000;">25</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &lpdis->rcItem, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lpdis->rcItem.<span style="color: #0000ff;">left</span> = <span style="color: #0000ff;">left</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Draw vertical line1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbStyle = BS_SOLID;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbColor = skinMenu.clr_vertical1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.top = lpdis->rcItem.top;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.<span style="color: #0000ff;">left</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">24</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">25</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &rct, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Draw vertical line2</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lb.lbColor = skinMenu.clr_vertical2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.top = lpdis->rcItem.top;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.<span style="color: #0000ff;">left</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">25</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.bottom = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rct.<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">26</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &rct, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp; <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_CHECKED <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawMasked<span style="color: #000000;">&#40;</span> lpdis->hDC, hBmpCheck2015, <span style="color: #000000;">&#40;</span> WORD <span style="color: #000000;">&#41;</span> lpdis->rcItem.top, <span style="color: #000000;">&#40;</span> WORD <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span> lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! <span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_CHECKED <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DrawMasked<span style="color: #000000;">&#40;</span> lpdis->hDC, hBmp, <span style="color: #000000;">&#40;</span> WORD <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span> lpdis->rcItem.top + <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#40;</span> WORD <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span> lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! <span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_SELECTED <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawGrayed<span style="color: #000000;">&#40;</span> lpdis->hDC, hBmp, lpdis->rcItem.top + <span style="color: #000000;">1</span>,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawMasked<span style="color: #000000;">&#40;</span> lpdis->hDC, hBmp, <span style="color: #000000;">&#40;</span> WORD <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span> lpdis->rcItem.top + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> WORD <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span> lpdis->rcItem.<span style="color: #0000ff;">left</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lpdis->rcItem.top &nbsp;+= <span style="color: #000000;">2</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hTopMenu != <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> lpdis->hwndItem <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;uFormat = DT_LEFT;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.<span style="color: #0000ff;">left</span> += <span style="color: #000000;">33</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">else</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;uFormat = DT_CENTER;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SetBkMode<span style="color: #000000;">&#40;</span> lpdis->hDC, TRANSPARENT <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> lpdis->itemState & ODS_GRAYED <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetTextColor<span style="color: #000000;">&#40;</span> lpdis->hDC, skinMenu.clr_textGrayed <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! bTab <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">strlen</span><span style="color: #000000;">&#40;</span> szPrompt <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DrawText<span style="color: #000000;">&#40;</span> lpdis->hDC, szPrompt, <span style="color: #000000;">-1</span>, &lpdis->rcItem, uFormat <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! HB_ISDIBitmap<span style="color: #000000;">&#40;</span> lpdis <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// draw separator</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lb.lbColor = skinMenu.clr_vertical1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.top += <span style="color: #000000;">2</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.bottom = lpdis->rcItem.top + <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.top = lpdis->rcItem.top ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.<span style="color: #0000ff;">left</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> - <span style="color: #000000;">8</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.bottom = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hTopMenu != <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> lpdis->hwndItem <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &rct, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lb.lbColor = skinMenu.clr_vertical2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hBrush = CreateBrushIndirect<span style="color: #000000;">&#40;</span> &lb <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.top ++;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.bottom = lpdis->rcItem.top + <span style="color: #000000;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.top = lpdis->rcItem.top ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.<span style="color: #0000ff;">left</span> = lpdis->rcItem.<span style="color: #0000ff;">left</span> - <span style="color: #000000;">8</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.bottom = lpdis->rcItem.bottom;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rct.<span style="color: #0000ff;">right</span> = lpdis->rcItem.<span style="color: #0000ff;">right</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> hTopMenu != <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> lpdis->hwndItem <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FillRect<span style="color: #000000;">&#40;</span> lpdis->hDC, &rct, hBrush <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DeleteObject<span style="color: #000000;">&#40;</span> hBrush <span style="color: #000000;">&#41;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.<span style="color: #0000ff;">right</span> -= <span style="color: #000000;">21</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; StrToken<span style="color: #000000;">&#40;</span> szPrompt, <span style="color: #000000;">1</span>, <span style="color: #000000;">9</span>, &wLen <span style="color: #000000;">&#41;</span>; <span style="color: #B900B9;">// 32 bits does not fill wLen before</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawText<span style="color: #000000;">&#40;</span> lpdis->hDC, StrToken<span style="color: #000000;">&#40;</span> szPrompt, <span style="color: #000000;">1</span>, <span style="color: #000000;">9</span>, &wLen <span style="color: #000000;">&#41;</span>, wLen, &lpdis->rcItem, DT_LEFT <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; StrToken<span style="color: #000000;">&#40;</span> szPrompt, <span style="color: #000000;">2</span>, <span style="color: #000000;">9</span>, &wLen <span style="color: #000000;">&#41;</span>; <span style="color: #B900B9;">// 32 bits does not fill wLen before</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawText<span style="color: #000000;">&#40;</span> lpdis->hDC, StrToken<span style="color: #000000;">&#40;</span> szPrompt, <span style="color: #000000;">2</span>, <span style="color: #000000;">9</span>, &wLen <span style="color: #000000;">&#41;</span>, wLen, &lpdis->rcItem, DT_RIGHT <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lpdis->rcItem.<span style="color: #0000ff;">right</span> += <span style="color: #000000;">21</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_retl<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">TRUE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">break</span>;<br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">case</span> ODA_FOCUS:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">hb_retl</span><span style="color: #000000;">&#40;</span> <span style="color: #00C800;">FALSE</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">break</span>;<br />&nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />#ifndef MIIM_FTYPE<br />&nbsp; &nbsp;<span style="color: #00D7D7;">#define</span> MIIM_FTYPE 0x00000100<br />#endif<br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> MITEMS2015 <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// hMenu</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp;#ifdef _WIN64 <br />&nbsp; &nbsp; &nbsp; &nbsp; HMENU hMenu = <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> hb_parnll<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; &nbsp; HMENU hMenu = <span style="color: #000000;">&#40;</span> HMENU <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp;#endif &nbsp; <br />&nbsp; &nbsp;WORD w;<br />&nbsp; &nbsp;MENUITEMINFO mi;<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">for</span><span style="color: #000000;">&#40;</span> w = <span style="color: #000000;">0</span>; w < GetMenuItemCount<span style="color: #000000;">&#40;</span> hMenu <span style="color: #000000;">&#41;</span>; w++ <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; memset<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> &mi, <span style="color: #000000;">0</span>, sizeof<span style="color: #000000;">&#40;</span> MENUITEMINFO <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; mi.cbSize = sizeof<span style="color: #000000;">&#40;</span> MENUITEMINFO <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; mi.fMask = MIIM_FTYPE;<br />&nbsp; &nbsp; &nbsp; GetMenuItemInfo<span style="color: #000000;">&#40;</span> hMenu, w, <span style="color: #00C800;">TRUE</span>, &mi <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> mi.fType & MFT_OWNERDRAW <span style="color: #000000;">&#41;</span> != MFT_OWNERDRAW <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mi.cbSize = sizeof<span style="color: #000000;">&#40;</span> MENUITEMINFO <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mi.fMask = <span style="color: #000000;">&#40;</span> MIIM_FTYPE | MIIM_DATA <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mi.fType |= MFT_OWNERDRAW;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mi.dwItemData = <span style="color: #000000;">&#40;</span> DWORD <span style="color: #000000;">&#41;</span> hMenu;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SetMenuItemInfo<span style="color: #000000;">&#40;</span> hMenu, w, <span style="color: #00C800;">TRUE</span>, &mi <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <br />&nbsp; &nbsp;<span style="color: #000000;">&#125;</span><br /><span style="color: #000000;">&#125;</span><br />&nbsp;</div>[/code:3o19ywlj]
funcionalidad para Fivewin
Antonio, Yo uso VMWARE por lo que sí me funciona Windows 10. Si te parece, me envías un ejemplo completo, lo pruebo y te digo feedback. Un saludo
funcionalidad para Fivewin
Moisés, No me refiero a ejecutar Windows 10 en VirtualBox ó vmware, sino al reves, desde Windows 10 ejecutar VirtualBox.
funcionalidad para Fivewin
Antonio Faltaria la funcion SetSkin2015 y la variable Check2015Bytes[] ? [url=http&#58;//postimage&#46;org/:41l4dx4z][img:41l4dx4z]http&#58;//s15&#46;postimg&#46;org/t95savuu3/Title155&#46;png[/img:41l4dx4z][/url:41l4dx4z] Y para que no generase un GPF: [code=fw:41l4dx4z]<div class="fw" id="{CB}" style="font-family: monospace;"><br />.../...<br />&nbsp; &nbsp;<span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! hBmpCheck2015 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; OSVERSIONINFO vi;<br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> skinMenu.byteChecked != <span style="color: #00C800;">NULL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Check2015<span style="color: #000000;">&#40;</span> lpdis->hDC, skinMenu.byteChecked <span style="color: #000000;">&#41;</span>;<br /><br />.../...<br />&nbsp;</div>[/code:41l4dx4z]
funcionalidad para Fivewin
Algo asi? [url=http&#58;//postimage&#46;org/:13an74yi][img:13an74yi]http&#58;//s4&#46;postimg&#46;org/a881ehfhp/Title156&#46;png[/img:13an74yi][/url:13an74yi] Como es el bitmap que se utiliza para marcar los items? En la imagen que has puesto no se ve ninguno
funcionalidad para Fivewin
Cristobal, Te envío por email el fichero original desde el cual he creado menudraw.c <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> gracias por tu ayuda!
funcionalidad para Fivewin
Moisés, Con la gran ayuda de Cristobal, ya está preparado el nuevo estilo 2015 para los menues. Te envío las librerías para que lo pruebes, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
funcionalidad para Fivewin
Antonio: Lo estamos probando. Muchas gracias. Te informo del resultado.
funciones de FWH y Harbour en un archivo .txt
Amigos: de donde puedo sacar todas las funciones de FWH. Quiero hacer un archivo con la mayoría sw las funciones para generar un archivo.json para VSCode. Algo asi: FWCONNECT oCn HOST cHost USER cUser PASSWORD cPwd [DB cdb] [PORT nPort] [FLAGS nFlags] HB_BASE64DECODE( <cBase64> ) --> cString | Decodes a base 64 encoded character string. Gracias. Saludos. Ruben Dario Fernandez
funciones de FWH y Harbour en un archivo .txt
mira se ayuda: [code=fw:9kyg1i5r]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Polipoligon sample</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cTexte := <span style="color: #ff0000;">"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"</span><br /><br />&nbsp; &nbsp;? StrToBase64<span style="color: #000000;">&#40;</span> cTexte <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">FUNCTION</span> StrToBase64<span style="color: #000000;">&#40;</span> cTexte <span style="color: #000000;">&#41;</span><br />*******************<br />* Conversion en base <span style="color: #000000;">64</span> de la chaine cTexte<br /><br />* Un alphabet de <span style="color: #000000;">65</span> caractères est utilisé pour permettre la représentation de <span style="color: #000000;">6</span> bits par caractère :<br /><span style="color: #000000;">*</span> <span style="color: #ff0000;">"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"</span><br /><br />* Le <span style="color: #ff0000;">'='</span> <span style="color: #000000;">&#40;</span>65e caractère<span style="color: #000000;">&#41;</span> est utilisé dans le processus de codage pour les caractères finaux.<br /><br /><span style="color: #00C800;">LOCAL</span> cTexte64 := <span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">LOCAL</span> X<br /><span style="color: #00C800;">LOCAL</span> cHex<br /><span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> !<span style="color: #000000;">&#40;</span> cTexte == <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span><br />cHex := <span style="color: #ff0000;">""</span><br /><br />* Le processus de codage représente des groupes de <span style="color: #000000;">24</span> bits de données en entrée par une chaîne en sortie de <span style="color: #000000;">4</span> caractères codés.<br />* En procédant de gauche à droite, un groupe de <span style="color: #000000;">24</span> bits est créé en concaténant <span style="color: #000000;">3</span> octets <span style="color: #000000;">&#40;</span><span style="color: #000000;">8</span> bits par octet<span style="color: #000000;">&#41;</span>.<br /><span style="color: #00C800;">FOR</span> X := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">3</span><br />* Conversion de chaque caractère en chaine binaire de <span style="color: #000000;">8</span> octets<br />cHex += CarToBin<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cTexte, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">IF</span> LEN<span style="color: #000000;">&#40;</span>cTexte<span style="color: #000000;">&#41;</span> > <span style="color: #000000;">1</span><br />cTexte := <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cTexte, <span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ELSE</span><br />cTexte := <span style="color: #ff0000;">""</span><br />EXIT<br /><span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">NEXT</span> X<br /><br />* Ces <span style="color: #000000;">24</span> bits <span style="color: #000000;">&#40;</span>ici contenus dans cHex, ou au moins un multiple<span style="color: #000000;">&#41;</span> sont traités comme <span style="color: #000000;">4</span> groupes concaténés de <span style="color: #000000;">6</span> bits chacun convertis<br />* en un unique caractère dans l<span style="color: #ff0000;">'alphabet de la base 64.<br /><br />* Chaque groupe de 6 bits est utilisé comme index dans la table des caractères de la base 64.<br />* Le caractère référencé par l'</span><span style="color: #0000ff;">index</span> correspondant est utilisé comme codage de ce groupe de <span style="color: #000000;">6</span> bits.<br /><br /><span style="color: #00C800;">FOR</span> X := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">4</span><br /><br /><span style="color: #00C800;">IF</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cHex, <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>X - <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">""</span><br />cTexte64 += REPLICATE<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"="</span>, <span style="color: #000000;">4</span> - X + <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br />EXIT<br /><span style="color: #00C800;">ELSE</span><br /><br />* Un traitement spécial est effectué si moins de <span style="color: #000000;">24</span> bits sont disponibles à la fin des données<br />* à coder. Aucun bit ne restant non-codé,<br />* si moins de <span style="color: #000000;">24</span> bits sont disponibles alors des bits à zéro sont ajoutés à la droite des données<br />* pour former un nombre entier de groupes de <span style="color: #000000;">6</span> bits.<br /><span style="color: #00C800;">IF</span> LEN<span style="color: #000000;">&#40;</span> cHex <span style="color: #000000;">&#41;</span> % <span style="color: #000000;">6</span> > <span style="color: #000000;">0</span><br />* Ajout des bits à zéro<br />cHex += REPLICATE<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"0"</span>, <span style="color: #000000;">6</span> - <span style="color: #000000;">&#40;</span> LEN<span style="color: #000000;">&#40;</span> cHex <span style="color: #000000;">&#41;</span> % <span style="color: #000000;">6</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ENDIF</span><br /><br /><br />cTexte64 += Carac64<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"00"</span> + <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cHex, <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>X - <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span> + <span style="color: #000000;">1</span>, <span style="color: #000000;">6</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">NEXT</span> X<br /><span style="color: #00C800;">ENDDO</span><br /><span style="color: #00C800;">RETURN</span> cTexte64<br /><br />*********************<br /><span style="color: #00C800;">FUNCTION</span> Base64ToStr<span style="color: #000000;">&#40;</span> cTexte64 <span style="color: #000000;">&#41;</span><br />*********************<br />* décodage dun texte codé en base <span style="color: #000000;">64</span><br /><span style="color: #00C800;">LOCAL</span> cTexte := <span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">LOCAL</span> X<br /><span style="color: #00C800;">LOCAL</span> cHex<br /><span style="color: #00C800;">LOCAL</span> cCar<br /><span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> !<span style="color: #000000;">&#40;</span> cTexte64 == <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">try</span> <br />cCar := <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cTexte64,<span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span><br />catch<br />end<br />cHex := <span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">try</span> <br /><span style="color: #00C800;">FOR</span> X := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">4</span> <br /><span style="color: #00C800;">IF</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cCar, X, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> != <span style="color: #ff0000;">"="</span><br />cHex += Hex64<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cCar, X, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ELSE</span><br />EXIT<br /><span style="color: #00C800;">ENDIF</span> <br /><span style="color: #00C800;">NEXT</span> X<br />catch<br />end<br /><br /><span style="color: #00C800;">FOR</span> X := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">3</span><br />&nbsp; &nbsp; <span style="color: #00C800;">IF</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cHex, <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>X - <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">8</span><span style="color: #000000;">&#41;</span> &nbsp;+ <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; &nbsp; &nbsp; EXIT<br />&nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cTexte += BinToCar<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cHex, <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>X - <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">8</span><span style="color: #000000;">&#41;</span> &nbsp;+ <span style="color: #000000;">1</span>, <span style="color: #000000;">8</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">NEXT</span> X<br /><br /><span style="color: #00C800;">IF</span> LEN<span style="color: #000000;">&#40;</span>cTexte64<span style="color: #000000;">&#41;</span> > <span style="color: #000000;">4</span><br />cTexte64 := <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cTexte64, <span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ELSE</span><br />cTexte64 := <span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">ENDDO</span><br /><span style="color: #00C800;">RETURN</span> cTexte<br /><br />****************<br /><span style="color: #00C800;">FUNCTION</span> Carac64<span style="color: #000000;">&#40;</span> cBin <span style="color: #000000;">&#41;</span><br />****************<br />* Renvoie le caractère correspondant en base <span style="color: #000000;">64</span><br /><span style="color: #00C800;">LOCAL</span> nPos := <span style="color: #0000ff;">ASC</span><span style="color: #000000;">&#40;</span> BinToCar<span style="color: #000000;">&#40;</span> @cBin <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">1</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"</span>, nPos, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br /><br />**************<br /><span style="color: #00C800;">FUNCTION</span> Hex64<span style="color: #000000;">&#40;</span> carac64 <span style="color: #000000;">&#41;</span><br />**************<br />* Renvoie le caractère correspondant en base <span style="color: #000000;">64</span><br /><span style="color: #00C800;">LOCAL</span> cCodeAsc := CHR<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">AT</span><span style="color: #000000;">&#40;</span>carac64, <span style="color: #ff0000;">"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span> CarToBin<span style="color: #000000;">&#40;</span> @cCodeAsc <span style="color: #000000;">&#41;</span> , <span style="color: #000000;">3</span>, <span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span><br /><br />*****************<br /><span style="color: #00C800;">FUNCTION</span> CarToBin<span style="color: #000000;">&#40;</span> carac, lInverse <span style="color: #000000;">&#41;</span><br />*****************<br />* Renvoie le caractère correspondant dans une chaine binaire <span style="color: #000000;">&#40;</span>composée de <span style="color: #000000;">0</span> et <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span> de <span style="color: #000000;">8</span> bits<br /><br /><span style="color: #00D7D7;">#define</span> cHexa <span style="color: #ff0000;">"0123456789ABCDEF"</span><br /><span style="color: #00D7D7;">#define</span> aBin <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"0000"</span>, <span style="color: #ff0000;">"0001"</span>, <span style="color: #ff0000;">"0010"</span>, <span style="color: #ff0000;">"0011"</span>, <span style="color: #ff0000;">"0100"</span>, <span style="color: #ff0000;">"0101"</span>, <span style="color: #ff0000;">"0110"</span>, <span style="color: #ff0000;">"0111"</span>, ;<br /><span style="color: #ff0000;">"1000"</span>, <span style="color: #ff0000;">"1001"</span>, <span style="color: #ff0000;">"1010"</span>, <span style="color: #ff0000;">"1011"</span>, <span style="color: #ff0000;">"1100"</span>, <span style="color: #ff0000;">"1101"</span>, <span style="color: #ff0000;">"1110"</span>, <span style="color: #ff0000;">"1111"</span> <span style="color: #000000;">&#125;</span><br /><span style="color: #00C800;">LOCAL</span> cToHex<br /><br /><span style="color: #00C800;">IF</span> EMPTY<span style="color: #000000;">&#40;</span> lInverse <span style="color: #000000;">&#41;</span><br />* Retourne la chaine binaire en ayant reçu le caractère ASCII<br />cToHex := str2Hex<span style="color: #000000;">&#40;</span> carac <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> aBin<span style="color: #000000;">&#91;</span> <span style="color: #00C800;">AT</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cToHex,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>, cHexa <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#93;</span> + aBin<span style="color: #000000;">&#91;</span> <span style="color: #00C800;">AT</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cToHex,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>, cHexa <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#93;</span><br /><span style="color: #00C800;">ELSE</span><br />* Retourne le caractère ASCII en ayant reçu la chaine binaire<br />cToHex := <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cHexa, ASCAN<span style="color: #000000;">&#40;</span>aBin, <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>carac,<span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> ;<br />+ <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cHexa, ASCAN<span style="color: #000000;">&#40;</span>aBin, <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>carac,<span style="color: #000000;">5</span>,<span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> Hex2str<span style="color: #000000;">&#40;</span> cToHex <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br />*****************<br /><span style="color: #00C800;">FUNCTION</span> BinToCar<span style="color: #000000;">&#40;</span> cBin <span style="color: #000000;">&#41;</span><br />*****************<br /><span style="color: #00C800;">RETURN</span> CarToBin<span style="color: #000000;">&#40;</span> @cBin, .T. <span style="color: #000000;">&#41;</span><br /><br />&nbsp;<br /><span style="color: #B900B9;">/*<br />&nbsp;NTOC(,[],[],<br />&nbsp; &nbsp; &nbsp; &nbsp; []) --> cCharacterstring<br /><br />&nbsp;Arguments<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;Corresponds to a decimal number or hexadecimal<br />&nbsp; &nbsp; &nbsp;character string to convert.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;Designates the number system base, from 2 to 36<br />&nbsp; &nbsp; &nbsp;(inclusive), to use in the result. &nbsp;The default is the decimal system,<br />&nbsp; &nbsp; &nbsp;base 10.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;Designates the length of the string that results. &nbsp;The<br />&nbsp; &nbsp; &nbsp;maximum length is 255. &nbsp;The default is the length required for the<br />&nbsp; &nbsp; &nbsp;conversion.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;Designates a pad character to pad the string result on the<br />&nbsp; &nbsp; &nbsp;left. &nbsp;The default value is a space.<br />&nbsp; &nbsp; &nbsp;<br />&nbsp;Convert to base 36:<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; ? NTOC(43981, 36, 4) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// "XXP"<br /><br />*/</span><br />&nbsp;</div>[/code:9kyg1i5r] [code=fw:9kyg1i5r]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cString := <span style="color: #ff0000;">"xOraClip"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cBase64 := HB_Base64Encode<span style="color: #000000;">&#40;</span> cString, Len<span style="color: #000000;">&#40;</span> cString <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// xHarbour:</span><br />&nbsp; &nbsp;? cBase64 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// result: eEhhcmJvdXI==</span><br /><br />&nbsp; &nbsp;? HB_Base64Decode<span style="color: #000000;">&#40;</span> cBase64 <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// result: xOraClip</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #B900B9;">// fin</span><br />&nbsp;</div>[/code:9kyg1i5r] [code=fw:9kyg1i5r]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #B900B9;">// The example outlines base 64 encoding and decoding of files.</span><br /><span style="color: #B900B9;">// A PRG file is encoded in a second file which is decoded into</span><br /><span style="color: #B900B9;">// a third file. The contents of the original and third file are</span><br /><span style="color: #B900B9;">// identical.</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cFileIn &nbsp;:= <span style="color: #ff0000;">"HB_Base64.prg"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cFileOut := <span style="color: #ff0000;">"HB_Base64.enc"</span><br /><br />&nbsp; &nbsp;HB_Base64EncodeFile<span style="color: #000000;">&#40;</span> cFileIn, cFileOut <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;HB_Base64DecodeFile<span style="color: #000000;">&#40;</span> cFileOut, <span style="color: #ff0000;">"Test.txt"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;? Memoread<span style="color: #000000;">&#40;</span> cFileIn <span style="color: #000000;">&#41;</span> == MemoRead<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Test.txt"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Result: .T.</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />&nbsp;</div>[/code:9kyg1i5r] [code=fw:9kyg1i5r]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cChave, cTeste1, cTeste2, cteste3<br /><br />&nbsp; &nbsp;cChave := <span style="color: #ff0000;">'TIAO'</span><br /><br />&nbsp; &nbsp;cTeste1 := <span style="color: #ff0000;">'UR010801733'</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">MSGINFO</span><span style="color: #000000;">&#40;</span>cTeste1<span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cTeste2 := hb_Base64Encode<span style="color: #000000;">&#40;</span> Encrypt<span style="color: #000000;">&#40;</span>cTeste1, cChave<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">Msginfo</span><span style="color: #000000;">&#40;</span> cTeste2 <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cteste3 := Decrypt<span style="color: #000000;">&#40;</span> hb_Base64Decode<span style="color: #000000;">&#40;</span> cTeste2 <span style="color: #000000;">&#41;</span>, cChave <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span>cteste3<span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:9kyg1i5r] Saludos.
funciones de FWH y Harbour en un archivo .txt
[url:28gq96re]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_functions_by_category[/url:28gq96re]
funciones de FWH y Harbour en un archivo .txt
Gracias, no es lo que estaba buscando. Necesito un archivo .txt con todas las funciones de FWH y Harbour para hacer un archivo.json para VSCode. Gracias. Saludos Ruben Dario Fernandez
funciones de FWH y Harbour en un archivo .txt
__clsVerify __objAddData __objAddInline __objAddMethod __objDelInline __objDelMethod __objDelMethod __objDerivedFrom __objGetMethodList __objGetValueList __objModInline __objModMethod __objSetValueList __Pack __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADSClearAOF ADSCustomizeAOF AdsDDRemoveTable ADSEvalAOF ADSFile2Blob ADSGetAOF ADSGetAOFnoOpt ADSGetAOFoptLevel ADSGetRelKeyPos ADSIsRecordInAOF ADSKeyCount ADSKeyNo ADSLocking ADSRefreshAOF ADSRightsCheck ADSSetAOF ADSStmtSetTableReadOnly AEval AFields AFill AfterAtNum AIns ALenAlloc Alert Alias AllTrim AltD AmPm AnsiToHtml Array Asc AScan ASCIISum AscPos ASin ASize ASizeAlloc ASort At AtAdjust ATail ATan ATn2 AtNum AtRepl AtSkipStrings AtToken BeforAtNum Bin2I Bin2L Bin2W BitToC Blank BlobDirectExport BlobDirectGet BlobDirectImport BlobDirectPut BlobExport BlobGet BlobImport BlobRootDelete BlobRootGet BlobRootLock BlobRootPut BlobRootUnlock Bof BoF BoM BoQ BoY Break Browse CallDll CDoW Ceiling Celsius Center CharAdd CharAND CharEven CharHist CharList CharMirr CharMix CharNoList CharNOT CharOdd CharOne CharOnly CharOR CharPack CharRela CharRelRep CharRem CharRepl CharRLL CharRLR CharSHL CharSHR CharSList CharSort CharSpread CharSub CharSwap CharUnpack CharWin CharXOR CheckSum Chr ClearBit ClearEol ClearSlow ClearWin ClEol ClWin CMonth Col ColorRepl ColorSelect ColorToN ColorWin CompressString ConvToAnsiCP ConvToOemCP Cos CosH Cot CountLeft CountRight CreateObject Crypt CSetAtMuPa CSetCent CSetCurs CSetKey CSetRef CSetSafety CStr CStrToVal CtoBit CToD CtoDoW CtoF CtoMonth CtoN CtoT CurDir CurDrive Date DateTime Day DaysInMonth DaysToMonth DBAppend DBClearFilter DBClearIndex DBClearRelation DBCloseAll DBCloseArea DBCommit DBCommitAll DBCopyExtStruct DBCopyStruct DBCreate DBCreateIndex DBDelete DBDrop DBEdit DBEval DBExists DBF DBFieldInfo DBFileGet DBFilePut DBFilter DBFSize DBGoBottom DBGoTo DBGoTop DBInfo DBJoin DBList DBOrderInfo DBPack DBRecall DBRecordInfo DBReindex DBRelation dbRename DBRLock DBRLockList DBRSelect DBRUnlock DBSeek DBSelectArea DBSetDriver DBSetFilter DBSetIndex DBSetOrder DBSetRelation DBSkip DBSkipper DBSort DBStruct DBTableExt DBTotal DBUnlock DBUnlockAll DBUpdate DBUseArea DBZap Default DefPath Deleted DeleteFile Descend DevOut DevOutPict DevPos DirChange Directory DirectoryRecurse DirMake DirName DirRemove DisableWaitLocks DiskChange DiskFree DiskName DiskReady DiskReadyW DiskSpace DiskTotal DiskUsed DispBegin DispBox DispCount DispEnd DispOut DllCall DllExecuteCall DllLoad DllPrepareCall DllUnload DMY DOSError DosParam DoW DoY DriveType DToC DtoR DToS ElapTime Empty Enhanced Eof EoM EoQ EoY Error ErrorBlock ErrorLevel ErrorNew ErrorSys Eval ExeName Exp Expand Exponent Fact Fahrenheit FClose FCount FCreate FErase FError Field FieldBlock FieldDec FieldDeci FieldGet FieldGetArr FieldLen FieldName FieldNum FieldPos FieldPos FieldPut FieldPutArr FieldSize FieldType FieldWBlock File FileAttr FileCopy FileDate FileDelete FileMove FileReader FileScreen FileSize FileStats FileStr FileTime FileValid FileWriter FKLabel FKMax FLineCount FLock Floor FloppyType FOpen Found FParse FParseEx FParseLine FRead FReadStr FreeLibrary FRename FSeek FtoC Fv FWordCount FWrite GetActiveObject GetClearA GetClearB GetClrBack GetClrFore GetClrPair GetCurrentThread GetDefaultPrinter GetE GetEnv GetLastError GetPairLen GetPairPos GetPrec GetPrinters GetProcAddress GetRegistry GetVolInfo GT_AsciiSum GT_Ascpos GT_AtDiff GT_CharEven GT_CharMix GT_CharOdd GT_ChrCount GT_ChrFirst GT_ChrTotal GT_ClrFlag GT_IsFlag GT_NewFlag GT_SetFlag GT_StrCount GT_Strcspn GT_StrDiff GT_StrExpand GT_StrLeft GT_StrpBrk GT_StrRight HaaDelAt HaaGetKeyAt HaaGetPos HaaGetRealPos HaaGetValueAt HaaSetValueAt HAllocate HardCR HardCR Hash HB_ACmdLine HB_ADel HB_AIns HB_Alert HB_AnsiToOem HB_AnsiToOEM HB_AParams HB_ArgC HB_ArgCheck HB_ArgString HB_ArgV HB_ArrayId HB_ArrayToParams HB_ArrayToStructure HB_AScan HB_AScanI HB_At HB_AtI HB_ATokens HB_AtX HB_BackGroundActive HB_BackGroundAdd HB_BackGroundDel HB_BackGroundReset HB_BackGroundRun HB_BackGroundTime HB_Base64Decode HB_Base64DecodeFile HB_Base64Encode HB_Base64EncodeFile HB_BitAnd HB_BitIsSet HB_BitNot HB_BitOr HB_BitReset HB_BitSet HB_Bitshift HB_BitXOr HB_BldLogMsg HB_BlowFishDecrypt_CFB HB_BlowFishEncrypt_CFB HB_BuildDate HB_BuildInfo HB_CDay HB_cdpExists HB_CheckSum HB_Clocks2Secs HB_CloseProcess HB_ClrArea HB_CmdArgArgV HB_ColorIndex HB_ColorToN HB_COMFindPort HB_Compiler HB_Compress HB_CompressBufLen HB_CompressError HB_CompressErrorDesc HB_CRC32 HB_CreateLen8 HB_Crypt HB_CTOD HB_CTOT HB_CWD HB_DATETIME HB_DBCreateTemp HB_DBDetach HB_DBDrop HB_DBExists HB_DBPack HB_DBRequest HB_DBZap HB_Decode HB_DecodeOrEmpty HB_Decrypt HB_DeserialBegin HB_DeSerialize HB_DeserializeSimple HB_DeserialNext HB_DirSeptoOS HB_DiskSpace HB_DllDo HB_DTOC HB_DumpVar HB_EnumIndex HB_EnumIndex HB_EOL HB_Exec HB_ExecFromArray HB_FCommit HB_FCreate HB_FEof HB_FEOF HB_FLock HB_FNameMerge HB_FNameSplit HB_FReadAndSkip HB_FReadLine HB_FReadLN HB_FRecno HB_FSelect HB_FSize HB_FSkip HB_FTempCreate HB_FuncPtr HB_FUnLock HB_FUse HB_GCAll HB_GCStep HB_GetFilesInZIP HB_GetLen8 HB_GetUnRARFile HB_GetUNZIPFile HB_GetZIPComment HB_GTInfo HB_HAllocate HB_Hash HB_HAutoAdd HB_HBinary HB_HCaseMatch HB_HClone HB_HCopy HB_HDefault HB_HDel HB_HDelAt HB_HEval HB_HexToNum HB_HexToStr HB_HFill HB_HGet HB_HGetDef hb_HGetRef HB_HHasKey HB_HKeyAt HB_HKeys HB_HMerge HB_Hour HB_Hour HB_HPairAt HB_HPos HB_HScan HB_HSet HB_HSort HB_HValueAt HB_HValues HB_IdleAdd HB_IdleDel HB_IdleReset HB_IdleSleep HB_IdleSleepMSec HB_IdleState HB_IdleWaitNoCPU HB_IsArray HB_IsBlock HB_IsByRef HB_IsDate HB_IsDateTime HB_IsFunction HB_IsHash HB_IsLogical HB_IsMemo HB_IsNil HB_IsNull HB_IsNumeric HB_IsObject HB_IsPointer HB_IsRegex HB_IsRegExString HB_IsString HB_JSONDecode HB_JSONEncode HB_KeyPut HB_KeyVal HB_LangErrMsg HB_LangMessage HB_LangName HB_LangSelect hb_LeftEq hb_LeftEqI HB_LibDo HB_LogDateStamp HB_MacroCompile HB_MD5 hb_MD5Decrypt hb_MD5Encrypt HB_MD5File HB_MemoRead HB_MemoWrit HB_Minute HB_MultiThread HB_MutexCreate HB_MutexLock HB_MutexTimeoutLock HB_MutexTryLock HB_MutexUnlock HB_MVRestore HB_MVSave HB_NToS HB_NTOT HB_NumToHex HB_OEMToAnsi HB_OsDriveSeparator HB_OsError HB_OsNewLine HB_OsPathDelimiters HB_OsPathListSeparator HB_OsPathSeparator HB_PCodeVer HB_Pointer2String HB_ProcessClose HB_ProcessOpen HB_ProcessRun HB_ProcessValue HB_ProcessValue HB_PS HB_PValue HB_QSelf HB_QWith HB_Rand32 HB_Random HB_RandomInt HB_RandomSeed HB_RandStr HB_RAScan HB_RAt HB_ReadIni HB_ReadLine HB_RegEx HB_RegExAll HB_RegExAtX HB_RegExComp HB_RegexHas HB_RegexLike HB_RegExMatch HB_RegExReplace HB_RegExSplit HB_ResetWith HB_RestoreBlock HB_Run HB_SaveBlock HB_Sec HB_Serialize HB_SerializeSimple HB_SerialNext HB_SetBuffer HB_SetCodePage HB_SetDiskZIP HB_SetDispCP HB_SetEnv HB_SetKeyArray HB_SetKeyCheck HB_SetKeyCP HB_SetKeyGet HB_SetKeySave HB_SetMacro HB_SetTermCP HB_SetWith HB_SetZIPComment HB_Shadow HB_SizeOfCStructure HB_SToT HB_String2Pointer HB_StrIsUTF8 HB_StrReplace HB_StrShrink HB_StrToHex HB_StrToTS HB_StrToUTF8 HB_TokenCount HB_TokenGet HB_TokenPtr HB_Translate HB_TSToStr hb_TSToUTC HB_TTOC HB_TTON HB_TTOS HB_Uncompress HB_UnZIPFile HB_UTCOffset HB_UTF8ToStr HB_UTF8ToStrBox HB_UUDecode HB_UUDecodeFile HB_UUEncode HB_UUEncodeFile HB_Val HB_ValToExp HB_ValToStr HB_WildMatch HB_WildMatchI HB_WithObjectCounter HB_WriteIni HB_ZCompress HB_ZCompressBound HB_ZError HB_ZIPDeleteFiles HB_ZIPFile HB_ZIPFileByPKSpan HB_ZIPFileByTDSpan HB_ZIPTestPk HB_ZIPWithPassword HB_ZLibVersion HB_ZUnCompress HB_ZUnCompressLen HClone HCopy HDel HDelAt Header HEval HexToNum HexToStr HFill HGet HGetAACompatibility HGetAutoAdd HGetCaseMatch HGetKeyAt HGetKeys HGetPairAt HGetPartition HGetPos HGetVaaPos HGetValueAt HGetValues HHasKey HMerge Hour HScan HSet HSetAACompatibility HSetAutoAdd HSetCaseMatch HSetPartition HSetValueAt HtmlToAnsi HtmlToOem I2Bin If IIf IndexExt IndexKey IndexOrd Inkey Int InvertAttr IsAffirm IsAlNum IsAlpha IsAscii IsBegSeq IsBit IsCntrl IsColor IsColour IsDbExcl IsDbFlock IsDbRLock IsDigit IsDigit IsDir IsDirectory IsDisk IsFunction IsGraph IsLeap IsLocked IsLower IsLower IsNegative IsPrint IsPrinter IsPrinter IsPunct IsSpace IsUpper IsUpper IsXDigit JustLeft JustRight KbdStat KeySec KeyTime KSetIns KSetNum KSetScroll L2Bin LastDayoM LastKey LastRec Left Len LenNum LoadLibrary Log Log10 Lower LtoN LTrim LUpdate MakeDir Mantissa Max MaxCol MaxLine MaxRow MCol MDblClk MDY MemoEdit MemoLine MemoRead Memory MemoTran MemoWrit MemvarBlock MHide MilliSec Min Minute MLCount MLCToPos MLeftDown MLPos Mod Month MPosToLC MPresent MRestState MRightDown MRow MSaveState MSetBounds MSetCursor MSetPos MShow NationMsg NetCancel NetDisk NetErr NetName NetPrinter NetRedir NetRmtName Network NextKey NNetwork NoSnow Notify NotifyAll NtoC NtoCDoW NtoCMonth NtoColor Nul NumAND NumAt NumButtons NumCount NumDiskL NumHigh NumLine NumLow NumMirr NumMirr NumNOT NumNOTX NumOR NumORX NumRoL NumRoLX NumToHex NumToken NumXOR NumXORX Occurs OemToHtml Ole2TxtError OleError OrdBagExt OrdBagName OrdCount OrdCustom OrdDestroy OrdFindRec OrdFor Ordkey OrdKeyRelPos OrdListAdd OrdListClear OrdListRebuild OrdName OrdNumber OrdSetFocus OrdSkipRaw OrdWildSeek OS Os_IsWin2000 Os_IsWin2000_Or_Later Os_IsWin2003 Os_IsWin95 Os_IsWin98 Os_IsWin9X Os_IsWinME Os_IsWinNT Os_IsWinNT351 Os_IsWinNT4 Os_IsWinVISTA Os_IsWinXP Os_IsWtsClient Os_NetRegOk OS_NetVRedirOk Os_VersionInfo OutErr OutStd Pad PadC PadL PadLeft PadLeft PadR Payment PCol PCount Periods Pi PosAlpha PosChar PosDel PosDiff PosEqual PosIns PosLower PosRange PosRepl PosUpper Prgexptoval PrinterExists PrinterPortToName PrintFileRaw PrintReady PrintSend PrintStat ProcFile ProcLine ProcName PRow Pv PValue QOut QQOut Quarter QueryRegistry RangeRem RangeRepl RAscan RAt Rate RddInfo RddName RddRegister RddSetDefault ReadExit ReadInsert ReadKey ReadModal ReadVar RecCount RecNo RecSize RemAll RemLeft RemRight RenameFile ReplAll Replicate ReplLeft ReplRight RestCursor RestScreen RestToken Right RLock Round Row RtoD RTrim SaveCursor SaveScreen SaveToken Scroll Seconds SecondsCpu SecondsSleep Secs SecToTime Select Set SetAtLike SetBit SetBlink SetCancel SetClearA SetClearB SetClrPair SetColor SetCursor SetDate SetEnv SetErrorMode SetFDaTi SetKey SetLastError SetLastKey SetMode SetMouse SetNewDate SetNewTime SetPos SetPrc SetPrec SetRegistry SetTime ShowTime Sign Sin SinH SoundEx Space SQrt Standard StoD StoT Str StrDel StrDiff StrFile StrFormat StringToLiteral StrOccurs StrPeek StrPoke StrScreen StrSwap StrToHex StrTran StrZero Stuff SubStr SX_DtoP SX_Encrypt SX_FCompress SX_FDecompress SX_PtoD TabExpand TabPack Tan TanH TBMouse Throw Time TimeToSec TimeValid Token TokenAt TokenEnd TokenExit TokenInit TokenLower TokenLower TokenNext Tokennum TokenSep Tone TraceLog Transform Trim TrueName TtoC TtoS Type U2bin UnCompressString UnSelected UpDated Upper Used Val ValPos ValToPrg ValToPrgExp ValType Version VolSerial Volume W2Bin Wild2RegEx WildMatch Win_OleClassExists WMSetPos WoM Word WordOne WordOnly WordRem WordRepl WordSwap WordToChar WOY WSetMouse XtoC Year
funciones de FWH y Harbour en un archivo .txt
__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objDelInline(<oObject>,<cSymbol>)->oObject __objDelMethod(<oObject>,<cDataName>)->oObject __objDelMethod(<oObject>,<cSymbol>)->oObject __objDerivedFrom(<oObject>,<xSuper>)->lIsParent __objGetMethodList(<oObject>)->aMethodNames __objGetValueList(<oObject>,[<aExcept>])->aData __objModInline(<oObject>,<cInlineName>,<bInline>)->oObject __objModMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objSetValueList(<oObject>,<aData>)->oObject __Pack()->Nil __Run(<cCommand>)->Nil __Zap()->Nil AAdd(<aArray>,<xValue>)->Value Abs(<nExpression>)->nPositive AChoice(<nTop>,<nLeft>,<nBottom>,<nRight>,<acMenuItems>,[<alSelectableItems>|<lSelectableItems>],[<cUserFunction>],[<nFirstItem>],[<nFirstRow>])->nPosition AClone(<aArray>)->aDuplicate ACopy(<aSource>,<aTarget>,[<nSourceStart>],[<nCount>],[<nTargetStart>])->aTarget ACos(<nRadians>)->nArcCosine AddASCII(<cString>,<nValue>,[<nPos>])->cNewString AddMonth(<dDate>,<nMonths>)->dNewDate ADel(<aArray>,<nElement>,[<lShrink>])->aTarget ADir([<cFileSpec>],[<aFilenames>],[<aSizes>],[<aDates>],[<aTimes>],[<aAttributes>])->nFiles ADSBlob2File(cFileName,cFieldName)->lSuccess ADSClearAOF()->Nil ADSCustomizeAOF([<nRecno|aRecNos>],[<nType>])->nSuccess AdsDDRemoveTable(<cTableName>,<deleteFile>,[<nConnection>])-><lResult> ADSEvalAOF(<cFilter>)->nOptimizationLevel ADSFile2Blob(cFileName,cFieldName,<nBinaryType>)->lSuccess ADSGetAOF()->cFilter ADSGetAOFnoOpt()->cFilterFragment ADSGetAOFoptLevel()->nOptimizationLevel ADSGetRelKeyPos([<xTag>])->nKeyPos ADSIsRecordInAOF([<nRecNo>])->lSatisfiesFilter ADSKeyCount([<xTag>],<cIgnoredIndexFile>,[<nFilterOption>])->nKeyCount ADSKeyNo([<xTag>],[<nFilterOption>])->nKeyNo ADSLocking(<lMode>)->lPriorSetting ADSRefreshAOF()->Nil ADSRightsCheck(<lMode>)->lPriorSetting ADSSetAOF(<cFilter>,[<nResolveOption>])->lSuccess ADSStmtSetTableReadOnly(<nMode>)-><lSuccess> AEval(<aArray>,<bBlock>,[<nStart>],[<nCount>])->aArray AFields([<aFieldsnames>],[<aTypes>],[<aWidths>],[<aDecimals>])->nFields AFill(<aTarget>,<expValue>,[<nStart>],[<nCounts>])->aTarget AfterAtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->cResult AIns(<aTarget>,<nPosition>,[<xValue>],[<lGrow>])->aTarget ALenAlloc(aArray>)->nElements Alert(<xMessage>,[<aOptions>],[<cColor>],[<nDelay>])->nChoice Alias([<nWorkarea>])->cAlias AllTrim(<cString>)->cTrimString AltD([<nAction>])->Nil AmPm(<cTime>)->cFormattedTime AnsiToHtml(<cAnsiString>)->cHtmlString Array(<nElements>,[<nElements>,...])->aArray Asc(<cExp>)->nCode AScan(<aTargets>,<expSearch>,[<nStart>],[<nCount>],[<lExact>],[<lASCII>])->nStoppedAt ASCIISum(<cString>)->nASCIISum AscPos(<cString>,[<nPos>])->nASCIICode ASin(<nRadians>)->nArcSine ASize(<aTarget>,<nLength>)->aTarget ASizeAlloc(<aArray>,<nCount>)->aArray ASort(<aTarget>,[<nStart>],[<nCount>],[<bOrder>])->aTarget At(<cSearch>,<cString>,[<nStart>],[<nEnd>])->nPos AtAdjust(<cSearch>,<cString>,<nEndPos>,[<nCount>],[<nSkipChars>],[<xInsChar>])->cJustified ATail(<aArray>)->Element ATan(<nRadians>)->nArcTangent ATn2(<nSine>,<nCosine>)->nRadians AtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->nPos AtRepl(<cSearch>,<cString>,<cReplace>,[<nCount>],[<lOneOnly>])->cResult AtSkipStrings(<cSearch>,<cString>)->nPos AtToken(<cString>,[<cDelimiter>],[<nCount>])->nPos BeforAtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->cResult Bin2I(<cSignedInt>)->nNumber Bin2L(<cSignedInt>)->nNumber Bin2W(<cUnsignedInt>)->nNumber BitToC(<nInteger>,<cBitPattern>,[<lSpaces>])->cResult Blank(<xValue>,[<lSpaces>])->xEmptyValue BlobDirectExport(<nBlobID>,<cTargetFile>,[<nMode>])->lSuccess BlobDirectGet(<nBlobID>,[<nStart>],[<nCount>])->xBlobData BlobDirectImport(<nOldBlobID>,<cSourceFile>)->nNewBlobID BlobDirectPut(<nOldblobID>,<xBlobData>)->nNewblobID BlobExport(<nFieldPos>,<cTargetFile>,[<nMode>])->lSuccess BlobGet(<nFieldPos>,[<nStart>],[<nCount>])->xBlobData BlobImport(<nFieldPos>,<cSourceFile>)->lSuccess BlobRootDelete()->lSuccess BlobRootGet()->xBlobData BlobRootLock()->lSuccess BlobRootPut(<xBlobData>)->lSuccess BlobRootUnlock()->Nil Bof()->lBeginOfFile BoF()->lBeginOfFile BoM([<dDate>])->dFirstDayOfMonth BoQ([<dDate>])->dFirstDayOfQuarter BoY([<dDate>])->dFirstDayOfYear Break(<Expression>)->Nil Browse([<nTop>],[<nLeft>],[<nBottom>],[<nRight>])->lSuccess CallDll(<pFunction>,[<xParams,...>])->xResult CDoW(<dExpr>)->cDayName Ceiling(<nValue>)->nInteger Celsius(<nFahrenheit>)->nCelsius Center(<cString>,[<nLength>],[<cPadChar>],[<lBothSides>])->cCenteredString CharAdd(<cString1>,<cString2>)->cResult CharAND(<cString1>,<cString2>)->cResult CharEven(<cString>)->cResult CharHist([<cString>])->aHistogram CharList(<cString>)->cResult CharMirr(<cString>,[<lNoSpaces>])->cResult CharMix(<cString1>,<cString2>)->cResult CharNoList([<cString>])->cNotInString CharNOT(<cString>)->cResult CharOdd(<cString>)->cResult CharOne([<cDelete>],<cString>)->cResult CharOnly(<cRemaining>,<cString>)->cResult CharOR(<cString1>,<cString2>)->cResult CharPack(<cString>)->cCompressed CharRela(<cSearch1>,<cString1>,<cSearch2>,<cString2>)->nPosition CharRelRep(<cSearch1>,<cString1>,<cSearch2>,<cString2>,cReplace>)->cResult CharRem(<cDelete>,<cString>)->cResult CharRepl(<cSearch>,<cString>,<cReplace>,[<lOnePass>])->cResult CharRLL(<cString>,<nShift>)->cResult CharRLR(<cString>,<nShift>)->cResult CharSHL(<cString>,<nShift>)->cResult CharSHR(<cString>,<nShift>)->cResult CharSList(<cString>)->cSortedList CharSort(<cString>,[<nSeqLen>],[<nCompareLen>],[<nSkipChars>],[<nSkipSeq>],[<nSortLen>],[<lDescending>])->cResult CharSpread(<cString>,<nLineLen>,[<xInsChar>])->cResult CharSub(<cString1>,<cString2>)->cResult CharSwap(<cString>)->cResult CharUnpack(<cCompressed>)->cUncompressed CharWin([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<xNewChar>],[<xOldChar>])->cNull CharXOR(<cString1>,<cString2>)->cResult CheckSum(<cString>)->nCheckSum Chr(<nCode>)->cChar ClearBit(<nInteger>|<cHex>,[<nBitPos,...>])->nNewValue ClearEol([<nRow>],[<nCol>],[<xColor>],[<xChar>])->cNull ClearSlow(<nDelay>,[<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<xChar>])->cNull ClearWin([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<xColor>],[<xChar>])->cNull ClEol([<nRow>],[<nCol>])->cNull ClWin([<nTop>],[<nLeft>],[<nBottom>],[<nRight>])->cNull CMonth(<dDate>)->cMonth Col()->nCol ColorRepl([<xNewColor>],[<xOldColor>])->cNull ColorSelect(<nColorIndex>)->Nil ColorToN(<cColor>)->nColorAttribute ColorWin([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<xNewColor>],[<xOldColor>])->cNull CompressString(@<cString>,@<nSize>) ConvToAnsiCP(<cOEM_String>)->cANSI_String ConvToOemCP(<cANSI_String>)->cOEM_String Cos(<nAngle>)->nCosine CosH(<nRadians>)->nHyperbolicCosine Cot(<nAngle>)->nCotangent CountLeft(<cString>,[<xChar>])->nCount CountRight(<cString>,[<xChar>])->nCount CreateObject(<cProgID>)->oOleAuto Crypt(<cString>,<cPassWord>)->cResult CSetAtMuPa([<lNewMode>])->lOldMode CSetCent([<lNewMode>])->lOldMode CSetCurs([<lNewMode>])->lOldMode CSetKey(<nKey>)->bCodeBlock CSetRef([<lNewMode>])->lOldMode CSetSafety([<lNewMode>])->lOldMode CStr(<xValue>)->cString CStrToVal(<cString>,<cValtype>)->xValue CtoBit(<cString>,<cBitPattern>)->nInteger CToD(<cDate>)->dDate CtoDoW(<cDayName>)->nDayOfWeek CtoF(<cFloat>)->nNumber CtoMonth(<cMonthName>)->nMonth CtoN(<cDigits>,[<nBase>],[<lNegative>])->nInteger CtoT(<cDateTimeString>)->dDateTime CurDir([<cDrive>])->cDirPath CurDrive([<cNewDrive>])->cOldDrive Date()->dSystem DateTime()->dDateTime Day(<dDate>)->nDay DaysInMonth(<nMonth>,[<lLeapYear>])->nDaysInMonth DaysToMonth(<nMonth>,[<lLeapYear>])->nDays DBAppend()->Nil DBClearFilter()->Nil DBClearIndex()->Nil DBClearRelation()->Nil DBCloseAll()->Nil DBCloseArea()->Nil DBCommit()->Nil DBCommitAll()->Nil DBCopyExtStruct(<cDatabaseExt>)->lSuccess DBCopyStruct(<cDatabase>,[<aFieldList>])->Nil DBCreate(<cFile>,<aStruct>,<cRDD>,[<lKeepOpen>],[<cAlias>],[<cDelimArg>],[<cCodePage>],[<nConnection>])->Nil DBCreateIndex(<cIndexName>,<cKeyExpr>,<bKeyExpr>,[<lUnique>])->Nil DBDelete()->Nil DBDrop([<cTable>],[<cIndex>])->Nil DBEdit([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<acColumns>],[<cUserFunction>],[<acColumnSayPictures>|<cColumnSayPicture>],[<acColumnHeaders>|<cColumnHeader>],[<acHeadingSeparators>|<cHeadingSeparator>],[<acColumnSeparators>|<cColumnSeparator>],[<acFootingSeparators>|<cFootingSeperator>],[<acColumnFootings>|<cColumnFooting>])->Nil DBEval(<bBlock>,[<bForCondition>],[<bWhileCondition>],[<nNextRecords>],[<nRecord>],[<lRest>])->Nil DBExists(<cDbfFile>)->lExists DBF()->cAlias DBFieldInfo(<nInfo>,<nFieldPos>)->xFieldInfo DBFileGet(<nFieldPos>,<cTargetFile>,<nMode>)->lSuccess DBFilePut(<nFieldPos>,<cSourceFile>,[<Mode>])->lSuccess DBFilter()->cFilter DBFSize()->nFileSize DBGoBottom()->Nil DBGoTo(<nRecordNumber>)->Nil DBGoTop()->Nil DBInfo(<nDefine>,[<xNewSetting>])->xCurrentSetting DBJoin(<cAlias>,<cDatabase>,[<aFields>],[<bFor>])->lSuccess DBList([<lOff>],[<aBlocks>],[<lAll>],[<bFor>],[<bWhile>],[<nNext>],[<nRecord>],[<lRest>],[<lToPrint>],[<cOutFile>])->lSuccess DBOrderInfo(<nDefine>,[<cIndexFile>],[<nOrder>|<cIndexName>],[<xNewSetting>])->xCurrentSetting DBPack()->Nil DBRecall()->Nil DBRecordInfo(<nDefine>,[<nRecord>],[<xNewSetting>])->xOldSetting DBReindex()->Nil DBRelation(<nRelation>)->cLinkExp dbRename(<cTable>[,<cIndex>],<cNewName>,[<cRDD>],[<nConnect>])-><lOK> DBRLock([<xRecno>])->lSuccess DBRLockList()->aLockedRecords DBRSelect(<nRelation>)->nWorkArea DBRUnlock([<xRecno>])->Nil DBSeek(<expKey>,[<lSoftSeek>])->lFound DBSelectArea(<nArea>|<cAlias>)->Nil DBSetDriver([<cDriver>])->cCurrentDriver DBSetFilter(<bCondition>,[<cCondition>])->Nil DBSetIndex(<cIndexName>)->Nil DBSetOrder(<nOrdernum>)->Nil DBSetRelation(<nArea>|<cAlias>,<bExpr>,[<cExpr>])->Nil DBSkip(<nRecords>)->Nil DBSkipper(<nSkipRequest>)->nSkipResult DBSort(<cDatabase>,<aFields>,[<bFor>],[<bWhile>],[<nNext>],[<nRecord>],[<lRest>])->lSuccess DBStruct()->aStruct DBTableExt()->cFileExtension DBTotal(<cDatabase>,<bExpression>,[<aFields>],[<bFor>],[<bWhile>],[<nNext>],[<nRecord>],[<lRest>])->lSuccess DBUnlock()->Nil DBUnlockAll()->Nil DBUpdate(<cAlias>,<bReplace>,<bExpression>,[<lRandom>])->lSuccess DBUseArea([<lNewArea>],[<cDriver>],<cName>,[<xcAlias>],[<lShared>],[<lReadOnly>],[<cCodePage>],[<nConnection>])->Nil DBZap()->Nil Default(@<varName>,<xDefaultValue>)->Nil DefPath()->cDefaultPath Deleted()->lDeleted DeleteFile(<cFileName>)->nErrorCode Descend(<exp>)->ValueInverted DevOut(<exp>,[<cColorString>])->Nil DevOutPict(<exp>,<cPicture>,[<cColorString>])->Nil DevPos(<nRow>,<nCol>)->Nil DirChange(<cDirectory>)->nOSError Directory(<cDirSpec>,[<cAttributes>])->aDirectory DirectoryRecurse(<cDirSpec>,[<cAttributes>])->aDirectory DirMake(<cDirectory>)->nErrorCode DirName()->cDirectory DirRemove(<cDirectory>)->nOSError DisableWaitLocks([<lNewMode>])->lOldMode DiskChange(<cDrive>)->lSuccess DiskFree([<cDrive>])->nFreeDiskSpace DiskName()->cDrive DiskReady([<cDrive>],[<lOSErrorMsg>])->lDriveIsReady DiskReadyW([<cDrive>],[<lOSErrorMsg>])->lIsWriteable DiskSpace([<nDrive>],[<nType>])->nBytes DiskTotal([<cDrive>])->nTotalBytes DiskUsed([<cDrive>])->nUsedDiskSpace DispBegin()->Nil DispBox(<nTop>,<nLeft>,<nBottom>,<nRight>,[<cnBoxString>],[<cColorString>])->Nil DispCount()->nDispCount DispEnd()->Nil DispOut(<exp>,[<cColorString>])->Nil DllCall(<cDllFile>|<nDllHandle>,[<nCallingConvention>],<cFuncName>|<nOrdinal>,[<xParams,...>])->nResult DllExecuteCall(<pCallTemplate>,[<xParams,...>])->nResult DllLoad(<cDLLFileName>)->nDllHandle DllPrepareCall(<cDllFile>|<nDllHandle>,[<nCallingConvention>],<cFuncName>|<nOrdinal>)->pCallTemplate DllUnload(<nDllHandle>)->lSuccess DMY([<dDate>],[<lPeriod>])->cDate DOSError([<nNewOsCode>])->nOsCode DosParam()->cCommandLine DoW(<dDate>)->nDay DoY([<dDate>])->nDayOfYear DriveType([<cDrive>])->nDriveType DToC(<dDate>)->cDate DtoR(<nDegrees>)->nRadians DToS(<dDate>)->cDate ElapTime(<cStartTime>,<cEndTime>)->cElapsedTime Empty(<exp>)->lEmpty Enhanced()->cNull Eof()->lBoundary EoM([<dDate>])->dLastDayOfMonth EoQ([<dDate>])->dEndOfQuarter EoY([<dDate>])->dLastDayOfYear Error([<cSubSystem>],[<nGenCode>],[<nSubCode>],[<cOperation>],[<cDescription>],[<aArgs>],[<cModuleName>],[<cProcName>],[<nProcLine>])->oError ErrorBlock([<bErrorHandler>])->bCurrentErrorHandler ErrorLevel([<nNewReturnCode>])->nCurrentReturnCode ErrorNew([<cSubSystem>],[<nGenCode>],[<nSubCode>],[<cOperation>],[<cDescription>],{<aArgs>],[<cModuleName>],[<cProcName>],[<nProcLine>])->oError ErrorSys(<bDefaultErrorBlock>)->Nil Eval(<bBlock>,[<BlockArglist>])->LastBlockValue ExeName()->cExeFileName Exp(<nExponent>)->nAntilogarithm Expand(<cString>,[<nCount>],[<xChar>])->cResult Exponent(<nFloat>)->nExponent Fact(<nInteger>)->nFactorial Fahrenheit(<nCelsius>)->nFahrenheit FClose(<nHandle>)->lError FCount()->nFields FCreate(<cFile,[<nAttibute>])->nHandle FErase(<cFile>)->nSuccess FError()->nErrorCode Field(<nPosition>)->cFieldName FieldBlock(<cFieldName>)->bFieldBlock FieldDec(<nFieldPos>)->nDecimalPlaces FieldDeci(<cFieldName>|<nFieldPos>)->nDecimals FieldGet(<nField>)->ValueField FieldGetArr([<nRecNo>])-><aFieldValues> FieldLen(<nFieldPos>)->nFieldLength FieldName(<nPosition>)->cFieldName FieldNum(<cFieldName>)->nFieldPos FieldPos(<cFieldName>)->nFieldPos FieldPos(<cFieldName>)->nFieldPos FieldPut(<nField>,<expAssign>)->ValueAssigned FieldPutArr(<aFieldValues>[,<nRecNo>])-><lSuccess> FieldSize(<nFieldPos>)->nFieldLength FieldType(<nFieldPos>)->cFieldType FieldWBlock(<cFieldName>,<nWorkArea>)->bFieldWBlock File(<cFileSpec>)->lExist FileAttr([<cFileName>])->nAttributes FileCopy(<cSourceFile>,<cTargetFile>,[<lBackup>])->nBytesCopied FileDate([<cFileName>])->dDate FileDelete(<cFileMask>,[<nAttributes>])->lDeleted FileMove(<cSourceFile>,<cTargetFile>)->nErrorCode FileReader(<cFileName>,[<nMode>])->oTStreamFileReader FileScreen(<cFileName>,[<nOffSet>])->nBytesRead FileSize([<cFileName>],[<nAttributes>])->nFileSize FileStats(<cFileName>,[@<cFileAttr>],[@<nFileSize>],[@<dCreateDate>],[@<nCreateTime>],[@<dChangeDate>],[@<nChangeTime>])->lSuccess FileStr(<cFileName>,[<nBytes>],[<nStart>],[<lCtrl_Z>])->cString FileTime([<cFileName>],[<nAttributes>])->cFileTime FileValid(<cFileName>,[<nMaxName>],[<nMaxExtension>],[<lNoExtension>],[<lSpaces>])->lIsValid FileWriter(<cFileName>,[<nFileAttr>])->oTStreamFileWriter FKLabel(<nFunctionKey>)->cKeyLabel FKMax()->nFunctionKey FLineCount(<cFileName>)->nLineCount FLock()->lSuccess Floor(<nValue>)->nInteger FloppyType([<cDrive>])->nFloppyType FOpen(<cFile>,[<nMode>])->nHandle Found()->lSuccess FParse(<cFileName>,<cDelimiter>)->aTextArray FParseEx(<cFileName>,[<cDelimiter>])->aTextArray FParseLine(<cTextLine>,[<cDelimiter>])->aTextFields FRead(<nHandle>,@<cBufferVar>,<nBytes>,[<nOffset>])->nBytes FReadStr(<nHandle>,<nBytes>)->cString FreeLibrary(<nDllHandle>)->lSuccess FRename(<cOldFile>,<cNewFile>)->nSuccess FSeek(<nHandle>,<nOffset>,[<nOrigin>])->nPosition FtoC(<nFloat>)->cFloat Fv(<nInvestment>,<nInterestRate>,<nPeriods>)->nFutureValue FWordCount(<cFileName>)->nWordCount FWrite(<nHandle>,<cBuffer>,[<nBytes>])->nBytesWritten GetActiveObject(<cProgID>)->oOleAuto GetClearA()->nClearAttribute GetClearB()->nClearCharacter GetClrBack(<cColor>)->cBackgroundColor GetClrFore(<cColor>)->cForegroundColor GetClrPair(<cColorString>,<nPos>)->cColorValue GetCurrentThread()->pThreadHandle GetDefaultPrinter()->cPrinterName GetE(<cEnvVar>)->cString GetEnv(<cEnvironmentVariable>)->cString GetLastError()->nErrorCode GetPairLen(<cColorString>,<nPos>)->nLength GetPairPos(<cColorString>,<nPos>)->nAbsPos GetPrec()->nDecimalPlaces GetPrinters([<lPortInfo>],[<lLocalPrinters>])->aPrinterInfo GetProcAddress(<nDllHandle>,<cFuncName>|<nOrdinal>)->pAddress GetRegistry(<nHKEY>,<cRegPath>,<cRegKey>)->xRegValue GetVolInfo(<cDrive>)->lSuccess GT_AsciiSum(<cStr>)->nSum GT_Ascpos(<cStr>,<nPos>)->nAscVal GT_AtDiff(<cStr1>,<cStr2>)->nPos GT_CharEven(<cStr>)->cRet GT_CharMix(<cStr1>,<cStr2>)->cRet GT_CharOdd(<cStr>)->cRet GT_ChrCount(<cChr>,<cStr>)->nFreq GT_ChrFirst(<cChars>,<cStr>)->nAsc GT_ChrTotal(<cChrs>,<cStr>)->nTotOcc GT_ClrFlag(<cFlagString>,[<nStart>],[<nEnd>])->cFlagString GT_IsFlag(<cFlagString>,[<nFlag>])->lSetting GT_NewFlag(<nFlagCount>)->cFlagString GT_SetFlag(<cFlagString>,[<nStart>],[<nEnd>])->cFlagString GT_StrCount(<cChrs>,<cStr>)->nFreq GT_Strcspn(<cString>,<cSet>)->nLength GT_StrDiff(<cStr1>,<cStr2>)->cRet GT_StrExpand(<cStr>,[<nNum>],[<cChar>])->cRet GT_StrLeft(<cStr>,<cChars>)->nLen GT_StrpBrk(<cStr>,<cSet>)->cString GT_StrRight(<cStr>,<cChars>)->nLen HaaDelAt(<hArray>,<nPos>)->Nil HaaGetKeyAt(<hArray>,<nPos>)->xKey HaaGetPos(<hArray>,<xKey>)->nPos HaaGetRealPos(<hArray>,<nPos>)->nSortOrder HaaGetValueAt(<hArray>,<nPos>)->xValue HaaSetValueAt(<hArray>,<nPos>,<xValue>)->Nil HAllocate(<hHash>,<nCount>)->Nil HardCR(<cString>)->cConvertedString HardCR(<cString>)->cConvertedString Hash([<xKey1>,<xValue1>,[<xKeyN>,<xValueN>]])->hHash HB_ACmdLine()-><aArray> HB_ADel(<aArray>,<nElement>,[<lShrink>])->aTarget HB_AIns(<aTarget>,<nPosition>,[<xValue>],[<lGrow>])->aTarget HB_Alert() HB_AnsiToOem(<cANSI_String>)->cOEM_String HB_AnsiToOEM(<cString>)->cDosString HB_AParams()->aValues HB_ArgC()->nArgCount HB_ArgCheck(<cSwitch>)->lExists HB_ArgString(<cSwitch>)->cValue|Nil HB_ArgV(<nPos>)->cArgValue HB_ArrayId(<aArray>|<oObject>)->pID HB_ArrayToParams(<aValue>)->aValue HB_ArrayToStructure(<aMembers>,<aTypes>,[<nAlign>])->cBinaryStructure HB_AScan() HB_AScanI() HB_ATokens(<cString>,[<cDelimiter>],[<lSkipQuotes>],[<lDoubleQuotesOnly>])->aTokens HB_AtX(<cRegEx>,<cString>,[<lCaseSensitive>],[@<nStart>],[@<nLen>])->cFoundString HB_BackGroundActive(<nTaskHandle>,[<lNewActive>])->lOldActive HB_BackGroundAdd(<bAction>,[<nMillisecs>],[<lActive>])->nTaskHandle HB_BackGroundDel(<nTaskHandle>)->bAction HB_BackGroundReset()->Nil HB_BackGroundRun([<nTaskHandle>])->Nil HB_BackGroundTime((<nTaskHandle>,[<nNewInterval>])->nOldInterval HB_Base64Decode(<cBase64>)->cString HB_Base64DecodeFile(<cBase64File>,<cTargetFile>)->Nil HB_Base64Encode(<cString>,<nBytes>)->cBase64 HB_Base64EncodeFile(<cFilename>,<cBase64File>)->Nil HB_BitAnd(<nInteger1>,<nInteger2>)->nResult HB_BitIsSet(<nInteger>,<nPosition>)->lBitIsSet HB_BitNot(<nInteger>)->nResult HB_BitOr(<nInteger1>,<nInteger2>)->nResult HB_BitReset(<nInteger>,<nPosition>)->nResult HB_BitSet(<nInteger>,<nPosition>)->nResult HB_Bitshift(<nInteger>,<nShift>)->nResult HB_BitXOr(<nInteger1>,<nInteger2>)->nResult HB_BldLogMsg(<xParam,...>)->cParamValues HB_BlowFishDecrypt_CFB(<cBfKey>,<cCipher>[,<cInitSeed>])-><cText>|Nil HB_BlowFishEncrypt_CFB(<cBfKey>,<cText>[,<cInitSeed>])-><cCipher>|Nil HB_BuildDate()->cDateTime HB_BuildInfo(<nWhichInfo>)->cBuildInfo HB_CDay(<nDayOfWeek>)-><cDayName> HB_cdpExists(<cCDP>)-><lExists> HB_CheckSum(<cString>)->nAdler32 HB_Clocks2Secs(<nTicks>)->nSeconds HB_CloseProcess(<nProcessHandle>,[<lWaitForTermination>])->lSuccess HB_ClrArea(<nTop>,<nLeft>,<nBottom>,<nRight>,<nColorAttr>)->Nil HB_CmdArgArgV()->cExeFile HB_ColorIndex(<cColorString>,<nColorIndex>)->cColorValue HB_ColorToN(<cColor>)->nColorAttribute HB_Compiler()->cCompilerVersion HB_Compress(<cString>)->cCompressed HB_CompressBufLen(<nUncompressedLen>)->nDefaultBufLen HB_CompressError()->nLastError HB_CompressErrorDesc(<nErrorCode>)->cErrorDescription HB_CRC32(<cString>)->nCRC32 HB_CreateLen8(<nValue>)->cBinary HB_Crypt(<cString>,<cKey>)->cEncryptedString HB_CTOD(<cDate>[,<cDateFormat>])-><dDate> HB_CTOT(<cTimeStamp>,[<cDateFormat>][,<cTimeFormat>])-><tTimeStamp> HB_CWD([<cNewWD>])-><cPrevWD> HB_DATETIME()-><tTimeStamp> HB_DBCreateTemp(<cAlias>,<aStruct>,<cRDD>,<cCodePage>,<nConnection>)->lSuccess HB_DBDetach([<nWorkArea>|<cAlias>],[<xCargo>])->lSuccess HB_DBDrop([<cTable>],[<cIndex>])->Nil HB_DBExists(<cDbfFile>)->lExists HB_DBPack()->Nil HB_DBRequest([<cAlias>],[<lFreeArea>],[<@xCargo>],[<lWait>])->lSuccess HB_DBZap()->Nil HB_Decode(<xInitVal>,<hHash>,[<xDefault>])->xReturn HB_DecodeOrEmpty(<xInitVal>,<hHash>,[<xDefault>])->xReturn HB_Decrypt(<cEncryptedString>,<cKey>)->cString HB_DeserialBegin(<cBinaryData>)->cFirstSerialdata HB_DeSerialize(<cBinary>)->xValue HB_DeserializeSimple(<cBinaryData>)->xValue HB_DeserialNext(@<cSerial>,<nBytes>)->xValue HB_DiskSpace(<cDrive>,[<nType>])->nBytes HB_DllDo(<cFuncName>,[<params...>])->uResult HB_DTOC(<dDate>[,<cDateFormat>])-><cDate> HB_DumpVar(<xValue>)->cText HB_EnumIndex()->nIteration HB_EnumIndex()->nIteration HB_EOL()->cEndOfLine HB_Exec(pSomeFunctionPinter,[<Self|Nil>],[<Arg1[,ArgN]>]) HB_ExecFromArray(<aExecutableArray>)->xResult HB_FCommit(<nFileHandle>)->Nil HB_FCreate(<cFileName>,[<nFileAttr>],[<nOpenFlags>])->nFileHandle HB_FEof(<nFileHandle>)->lIsEndOfFile HB_FEOF(<nHandle>)->lIsEof HB_FLock(<nHandle>,<nOffset>,<nBytes>,[<nType])->lSuccess HB_FNameMerge([<cPath>],[<cFileName>],[<cExtension>])->cResult HB_FNameSplit(<cString>,[@<cPath>],[@<cFileName>],[@<cExtension>])->Nil HB_FReadAndSkip()->cLine HB_FReadLine(<nFileHandle>,@<cLine>,[<caEndOfLine>],[<nLineLength>])->nReturn HB_FReadLN()->cCurrentLine HB_FRecno()->nLineNumber HB_FSelect([<nNewArea>])->nOldArea HB_FSize(<cFileName>)->nFileSize HB_FSkip([<nLines>])->Nil HB_FTempCreate([<cTempDir>],[<cPrefix>],[<nFileAttr>],[@<cFileName>])->nFileHandle HB_FuncPtr(<cFuncName>)->pFuncPointer HB_FUnLock(<nHandle>,<nOffset>,<nBytes>)->lSuccess HB_FUse([<cTextfile>],[<nMode>])->nFilehandle HB_GCAll([<lForce>])->Nil HB_GCStep()->Nil HB_GetFilesInZIP(<cZip>,[<lFullPath>])->aExtract HB_GetLen8(<cBinaryData>)->nBytes HB_GetUnRARFile(<cFile>)->nNumber HB_GetUNZIPFile(<cFile>)->nNumber HB_GetZIPComment(<szFile>)->szComment HB_GTInfo() HB_HAllocate(<hsTable>,<nItems>)->Nil HB_Hash([<Key1>,<Value1>],[<KeyN>,<ValueN>],...)->hsTable HB_HAutoAdd(<hsTable>,[<lFlag>])->lPreviousFlag HB_HBinary(<hsTable>,[<lFlag>])->lPreviousFlag> HB_HCaseMatch(<hsTable>,[<lFlag>])->lPreviousFlag HB_HClone(<hsTable>)->hsDestination HB_HCopy(<hsDestination>,<hsSource>,[<nStart>],[<nCount>])->hsDestination HB_HDefault(<hsTable>,<DefaultValue>)->OldDefaultValye HB_HDel(<hsTable>,<Key>)->hsTable HB_HDelAt(<hsTable>,<nPosition>)->hsTable HB_HEval(<hsTable>,<bBlock>,[<nStart>],[<nCount>])->hsTable HB_HexToNum(<cHexString>)->nNumber HB_HexToStr(<cHexString>)->cASCIIstring HB_HFill(<hsTable>,<Value>)->hsTable HB_HGet(<hsTable>,<Key>)->Value HB_HGetDef(<hsTable>,<Key>,[<DefaultValue>])->Value hb_HGetRef(<hHash>,<xKey>[,<@xValue>])-><lFound> HB_HHasKey(<hsTable>,<Key>)->lExists HB_HKeyAt(<hsTable>,<nPosition>)->Key HB_HKeys(<hsTable>)->aKeys HB_HMerge(<hsDestination>,<hsSource>,<bBlock>|<nPosition>)->hsDestination HB_Hour(<tTimeStamp>)-><nHour> HB_HPairAt(<hsTable>,<nPosition>)->aKeyValue HB_HPos(<hsTable>,<Key>)->nPosition HB_HScan(<hsTable>,<Value>,[<nStart>],[<nCount>,[<lExact>])->nPosition HB_HSet(<hsTable>,<Key>,<Value>)->hsTable HB_HSort(<hsTable>)->hsSortedTable HB_HValueAt(<hsTable>,<nPosition>,[<NewValue>])->Value HB_HValues(<hsTable>)->aValues HB_IdleAdd(<bAction>)->nTaskHandle HB_IdleDel(<nTaskHandle>)->bAction HB_IdleReset()->Nil HB_IdleSleep(<nSeconds>)->Nil HB_IdleSleepMSec([<nNewInterval>])->nOldInterval HB_IdleState()->Nil HB_IdleWaitNoCPU([<lNewMode>])->lOldMode HB_IsArray(<expression>)->lIsArray HB_IsBlock(<expression>)->lIsCodeblock HB_IsByRef(@<variable>)->lIsByReference HB_IsDate(<expression>)->lIsDate HB_IsDateTime(<expression>)->lIsDateTime HB_IsFunction(<cName>)-><lExists> HB_IsHash(<expression>)->lIsHash HB_IsLogical(<expression>)->lIsLogical HB_IsMemo(<expression>)->lIsMemo HB_IsNil(<expression>)->lIsNil HB_IsNull(<expression>)->lIsNull HB_IsNumeric(<expression>)->lIsNumeric HB_IsObject(<expression>)->lIsObject HB_IsPointer(<expression>)->lIsPointer HB_IsRegex(<cRegEx>)->lGood HB_IsRegExString(<cString>)->lIsRegExComp HB_IsString(<expression>)->lIsString HB_KeyPut(<nInkeyCode>)->Nil HB_KeyVal(<nExtKey>)-><nKeyVal>|<nCharVal> HB_LangErrMsg(<nGenericError>)->cErrorMessage HB_LangMessage(<nMessageID>)->cMessage HB_LangName()->cLanguageID HB_LangSelect([<cLanguageID>])->cOldLanguageID hb_LeftEq(<cString1>,<cString2>)-><lResult> hb_LeftEqI(<cString1>,<cString2>)-><lResult> HB_LibDo(<cFuncName>,[<xParams,...>])->xResult HB_LogDateStamp()->cDateStamp HB_MacroCompile(<cMacro>)->cPCode HB_MD5(<cString>)->cMD5 hb_MD5Decrypt(<cCipher>,<cPasswd>])-><cText> hb_MD5Encrypt(<cText>,<cPasswd>)-><cCipher> HB_MD5File(<cFileName>)->cMD5 HB_MemoRead(<cFileName>)->cString HB_MemoWrit(<cFileName>,<cString>,[<lWriteEof>])->lSuccess HB_Minute(<tTimeStamp>)-><nMinute> HB_MultiThread()->lIsMultiThread HB_MutexCreate()->pMutexHandle HB_MutexLock(<pMutexHandle>)->lSuccess HB_MutexTimeoutLock(<pMutexHandle>,<nWaitMilliSecs>)->lSuccess HB_MutexTryLock(<pMutexHandle>)->lSuccess HB_MutexUnlock(<pMutexHandle>)->Nil HB_MVRestore(<cFileName>,[<lAdditive>],[<cMask>],[<lIncludeMask>]) HB_MVSave(<cFileName>,[<cMask>],[<lIncludeMask>]) HB_NToS(<nValue>)-><cValue> HB_NTOT(<nValue>)-><tTimeStamp> HB_NumToHex(<nNum>|<pPointer>,[<nLen>])->cHexString HB_OEMToAnsi(<cOEM_String>)->cANSI_String HB_OsDriveSeparator()->cDriveSeparator HB_OsError()->nLastErrorCode HB_OsNewLine()->cEndOfLine HB_OsPathDelimiters()->cDelimiters HB_OsPathListSeparator()->cSeparator HB_OsPathSeparator()->cSeparator HB_PCodeVer()->cPCodeVersion HB_Pointer2String(<pPointer>,<nBytes>)->cString HB_ProcessClose(<hHandle>,<lGentle>)->nResult HB_ProcessOpen(<cCommand,[<cStdIn>],[<@cStdOut>],[<@cStdErr>],[<lDetach>])->hHandle HB_ProcessRun(<cCommand,[<cStdIn>],[<@cStdOut>],[<@cStdErr>],[<lDetach>])->nResult HB_ProcessValue(<hHandle>,[<lWait>])->nResult HB_ProcessValue(<nProcessHandle>,[<lWaitForTermination>]))->nErrorLevel HB_PS()->cPathSeparator HB_PValue(<nArg>)->xExp HB_QSelf()->Self HB_QWith()->oObject|Nil HB_Rand32()->nNumRand HB_Random(<nMinLimit>,<nMaxLimit>)->nRandomNumber HB_RandomInt(<nMinLimit>,<nMaxLimit>)->nRandomInteger HB_RandomSeed([<nSeed>])->Nil HB_RandStr(<nLen>)-><cBytes> HB_RAScan()->? HB_ReadIni(<cFileName>,[<lCaseSens>],[<cDelimiter>],[<lAutoMain>])->hIniData HB_ReadLine(<cText>,[<cDelim>|<aDelim>],<nLineLen>,[<nTabWidth>],<lWrap>,[<nStartOffset>],@<lFound>,@<lEOF>,@<nEndOffSet>,@<nEndOfLine>)->Nil HB_RegEx(<cRegEx>,<cString>,[<lCaseSensitive>],[<lNewLine>])->aMatches HB_RegExAll(<cRegEx>,<cString>,[<lCaseSensitive>],[<lNewLine>],[<nMaxMatches>],[<nWichMatch>],[<lMatchOnly>])->aAllRegexMatches HB_RegExAtX(<cRegEx>,<cString>,[<lCaseSensitive>],[<lNewLine>])->aMatches HB_RegExComp(<cRegEx>,[<lCaseSensitive>],[<lNewLine>])->cBinaryRegEx HB_RegexHas(<cRegEx>,<cString>,[<lCaseSensitive>],[<lNewLine>])->lResult HB_RegexLike(<cRegEx>,<cString>,[<lCaseSensitive>],[<lNewLine>])->lResult HB_RegExMatch(<cRegEx>,<cString>,[<lCaseSensitive>],[<lNewLine>])->lFound HB_RegExReplace(<cRegEx>,<cString>,<cReplace>,[<lCaseSensitive>],[<lNewLine>],[<nMaxMatches>],[<nWichMatch>])->cNewString HB_RegExSplit(<cRegEx>,<cString>,[<lCaseSensitive>,[<lNewLine>],[<nMaxMatches>])->aSplitString HB_ResetWith(<oObject>)->Nil HB_RestoreBlock(<aCodeblockInfo>)->bCodeblock HB_Run(<cCommand>)-><nErrorLevel> HB_SaveBlock(<bCodeblock>)->aCodeBlockInfo HB_Sec(<tTimeStamp>)-><nSeconds> HB_Serialize(<xValue>)->cBinary HB_SerializeSimple(<xValue>)->cBinaryData HB_SerialNext(<cBinaryData>)->nPos HB_SetBuffer([<nWriteBuffer>],[<nExtractBuffer>],[<nReadBuffer>])->Nil HB_SetCodePage([<cCodePageID>])->cOldCodePageID HB_SetDiskZIP(<bBlock>) HB_SetDispCP(<cTermCP>,[<lBoxChar>])->Nil HB_SetEnv(<cEnvName>,[<cNewVal>][,<lOsCP>])-><lOK> HB_SetKeyArray(<aInkey>,[<bCodeblock>])->Nil HB_SetKeyCheck(<nInkey>,[<param1>],[<param2>],[<param3>])->lIsSetkeyBlock HB_SetKeyCP(<cTermCP>,<cHostCP>)->Nil HB_SetKeyGet(<nInkeyCode>,[@<bCondition>])->bCodeblock HB_SetKeySave([<aNewKeyBlock>])->aOldKeyBlock HB_SetMacro(<nMode>,[<lOnOff>])->lOldSetting HB_SetTermCP(<cTermCP>,[<lBoxChar>])->Nil HB_SetWith([<oNewObject>])->oOldObject HB_SetZIPComment(<cComment>)->Nil HB_Shadow(<nTop>,<nLeft>,<nBottom>,<nRight>,[<nColorAttr>])->Nil HB_SizeOfCStructure(<aTypes>,[<nAlign>])->nBytes HB_SToT(<cDateTime>)-><tTimeStamp> HB_String2Pointer(<cString>)->pPointer HB_StrIsUTF8(<cString>)-><lIsUTF8Encoded> HB_StrReplace(<cString>,<cSource>|<acSource>|<hReplace>,<cDest>|<acDest>])-><cResult> HB_StrReplace(<cString>,<hChanges>)-><cResult> HB_StrShrink(<cString>[,<nShrinkBy>])->cStringShrinked HB_StrToHex(<cString>,[<cSeparator>])->cHexString HB_StrToTS(<cTimeStamp>)-><tTimeStamp> HB_StrToUTF8(<cStr>[,<cCPID>])-><cUTF8Str> HB_TokenCount(<cString>,[<cDelim>],[<lSkipStrings>],[<lDoubleQuoteOnly>])->nTokens HB_TokenGet(<cString>,<nToken>,[<cDelim>],[<lSkipStrings>],[<lDoubleQuoteOnly>])->cToken HB_TokenPtr(<cString>,<@nSkip>,[<cDelim>],[<lSkipStrings>],[<lDoubleQuoteOnly>])->cToken HB_Translate(<cString>,<cCodePageID_Src>,<cCodePageID_Tgt>)->cConvertedString HB_TSToStr(<tTimeStamp>[,<lShorten>])-><cTimeStamp> hb_TSToUTC(<tsLocal>)-><tsUTC> HB_TTOC(<tTimeStamp>,[<cDateFormat>][,<cTimeFormat>])-><cTimeStamp> HB_TTON(<tTimeStamp>)-><nValue> HB_TTOS(<tTimeStamp>)-><cYYYYMMDDHHMMSSFFF> HB_Uncompress(<nBytes>,<cCompressed>)->cUncompressed HB_UnZIPFile(<cFile>,<bBlock>,<lWithPath>),<cPassWord>,<cPath>,[<cFile>|<aFile>],[<bFileProgress>])<->lCompress HB_UTCOffset([<tsLocal>])-><nSeconds> HB_UTF8ToStr(<cUTF8Str>[,<cCPID>])-><cStr> HB_UTF8ToStrBox(<cUTF8String>)-><cStringEncodedIn_GT_BOXCP> HB_UUDecode(<cUUEncode>)->cString HB_UUDecodeFile((<cUUEFile>,<cTargetFile>)->Nil HB_UUEncode(<cString>,<nBytes>)->cUUEncoded HB_UUEncodeFile(<cFilename>,<cUUEFile>)->Nil HB_Val(<cStr>[,<nLen>])-><nVal> HB_ValToStr(<xValue>)->cString HB_WildMatch(<cPattern>,<cString>,[<lExact>])->lResult HB_WildMatchI(<cPattern>,<cString>)->lResult HB_WithObjectCounter()->nNestingLevel HB_WriteIni(<cFileName>,<hIniData>,[<cCommentBegin>],[<cCommentEnd>],[<lAutoMain>])->lSuccess HB_ZCompress(<cData>,[<@cBuffer|nBufLen>],[<@nResult>],[<nLevel>])->cPackedData HB_ZCompressBound(<cData|nDataLen>)->nBytes HB_ZError(<nError>)->cError HB_ZIPDeleteFiles(<cFile>,<cFiletoDelete>|<aFiles>)->lDeleted HB_ZIPFile(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock>,<lOverWrite>,<cPassword>,<lWithPath>,<lWithDrive>,[<bFileProgress>])->lCompress HB_ZIPFileByPKSpan(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock>,<lOverWrite>,<cPassword>,<lWithPath>,<lWithDrive>)->lCompress HB_ZIPFileByTDSpan(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock>,<lOverWrite>,<cPassword>,<iSize>,<lWithPath>,<lWithDrive>)->lCompress HB_ZIPTestPk(<cFile>)->nReturnCode HB_ZIPWithPassword()->cPassword HB_ZLibVersion()->cVersion HB_ZUnCompress(<cPackedData>,[<@cBuffer|nBufLen>],[<@nResult>])->cUnPackedData HB_ZUnCompressLen(<cPackedData>,[<@nResult>])->nBytes HClone(<hHash>)->hClone HCopy(<hSource>,<hTarget>,[<nStart>],[<nCount>],[<xMode>])->hTarget HDel(<hHash>,<xKey>)->Nil HDelAt(<hHash>,<nPos>)->Nil Header()->nBytes HEval(<hHash>,<bBlock>,[<nStart>],[<nCount>])->hHash HexToNum(<cHexString>)->nNumber HexToStr(<cHexString>)->cASCIIstring HFill(<Hash>,<xValue>)->Nil HGet(<hHash>,<xKey>)->xValue HGetAACompatibility(<hHash>)->lIsAssocArray HGetAutoAdd(<hHash>)->lIsAutoAdd HGetCaseMatch(<hHash>)->lIsCaseSensitive HGetKeyAt(<hHash>,<nPos>)->xKey HGetKeys(<hHash>)->aKeys HGetPairAt(<hHash>,<nPos>)->{xKey,xValue} HGetPartition(<hHash>,[@<nPageSize>],[@<nLevel>])->lIsPartitioned HGetPos(<hHash>,<xKey>)->nPos HGetVaaPos(<hArray>)->aSortOrder HGetValueAt(<hHash>,<nPos>)->xValue HGetValues(<hHash>)->aValues HHasKey(<hHash>,<xKey>)->lExists HMerge(<hTarget>,<hSource>,[<xMode>])->hTarget Hour(<dDateTime>)->nHour HScan(<hHash>,<xValue>,[<nStart>],[<nCount>],[<lExact>],[<lASCII>])->nPos HSet(<hHash>,<xKey>,<xValue>)->Nil HSetAACompatibility(<hHash>,<lToggle>)->lSuccess HSetAutoAdd(<hHash>,<lOnOff>)->hHash HSetCaseMatch(<hHash>,<lOnOff>)->hHash HSetPartition(<hHash>,<nPageSize>,[<nLevel>])->Nil HSetValueAt(<hHash>,<nPos>,<xValue>)->Nil HtmlToAnsi(<cHtmlString>)->cAnsiString HtmlToOem(<cHtmlString>)->cOemString I2Bin(<nInteger>)->cBinaryInteger If(<lCondition>,<expTrue>,<expFalse>)->Value IIf(<lCondition>,<expTrue>,<expFalse>)->Value IndexExt()->cExtension IndexKey(nOrder)->cKeyExp IndexOrd()->nOrder Inkey([<nWaitSeconds>],[<nEventMask>])->nInkeyCode Int(<nExp>)->nInteger InvertAttr(<xColor>)->nInvertedAttribute IsAffirm(<cChar>)->lIsYes IsAlNum(<cString>)->lIsAlphaNumeric IsAlpha(<cString>)->lIsAlphabetic IsAscii(<cString>)->lIs7BitChar IsBegSeq()-><lResult> IsBit(<nInteger>|<cHex>,[<nBitPos>])->lBitIsSet IsCntrl(<cString>)->lIsCtrlChar IsColor()->lBoolean IsColour()->lBoolean IsDbExcl()-><lExclusive> IsDbFlock()-><lFLocked> IsDbRLock([<xRec>])-><lLocked> IsDigit(<cString>)->lBoolean IsDigit(<cString>)->lIsDigit IsDir(<cDirSpec>)->lIsDirectory IsDirectory(<cDirName>)->lIsDirectory IsDisk(<cDrive>)->lDriveIsReady IsFunction(<cName>)-><lExists> IsGraph(<cString>)->lIs7BitGraphicalChar IsLeap([<dDate>])->lIsLeapYear IsLocked([<nRecno>])->lIsLocked IsLower(<cString>)->lBoolean IsLower(<cString>)->lIsLowerCase IsNegative(<cChar>)->lIsNo IsPrint(<cString>)->lIs7BitPrintableChar IsPrinter()->lReady IsPrinter([<cPrinterName>])->lIsPrinter IsPunct(<cString>)->lIsPunctuationChar IsSpace(<cString>)->lIsWhiteSpaceChar IsUpper(<cString>)->lBoolean IsUpper(<cString>)->lIsUpperCase IsXDigit(<cString>)->lIsHexDigit JustLeft(<cString>,[<xChar>])->cResult JustRight(<cString>,[<xChar>])->cResult KbdStat()->nKeyState KeySec(<nKey>,<nTime>,[<nCounter>],[<lMode>])->lSuccess KeyTime(<nKey>,<cTime>)->lSuccess KSetIns([<lNewMode>])->lOldMode KSetNum([<lNewMode>])->lOldMode KSetScroll([<lNewMode>])->lOldMode L2Bin(<nExp>->cBinaryInteger LastDayoM(<dDate>|<nMonth>)->nDaysInMonth LastKey()->nInkeyCode LastRec()->nRecords Left(<cString>,<nCount>)->cSubString Len(<aArray>|<cString>|<hHash>)->nCount LenNum(<nNumber>)->nLength LoadLibrary(<cDLLFile>)->nDllHandle Log(<nExp>)->nNaturalLog Log10(<nValue>)->nLog10 Lower(<cString>)->cLowerString LtoN([<lLogic>])->nLogic LTrim(<cString>,[<lAllWhiteSpace>])->cTrimString LUpdate()->dModification MakeDir(<cDirectory>)->nOSError Mantissa(<nFloat>)->nMantissa Max(<xExp1>,<xExp2>)->xLarger MaxCol()->nColumn MaxLine(<cText>)->nMaxLineLength MaxRow()->nRow MCol()->nMouseCol MDblClk([<nNewInterval>])->nMilliSeconds MDY([<dDate>])->cDate MemoEdit(<cString>,[<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<lEditMode>],[<cUserFunction>],[<nLineLength>],[<nTabSize>],[<TextBufferRow>],[<nTextBufferColumn>],[<nWindowRow>],[<nWindowColumn>])->cTextBuffer MemoLine(<cString>,[<nLineLength>],[<nLineNumber>],[<nTabSize>],[<lWrap>],[<lLongLines>],[@<nOffSet>])->cLine MemoRead(<cFile>)->cString Memory(<nExp>)->nKBytes MemoTran(<cString>,[<cReplaceHardCR>],[<cReplaceSoftCR>])->cNewString MemoWrit(<cFile>,<cString>)->lSuccess MemvarBlock(<cMemvarName>)->bMemvarBlock MHide()->Nil MilliSec(<nMilliSeconds>)->cNull Min(<xExp1>,<xExp2>)->xSmaller Minute(<dDateTime>)->nMinute MLCount(<cString>,[<nLineLength>],[<nTabSize>],[<lWrap>],[<lLongLines>])->nLines MLCToPos(<cText>,<nWidth>,<nLine>,<nCol>,[<nTabSize>],[<lWrap>],[<lLongLines>]))->nPosition MLeftDown()->lLeftButtonIsPressed MLPos(<cString>,<nLineLenght>,<nLine>,[<nTabSize>],[<lWrap>],[<lLongLines>])->nPosition Mod(<nDivident>,<nDivisior>)->nRemainder Month(<dDate>)->nMonth MPosToLC(<cText>,<nWidth>,<nPos>,[<nTabSize>],[<lWrap>],[<lLongLines>]))->aLineColumn MPresent()->lMouseIsPresent MRestState(<cSavedState>)->Nil MRightDown()->lRightButtonIsPressed MRow()->nMouseRow MSaveState()->cSavedState MSetBounds([<nTop>],[<nLeft>],[<nBottom>],[<nRight>])->Nil MSetCursor([<lOnOff>])->lPreviousSetting MSetPos(<nRow>,<nCol>)->Nil MShow()->Nil NationMsg(<nMessageID>)->cMessage NetCancel(<cLocalDevice>)->lIsReleased NetDisk(<cDrive>)->lIsNetworkDrive NetErr(<lNewError>)->lError NetName()->cWorkstationName NetPrinter()->lIsNetworkPrinter NetRedir(<cLocal>,<cServer>,[<cPassword>],[<lShowError>])->lSuccess NetRmtName(<cLocal>)->cRemote Network()->lIsNetwork NextKey()->nInkeyCode NNetwork()->lIsNovellNetwork NoSnow(<lToggle>)->Nil Notify(<pMutexHandle>,[<xValue>])->Nil NotifyAll(<pMutexHandle>)->Nil NtoC(<nInteger>|<cHex>,[<nBase>],[<nLength>,[<cPad>])->cString NtoCDoW(<nDayOfWeek>)->cDayName NtoCMonth(<nMonth>)->cMonthName NtoColor(<nColor>,[<lAsChar>])->cColor Nul([<xValue>])->cNullString NumAND(<nInteger1|cHex1>,<nInteger2|cHex2>,[<...nIntegerN|cHexN>])->nInteger NumAt(<cSearch>,<cString>,[<nSkipChars>])->nCount NumButtons()->nButtonCount NumCount([<nValue>],[<lIsStart>])->nCounter NumDiskL()->nLogicalDrives NumHigh(<nInteger>|<cHex>)->nHighByte NumLine(<cText>,[<nLineLength>])->nLineCount NumLow(<nInteger>|<cHex>)->nLowByte NumMirr(<nInteger>|<cHex>,[<lEightBits>])->nInteger NumMirr(<nMaxBits>,<nInteger>|<cHex>)->nInteger NumNOT(<nInteger>|<cHex>)->nNOTed_Integer NumNOTX(<nMaxBits>,<nInteger>|<cHex>)->nNOTed_Integer NumOR(<nInteger1|cHex1>,<nInteger2|cHex2>,[<...nIntegerN|cHexN>])->nInteger NumORX(<nMaxBits>,<nInteger1|cHex1>,<nInteger2|cHex2>,[<...nIntegerN|cHexN>])->nInteger NumRoL(<nInteger>|<cHex>,<nRotate>|<cRotate>,[<lEightBits>])->nInteger NumRoLX(<nMaxBits>,<nInteger>|<cHex>,<nRotate>|<cRotate>)->nInteger NumToHex(<nNum>|<pPointer>,[<nLen>])->cHexString NumToken(<cString>,[<cDelimiter>],[<nSkipWidth>])->nCount NumXOR(<nInteger1>|<cHex1>,<nInteger2>|<cHex2>)->nInteger NumXORX(<nMaxBits>,<nInteger1>|<cHex1>,<nInteger2>|<cHex2>)->nInteger Occurs(<cSubStr>,<cString>)->nCount OemToHtml(<cOemString>)->cHtmlString Ole2TxtError()->cErrorCode OleError()->nErrorCode OrdBagExt()->cBagExt OrdBagName(<nOrder>|<cOrderName>)->cOrderBagName OrdCount([<cIndexFile>])->nOpenIndexes OrdCustom([<cIndexName>|<nOrder>],[<cIndexFile>],[<lNewCustomFlag>])->lOldCustomFlag OrdDestroy(<cOrderName>,[<cOrderBagName>])->Nil OrdFindRec(<nRecno>,[<lCurrentRec>])->lFound OrdFor(<xOrder>,[<cOrderBagName>])->cForExp Ordkey(<cOrderName>|<nOrder>,[<cOrderBagName>])->cExpKey OrdKeyRelPos([<nNewPosition>])->nRelativePosition OrdListAdd(<cOrderBagName>,[<cOrderName>])->Nil OrdListClear()->Nil OrdListRebuild()->Nil OrdName(<nOrder>,[<cOrderBagName>)->cOrderName OrdNumber(<cOrderName>,[<cOrderBagName>])->nOrderNo OrdSetFocus([<cOrderName>|<nOrder>],[<cOrderBagName>])->cPrevOrderNameInFocus OrdSkipRaw([<nRecords>])->Nil OrdWildSeek(<cWildCardString>,[<lCurrentRec>],[<lBackwards>])->lFound OS()->cOSName Os_IsWin2000()->lIsWin2000 Os_IsWin2000_Or_Later()->lIsWin2000_Or_Later Os_IsWin2003()->lIsWin2003 Os_IsWin95()->lIsWin95 Os_IsWin98()->lIsWin98 Os_IsWin9X()->lIsWin9X Os_IsWinME()->lIsWinME Os_IsWinNT()->lIsWinNT Os_IsWinNT351()->lIsWinNT351 Os_IsWinNT4()->lIsWinNT40 Os_IsWinVISTA()->lIsWinVista Os_IsWinXP()->lIsWinXP Os_IsWtsClient()->lIsWtsClient Os_NetRegOk([<lFixIt>])->lIsOK OS_NetVRedirOk([@<nErrorCode>])->lIsOK Os_VersionInfo()->aVersionInfo OutErr(<explist>)->Nil OutStd(<explist>)->Nil
funciones de FWH y Harbour en un archivo .txt
Pad(<exp>,<nLength>,[<cFillChar>])->cPaddedString PadC(<exp>,<nLength>,[<cFillChar>])->cPaddedString PadL(<exp>,<nLength>,[<cFillChar>])->cPaddedString PadLeft(<cString>,<nLength>,[<xChar>])->cResult PadLeft(<cString>,<nLength>,[<xChar>])->cResult PadR(<exp>,<nLength>,[<cFillChar>])->cPaddedString Payment(<nLoan>,<nInterestRate>,<nPeriods>)->nPayment PCol()->nColumn PCount()->nLastArgumentPos Periods(<nLoan>,<nPayBack>,<nInterestRate>)->nDuration Pi()->nPi PosAlpha(<cString>,[<lNoAlpha>],[<nSkipChars>])->nPos PosChar(<cString>,<xChar>,[<nPos>])->cResult PosDel(<cString>,[<nPos>],[<nCount>])->cResult PosDiff(<cString1>,<cString2>,[<nSkipChars>])->nPos PosEqual(<cString1>,<cString2>,[<nCompare>],[<nSkipChars>])->nPos PosIns(<cString>,<cInsert>,[<nPos>])->cResult PosLower(<cString>,[<lNoLower>],[<nSkipChars>])->nPos PosRange(<cRangeStart>,<cRangeEnd>,<cString>,[<lNotInRange>],[<nSkipChars>])->nPos PosRepl(<cString>,<cReplace>,[<nPos>])->cResult PosUpper(<cString>,[<lNoUpper>],[<nSkipChars>])->nPos Prgexptoval(<cString>)->xValue PrinterExists(<cPrinterName>)->lInstalled PrinterPortToName(<cPortName>)->cPrinterName PrintFileRaw(<cPrinterName>,<cFileName>,[<cJobTitle>])->nErrorCode PrintReady([<nLPT>])->lPrinterIsReady PrintSend(<cString>,[<nLPTport>])->nCharsNotSend PrintStat([<nLPT>])->nPrinterStatus ProcFile([<nCallStack>])->cPrgFilename ProcLine(<nActivation>)->nSourceLine ProcName(<nActivation>)->cProcedureName PRow()->nRow Pv(<nInvestment>,<nInterestRate>,<nPeriods>)->nPresentValue PValue(<nParamPos>)->xParamValue QOut(<explist>)->Nil QQOut(<explist>)->Nil Quarter([<dDate>])->nQuarter QueryRegistry(<nHKEY>,<cRegPath>,<cRegKey>,<xValue>,[<lCreate>])->lExists RangeRem(<xRangeStart>,<xRangeEnd>,<cString>)->cResult RangeRepl(<cRangeStart>,<cRangeEnd>,<cString>,<cReplace>)->cResult RAscan(<aArray>,<xbSearch>,[<nStart>],[<nCount>],[<lExact>],[<lASCII>])->nElement RAt(<cSearch>,<cString>,[<nStart>],[<nEnd>])->nPos Rate(<nLoan>,<nPayment>,<nPeriods>)->nInterestRate RddInfo(<nDefine>,[<xNewSetting>],[<cRddName>])->xOldSetting RddName()->cRDDName RddRegister(<cRddName>,<nRddType>)->nErrorCode RddSetDefault([<cNewRDD>])->cOldRDD ReadExit(<lToggle>)->lCurrentState ReadInsert(<lToggle>)->lCurrentMode ReadKey()->nReadkeyCode ReadModal(<aGetList>)->Nil ReadVar()->cVarName RecCount()->nRecords RecNo()->nRecord RecSize()->nBytes RemAll(<cString>,[<xChar>])->cResult RemLeft(<cString>,[<xChar>])->cResult RemRight(<cString>,[<xChar>])->cResult RenameFile(<cOldFile>,<cNewFile>)->nErrorCode ReplAll(<cString>,<xReplace>,[<xSearch>])->cResult Replicate(<cString>,<nCount>)->cRepeatedString ReplLeft(<cString>,<xReplace>,[<xSearch>])->cResult ReplRight(<cString>,<xReplace>,[<xSearch>])->cResult RestCursor(<nSaved>)->cNull RestScreen([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],<cScreen>)->Nil RestToken(<cSavedTokenEnv>)->cNullString Right(<cString>,<nCount>)->cSubString RLock()->lSuccess Round(<nNumber>,<nDecimals>)->nRounded Row()->nRow RtoD(<nRadians>)->nDegrees RTrim(<cString>,[<lAllWhiteSpace>])->cTrimString SaveCursor()->nSaved SaveScreen([<nTop>],[<nLeft>],[<nBottom>],[<nRight>])->cScreen SaveToken()->cGlobalTokenEnv Scroll([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<nVert>],[<nHoriz>])->Nil Seconds()->nSeconds SecondsCpu([<nWhichTime>])->nSeconds SecondsSleep(<nSeconds>)->Nil Secs(<cTime>|<dDateTime>)->nSeconds SecToTime([<nSeconds>],[<lHundredth>])->cTime Select([<cAlias>])->nWorkArea Set(<nSpecifier>,[<expNewSetting>],[<lOpenMode>])->lCurrentSetting SetAtLike([<nNewMode>],[<cWildCard>])->nOldMode SetBit(<nInteger>|<cHex>,[<nBitPos,...>])->nInteger SetBlink([<lToggle>])->lCurrentSetting SetCancel([<lOnOff>])->lOldSetting SetClearA([<xColor>])->cNull SetClearB([<xChar>])->cNull SetClrPair(<cColorString>,<nPos>,<cColor>)->cNewColorString SetColor([<cColorString>])->cColorString SetCursor([<nCursorShape>])->nCurrentSetting SetDate(<dDate>)->lSuccess SetEnv(<cEnvironmentVariable>,[<cNewValue>][,<lSystem>])->lSuccess SetErrorMode([<nNewErrorMode>])->nOldErrorMode SetFDaTi(<cFileName>,[<dFileDate>],[<cFileTime>])->lSuccess SetKey(<nInkeyCode>,[<bNewCodeblock>],[<bCondition>])->bOldCodeblock SetLastError(<nNewErrorCode>)->nOldErrorCode SetLastKey(<nKey>)->cNullString SetMode(<nRows>,<nCols>)->lSuccess SetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible SetNewDate(<nYear>,<nMonth>,<nDay>)->lSuccess SetNewTime(<nHour>,<nMinute>,<nSecond>)->lSuccess SetPos(<nRow>,<nCol>)->Nil SetPrc(<nRow>,<nCol>)->Nil SetPrec(<nDecimalPlaces>)->cNullString SetRegistry(<nHKEY>,<cRegPath>,<cRegKey>,<xValue>)->lSuccess SetTime(<cTime>)->lSuccess ShowTime([<nRow>],[<nCol>],[<lHideSecs>],[<cColor>],[<l12h>],[<lAmPm>])->cNull Sign(<nNumber>)->nSign Sin(<nAngle>)->nSine SinH(<nRadians>)->nHyperbolicSine SoundEx(<cString>)->cSoundExString Space(<nCount>)->cSpaces SQrt(<nNumber>)->nRoot Standard()->cNull StoD([<cDate>])->dDate StoT([<cDateTime>])->dDateTime Str(<nNumber>,[<nLength>],[<nDecimals>],[lTrim])->cNumber StrDel(<cString>,<Mask>)->cNewString StrDiff(<cString1>,<cString2>,[<nReplace>],[<nDelete>],[<nInsert>])->nSimilarity StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString StringToLiteral(<cString>)->cLiteralString StrOccurs(<cSub>,<cStr>,[<lAny>])-><nCount> StrPeek(<cString>,<nPos>)->nASCII StrPoke(<cString>,<nPos>,<nASCII>)->cString StrScreen(<cScreen>,[<nRow>],[<nCol>])->cNull StrSwap([@]<cString1>,[@]<cString2>)->cNull StrToHex(<cString>,[<cSeparator>])->cHexString StrTran(<cString>,<cSearch>,[<cReplace>],[<nStart>],[<nCount>])->cNewString StrZero(<nNumber>,[<nLength>],[<nDecimals>])->cNumber Stuff(<cString>,<nStart>,<nDelete>,<cInsert>)->cNewString SubStr(<cString>,<nStart>,[<nCount>])->cSubstring SX_DtoP(<dDate>)->cPackedDate SX_Encrypt(<cString>,<Password>)->cEncryptedString SX_FCompress(<cSourceFile>,<cTargetFile>)->lSuccess SX_FDecompress(<cCompressed>,<cUncompressed)->lSuccess SX_PtoD(<cPackedDate>)->dDate TabExpand(<cString>,[<nTabWidth>],[<xFillChar>])->cResultString TabPack(<cString>,[<nTabWidth>],[<xFillChar>])->cResult Tan(<nAngle>)->nTangent TanH(<nRadians>)->nHyperbolicTangent TBMouse(<oTBrowse>,<nMouseRow>,<nMouseCol>)->nHandled Throw(<oError>)->Nil Time()->cTimeString TimeToSec([<cTime>])->nSeconds TimeValid(<cTime>)->lIsTimeString Token(<cString>,[<cDelimiter>],[<nTokenPos>],[<nSkipWidth>],[@<cPreTokenSep>],[@<cPostTokenSep>])->cToken TokenAt([<lNextDelimiter>],[<nCount>],[@<cTokenEnv>])->nPosition TokenEnd([@<cTokenEnv>])->lTokenEnd TokenExit()->lSuccess TokenInit([@<cString>],[<cDelimiter>],[<nSkipWidth>],[@<cTokenEnv>])->lSuccess TokenLower(<cString>,[<cDelimiter>],[<nTokenPos>],[<nSkipWidth>])->cResult TokenLower(<cString>,[<cDelimiter>],[<nTokenPos>],[<nSkipWidth>])->cResult TokenNext([@]<cString>,[<nTokenPos>],[@<cTokenEnv>])->cToken Tokennum([<@cTokenEnv>])->nTokenCount TokenSep([<lRightSeparator>])->cSeparator Tone(<nFrequency>,<nDuration>)->Nil TraceLog(<xVariables,...>)->lTrue Transform(<exp>,<cSayPicture>)->cFormatString Trim(<cString>)->cTrimString TrueName(<cPath>)->cRoot TtoC(<dDateTime>)->cDateTimeString TtoS(<dDateTime>)->cYYYYMMDDhhmmss.ccc Type(<cExp>)->cType U2bin(<nNumber>)->cInteger UnCompressString(<cBuffer>,<nSize>)->cUncompressBuffer UnSelected()->cNull UpDated()->lChange Upper(<cString>)->cUpperString Used()->lDfbOpen Val(<cNumber>)->nNumber ValPos(<cString>,[<nPos>])->nValue ValToPrg(<xValue>)->cPRGcode ValToPrgExp(<xValue>)->cMacroExpression ValType(<exp>)->cType Version()->cVersion VolSerial([<cDrive>])->nVolumeSerial Volume(<cVolumeName>)->lSuccess W2Bin(<nNumber>)->cInteger Wild2RegEx(<cWildCard>,[<lCaseSensitive>])->cRegEx WildMatch(<cPattern>,<cString>,[<lFullMatch>])->lFound WMSetPos(<nRow>,<nCol>)->Nil WoM([<dDate>])->nWeekOfMonth Word(<nNumber>)->Nil WordOne(<cWordList>,<cString>)->cResult WordOnly(<cWordList>,<cString>)->cResult WordRem(<cWordList>,<cString>)->cResult WordRepl(<cWordList>,<cString>,<cReplace,[<lSkipWords>])->cResult WordSwap(<cString>,[<lSwapBytes>])->cResult WordToChar(<cWordList>,<cString>,<cCharList>)->cResult WOY(<dDate>,<lIso>)->nWeek WSetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible XtoC(<xValue>)->cValue Year(<dDate>)->nYear
funciones de FWH y Harbour en un archivo .txt
[quote="carlos vargas":2ksbaylr]Pad(<exp>,<nLength>,[<cFillChar>])->cPaddedString PadC(<exp>,<nLength>,[<cFillChar>])->cPaddedString PadL(<exp>,<nLength>,[<cFillChar>])->cPaddedString PadLeft(<cString>,<nLength>,[<xChar>])->cResult PadLeft(<cString>,<nLength>,[<xChar>])->cResult PadR(<exp>,<nLength>,[<cFillChar>])->cPaddedString Payment(<nLoan>,<nInterestRate>,<nPeriods>)->nPayment PCol()->nColumn PCount()->nLastArgumentPos Periods(<nLoan>,<nPayBack>,<nInterestRate>)->nDuration Pi()->nPi PosAlpha(<cString>,[<lNoAlpha>],[<nSkipChars>])->nPos PosChar(<cString>,<xChar>,[<nPos>])->cResult PosDel(<cString>,[<nPos>],[<nCount>])->cResult PosDiff(<cString1>,<cString2>,[<nSkipChars>])->nPos PosEqual(<cString1>,<cString2>,[<nCompare>],[<nSkipChars>])->nPos PosIns(<cString>,<cInsert>,[<nPos>])->cResult PosLower(<cString>,[<lNoLower>],[<nSkipChars>])->nPos PosRange(<cRangeStart>,<cRangeEnd>,<cString>,[<lNotInRange>],[<nSkipChars>])->nPos PosRepl(<cString>,<cReplace>,[<nPos>])->cResult PosUpper(<cString>,[<lNoUpper>],[<nSkipChars>])->nPos Prgexptoval(<cString>)->xValue PrinterExists(<cPrinterName>)->lInstalled PrinterPortToName(<cPortName>)->cPrinterName PrintFileRaw(<cPrinterName>,<cFileName>,[<cJobTitle>])->nErrorCode PrintReady([<nLPT>])->lPrinterIsReady PrintSend(<cString>,[<nLPTport>])->nCharsNotSend PrintStat([<nLPT>])->nPrinterStatus ProcFile([<nCallStack>])->cPrgFilename ProcLine(<nActivation>)->nSourceLine ProcName(<nActivation>)->cProcedureName PRow()->nRow Pv(<nInvestment>,<nInterestRate>,<nPeriods>)->nPresentValue PValue(<nParamPos>)->xParamValue QOut(<explist>)->Nil QQOut(<explist>)->Nil Quarter([<dDate>])->nQuarter QueryRegistry(<nHKEY>,<cRegPath>,<cRegKey>,<xValue>,[<lCreate>])->lExists RangeRem(<xRangeStart>,<xRangeEnd>,<cString>)->cResult RangeRepl(<cRangeStart>,<cRangeEnd>,<cString>,<cReplace>)->cResult RAscan(<aArray>,<xbSearch>,[<nStart>],[<nCount>],[<lExact>],[<lASCII>])->nElement RAt(<cSearch>,<cString>,[<nStart>],[<nEnd>])->nPos Rate(<nLoan>,<nPayment>,<nPeriods>)->nInterestRate RddInfo(<nDefine>,[<xNewSetting>],[<cRddName>])->xOldSetting RddName()->cRDDName RddRegister(<cRddName>,<nRddType>)->nErrorCode RddSetDefault([<cNewRDD>])->cOldRDD ReadExit(<lToggle>)->lCurrentState ReadInsert(<lToggle>)->lCurrentMode ReadKey()->nReadkeyCode ReadModal(<aGetList>)->Nil ReadVar()->cVarName RecCount()->nRecords RecNo()->nRecord RecSize()->nBytes RemAll(<cString>,[<xChar>])->cResult RemLeft(<cString>,[<xChar>])->cResult RemRight(<cString>,[<xChar>])->cResult RenameFile(<cOldFile>,<cNewFile>)->nErrorCode ReplAll(<cString>,<xReplace>,[<xSearch>])->cResult Replicate(<cString>,<nCount>)->cRepeatedString ReplLeft(<cString>,<xReplace>,[<xSearch>])->cResult ReplRight(<cString>,<xReplace>,[<xSearch>])->cResult RestCursor(<nSaved>)->cNull RestScreen([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],<cScreen>)->Nil RestToken(<cSavedTokenEnv>)->cNullString Right(<cString>,<nCount>)->cSubString RLock()->lSuccess Round(<nNumber>,<nDecimals>)->nRounded Row()->nRow RtoD(<nRadians>)->nDegrees RTrim(<cString>,[<lAllWhiteSpace>])->cTrimString SaveCursor()->nSaved SaveScreen([<nTop>],[<nLeft>],[<nBottom>],[<nRight>])->cScreen SaveToken()->cGlobalTokenEnv Scroll([<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<nVert>],[<nHoriz>])->Nil Seconds()->nSeconds SecondsCpu([<nWhichTime>])->nSeconds SecondsSleep(<nSeconds>)->Nil Secs(<cTime>|<dDateTime>)->nSeconds SecToTime([<nSeconds>],[<lHundredth>])->cTime Select([<cAlias>])->nWorkArea Set(<nSpecifier>,[<expNewSetting>],[<lOpenMode>])->lCurrentSetting SetAtLike([<nNewMode>],[<cWildCard>])->nOldMode SetBit(<nInteger>|<cHex>,[<nBitPos,...>])->nInteger SetBlink([<lToggle>])->lCurrentSetting SetCancel([<lOnOff>])->lOldSetting SetClearA([<xColor>])->cNull SetClearB([<xChar>])->cNull SetClrPair(<cColorString>,<nPos>,<cColor>)->cNewColorString SetColor([<cColorString>])->cColorString SetCursor([<nCursorShape>])->nCurrentSetting SetDate(<dDate>)->lSuccess SetEnv(<cEnvironmentVariable>,[<cNewValue>][,<lSystem>])->lSuccess SetErrorMode([<nNewErrorMode>])->nOldErrorMode SetFDaTi(<cFileName>,[<dFileDate>],[<cFileTime>])->lSuccess SetKey(<nInkeyCode>,[<bNewCodeblock>],[<bCondition>])->bOldCodeblock SetLastError(<nNewErrorCode>)->nOldErrorCode SetLastKey(<nKey>)->cNullString SetMode(<nRows>,<nCols>)->lSuccess SetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible SetNewDate(<nYear>,<nMonth>,<nDay>)->lSuccess SetNewTime(<nHour>,<nMinute>,<nSecond>)->lSuccess SetPos(<nRow>,<nCol>)->Nil SetPrc(<nRow>,<nCol>)->Nil SetPrec(<nDecimalPlaces>)->cNullString SetRegistry(<nHKEY>,<cRegPath>,<cRegKey>,<xValue>)->lSuccess SetTime(<cTime>)->lSuccess ShowTime([<nRow>],[<nCol>],[<lHideSecs>],[<cColor>],[<l12h>],[<lAmPm>])->cNull Sign(<nNumber>)->nSign Sin(<nAngle>)->nSine SinH(<nRadians>)->nHyperbolicSine SoundEx(<cString>)->cSoundExString Space(<nCount>)->cSpaces SQrt(<nNumber>)->nRoot Standard()->cNull StoD([<cDate>])->dDate StoT([<cDateTime>])->dDateTime Str(<nNumber>,[<nLength>],[<nDecimals>],[lTrim])->cNumber StrDel(<cString>,<Mask>)->cNewString StrDiff(<cString1>,<cString2>,[<nReplace>],[<nDelete>],[<nInsert>])->nSimilarity StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString StringToLiteral(<cString>)->cLiteralString StrOccurs(<cSub>,<cStr>,[<lAny>])-><nCount> StrPeek(<cString>,<nPos>)->nASCII StrPoke(<cString>,<nPos>,<nASCII>)->cString StrScreen(<cScreen>,[<nRow>],[<nCol>])->cNull StrSwap([@]<cString1>,[@]<cString2>)->cNull StrToHex(<cString>,[<cSeparator>])->cHexString StrTran(<cString>,<cSearch>,[<cReplace>],[<nStart>],[<nCount>])->cNewString StrZero(<nNumber>,[<nLength>],[<nDecimals>])->cNumber Stuff(<cString>,<nStart>,<nDelete>,<cInsert>)->cNewString SubStr(<cString>,<nStart>,[<nCount>])->cSubstring SX_DtoP(<dDate>)->cPackedDate SX_Encrypt(<cString>,<Password>)->cEncryptedString SX_FCompress(<cSourceFile>,<cTargetFile>)->lSuccess SX_FDecompress(<cCompressed>,<cUncompressed)->lSuccess SX_PtoD(<cPackedDate>)->dDate TabExpand(<cString>,[<nTabWidth>],[<xFillChar>])->cResultString TabPack(<cString>,[<nTabWidth>],[<xFillChar>])->cResult Tan(<nAngle>)->nTangent TanH(<nRadians>)->nHyperbolicTangent TBMouse(<oTBrowse>,<nMouseRow>,<nMouseCol>)->nHandled Throw(<oError>)->Nil Time()->cTimeString TimeToSec([<cTime>])->nSeconds TimeValid(<cTime>)->lIsTimeString Token(<cString>,[<cDelimiter>],[<nTokenPos>],[<nSkipWidth>],[@<cPreTokenSep>],[@<cPostTokenSep>])->cToken TokenAt([<lNextDelimiter>],[<nCount>],[@<cTokenEnv>])->nPosition TokenEnd([@<cTokenEnv>])->lTokenEnd TokenExit()->lSuccess TokenInit([@<cString>],[<cDelimiter>],[<nSkipWidth>],[@<cTokenEnv>])->lSuccess TokenLower(<cString>,[<cDelimiter>],[<nTokenPos>],[<nSkipWidth>])->cResult TokenLower(<cString>,[<cDelimiter>],[<nTokenPos>],[<nSkipWidth>])->cResult TokenNext([@]<cString>,[<nTokenPos>],[@<cTokenEnv>])->cToken Tokennum([<@cTokenEnv>])->nTokenCount TokenSep([<lRightSeparator>])->cSeparator Tone(<nFrequency>,<nDuration>)->Nil TraceLog(<xVariables,...>)->lTrue Transform(<exp>,<cSayPicture>)->cFormatString Trim(<cString>)->cTrimString TrueName(<cPath>)->cRoot TtoC(<dDateTime>)->cDateTimeString TtoS(<dDateTime>)->cYYYYMMDDhhmmss.ccc Type(<cExp>)->cType U2bin(<nNumber>)->cInteger UnCompressString(<cBuffer>,<nSize>)->cUncompressBuffer UnSelected()->cNull UpDated()->lChange Upper(<cString>)->cUpperString Used()->lDfbOpen Val(<cNumber>)->nNumber ValPos(<cString>,[<nPos>])->nValue ValToPrg(<xValue>)->cPRGcode ValToPrgExp(<xValue>)->cMacroExpression ValType(<exp>)->cType Version()->cVersion VolSerial([<cDrive>])->nVolumeSerial Volume(<cVolumeName>)->lSuccess W2Bin(<nNumber>)->cInteger Wild2RegEx(<cWildCard>,[<lCaseSensitive>])->cRegEx WildMatch(<cPattern>,<cString>,[<lFullMatch>])->lFound WMSetPos(<nRow>,<nCol>)->Nil WoM([<dDate>])->nWeekOfMonth Word(<nNumber>)->Nil WordOne(<cWordList>,<cString>)->cResult WordOnly(<cWordList>,<cString>)->cResult WordRem(<cWordList>,<cString>)->cResult WordRepl(<cWordList>,<cString>,<cReplace,[<lSkipWords>])->cResult WordSwap(<cString>,[<lSwapBytes>])->cResult WordToChar(<cWordList>,<cString>,<cCharList>)->cResult WOY(<dDate>,<lIso>)->nWeek WSetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible XtoC(<xValue>)->cValue Year(<dDate>)->nYear[/quote:2ksbaylr]Carlos, gracias. Impresionante!! Saludos Ruben Dario Fernandez Gracias y saludos cordiales. Rubén Dario Fernández Fwh 16.08 - Bcc 7.2 - Synwrite
funciones de comunicaciones...
en fwh 2.7 funcionan ya las funciones de comunicaciones? xHarbour Compiler build 0.99.51 fwh 2.7 diciembre/2005 Gracias.
funciones de comunicaciones...
Por los resultados comentados por usuarios como Enrico, si funcionan correctamente.
funciones de comunicaciones...
pero con la version de diciembre o con la actual? gracias.
funciones de comunicaciones...
Con FWH 2.7 actual (Julio 2006).
funciones en c
estimados: donde estan las listas de las funciones tales como hb_retni() que se utilizan en c? es para verlas otra cosa: MessageBox(0, "Se comienza la ejecución ", "Atención...", MB_OK); si quiero que donde dice "se comienza la ejecución" aparezca la cantidad de parametros pasados a la funcion cómo tengo que hacer? gracias.
funciones en c
[quote="goosfancito":3ac0eb0j]estimados: donde estan las listas de las funciones tales como hb_retni() que se utilizan en c? es para verlas ^quote] Estan documentadas en el manual de Clipper, busca "Sistema Extendido", si no tienes los manuales de Clipper puedes utilizar las guias Norton, ahi vienen tambien o en su defecto date una vuelta por <!-- w --><a class="postlink" href="http://www.xharbour.info">www.xharbour.info</a><!-- w -->. [quote="goosfancito":3ac0eb0j] MessageBox(0, "Se comienza la ejecución ", "Atención...", MB_OK); si quiero que donde dice "se comienza la ejecución" aparezca la cantidad de parametros pasados a la funcion cómo tengo que hacer? gracias.[/quote:3ac0eb0j][/quote:3ac0eb0j] A que funcion te refieres ? ah MessageBox ???, si es asi, eso no se puede saber hasta que llegas la funcion MssageBox y luego con la funcion PCOUNT()
funciones en c
AMigo: Supongamos esta función: HB_FUNC ( REQUERIR ){ MessageBox(0, XXXX, "Atención...", MB_OK); } -------------------------- Entonces: quiero que donde puse XXXX pueda mostrar la cantidad de parámetros se paso a la fucion REQUERIR Espero haberme hecho entender. gracias --------------------- [quote="RF":31i5tndy][quote="goosfancito":31i5tndy]estimados: donde estan las listas de las funciones tales como hb_retni() que se utilizan en c? es para verlas ^quote] Estan documentadas en el manual de Clipper, busca "Sistema Extendido", si no tienes los manuales de Clipper puedes utilizar las guias Norton, ahi vienen tambien o en su defecto date una vuelta por <!-- w --><a class="postlink" href="http://www.xharbour.info">www.xharbour.info</a><!-- w -->. [quote="goosfancito":31i5tndy] MessageBox(0, "Se comienza la ejecución ", "Atención...", MB_OK); si quiero que donde dice "se comienza la ejecución" aparezca la cantidad de parametros pasados a la funcion cómo tengo que hacer? gracias.[/quote:31i5tndy] A que funcion te refieres ? ah MessageBox ???, si es asi, eso no se puede saber hasta que llegas la funcion MssageBox y luego con la funcion PCOUNT()[/quote:31i5tndy][/quote:31i5tndy]
funciones en xharbour llamadas desde C
Amigos, Se puede hacer que una funcion creada en xHarbour pueda ser llamada desde un programa creado en C? [code:17qn0ryq]HB_FUNC&#40; MIFUNCION &#41;&#123; // llamada a funcion que está en xHarbour &#125;[/code:17qn0ryq]
funciones en xharbour llamadas desde C
Gustavo, Si, se puede perfectamente llamar a funciones en PRG desde C, pero siguiendo una serie de reglas, ya que el stack de la máquina virtual no es el stack de C. Este es un ejemplo de como llamar a PRG desde C: [code:73sx90hb] #include <hbvm&#46;h> hb_vmPushSymbol&#40; hb_dynsymGet&#40; "MIFUNCION" &#41;->pSymbol &#41;; hb_vmPushNil&#40;&#41;; hb_vmPushString&#40; "hola", strlen&#40; "hola" &#41; &#41;; // pasamos un parámetro hb_vmFunction&#40; 1 &#41;; // 1 parámetro pasado [/code:73sx90hb]
funciones en xharbour llamadas desde C
Antonio, Gracias, voy a probarlo ahora, porque esto va acarriado a otra pregunta que puse en foro sobre CEM, digamos que la aplicacion en harbour llama a una de C, y esa funcion C tiene que leer una DBF, tonces, haria una funcion en harbour para leer esa DBF y simplemente desde el codigo C llamo a esta. Me explique?
funciones en xharbour llamadas desde C
Antonio, Esa parte de codigo, va en mi PRG? [code:3v92kdig] #include <hbvm&#46;h> hb_vmPushSymbol&#40; hb_dynsymGet&#40; "MIFUNCION" &#41;->pSymbol &#41;; hb_vmPushNil&#40;&#41;; hb_vmPushString&#40; "hola", strlen&#40; "hola" &#41; &#41;; // pasamos un parámetro hb_vmFunction&#40; 1 &#41;; // 1 parámetro pasado [/code:3v92kdig] donde puedo buscar mas info sobre estos comandos?
funciones inkey() y __Keyboard() de clipper
Hola Amigos: Tengo en muchos procesos usando las funciones Inkey() de clipper y __Keyboard(CHR(5)+CHR(13)), con que fueron reemplazadas esas funciones en fivewin porque me tiran error interno 5333.
funciones inkey() y __Keyboard() de clipper
Leonor, No puedes usar Inkey(). Si nos explicas lo que quieres hacer podemos darte una idea de cómo hacerlo.
funciones inkey() y __Keyboard() de clipper
[quote="Antonio Linares":1s2bojf6]Leonor, No puedes usar Inkey(). Si nos explicas lo que quieres hacer podemos darte una idea de cómo hacerlo.[/quote:1s2bojf6] Hasta ahora se esta utilizando cuando hay un proceso largo como listar una cuenta corriente y se quiere cancelar la operacion en medio del proceso con la tecla escape. Con que función puedo realizar esa operación. Gracias. Leonor
funciones inkey() y __Keyboard() de clipper
IF GetaSyncKey( VK_ESCAPE ) .AND. MsgYesNo("Salir?" ) EXIT ENDIF Pedro Gonzalez
funciones inkey() y __Keyboard() de clipper
Leonor, Estas poniendo los mensajes en el Foro inglés. ¿Porque no lo pones en el foro en español? Un saludo.
funciones para carpetas?
saludos amigos, existira alguna funcion que me devuelva la fecha y hora de un directorio, he probado con filetime y filedate pero estas me devuelven la fecha y hora actual, me imagino la devuelve asi porque trata de encontrar es un archivo y obviamete no existe tal pq es una carpeta gracias de antemano
funciones para carpetas?
Hola, Ya probaste con Directory() Saludos
funciones para carpetas?
hola, si lo acabo de hacer pero no muestra carpetas, solo archivos
funciones para carpetas?
Saludos Directory( cFolder + '\*.*', 'D' ) // la "D" es para incluir directorios
funciones para carpetas?
ah, ese si sirvio, ya manipulare la hora y la fecha, agradecido a ambos y a la virgen del valle
funciones para carpetas?
[quote="Daniel Garcia-Gil":c8xyfqm0]Directory( cFolder + '\*.*', 'D' ) // la "D" es para incluir directorios[/quote:c8xyfqm0] Y ademas: "H" es para ficheros ocultos. "S" ficheros de sistema. "V" etiquetas de volumen del DOS.