Search found 918 matches

by reinaldocrespo
Sun Feb 05, 2006 1:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: RichtText Class
Replies: 2
Views: 775

RichtText Class

Hi. I see the function RESetTextColor( ::hWnd, nRGB ) being used to color selected text. I also see : RESetCharFormat( ::hWnd, ::oFont:cFaceName, ; ::oFont:nHeight * FNT_HEIGHT, nColor, ; ::oFont:nCharSet, ; ::oFont:nPitchFamily, ; ::oFont:nWeight, ; ::oFont:lItalic, ; ::oFont:lUnderline, ; ::oFont:...
by reinaldocrespo
Thu Feb 02, 2006 8:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: report to excel or dbf
Replies: 0
Views: 416

report to excel or dbf

hi.

Has any body writen code so that treport class generates either a dbf or a xls file of the same report being generated?

Reinaldo.
by reinaldocrespo
Thu Feb 02, 2006 7:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 STATIC FUNCTION...
Replies: 5
Views: 1262

Antonio;

You are right. I tested a new file with your code and it did compile. So I went back to my offending file in the project and searched for #defines that might be obstructing. And, indeed, I found it.

#define _DLL_CH


Sorry.

Thank you for the help.


Reinaldo.
by reinaldocrespo
Thu Feb 02, 2006 7:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 STATIC FUNCTION...
Replies: 5
Views: 1262

Enrico;

Thank you for your reply.

Added the line #include "dll.ch" at the top of the file, but I still get the exact same errors.


Reinaldo.
by reinaldocrespo
Thu Feb 02, 2006 7:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 STATIC FUNCTION...
Replies: 5
Views: 1262

DLL32 STATIC FUNCTION...

Hi. I can't see why when trying to compile these three lines below I get the errors I show further down: DLL32 STATIC FUNCTION GetMenu( hwnd AS LONG ) AS LONG PASCAL LIB "USER32" DLL32 STATIC FUNCTION GetMenuInfo( hMenu AS LONG, cMenuInfo AS LPSTR) AS LONG PASCAL FROM "GetMenuInfo&quo...
by reinaldocrespo
Fri Jan 27, 2006 8:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Vagner; Buena explicación. Listo. Cuando compilo con clipapi.h recibo varios errores como estos: Error E2238 F:\BORLAND\BCC55\INCLUDE\ClipApi.h 38: Multiple declaration for 'WOR D' Error E2344 F:\BORLAND\BCC55\INCLUDE\windef.h 145: Earlier declaration of 'WORD' Error E2238 F:\BORLAND\BCC55\INCLUDE\C...
by reinaldocrespo
Fri Jan 27, 2006 3:17 pm
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Vagner;

No sé como usarla.

La compilo con BCC32?

La incluyo en uno de mis .prgs entre #pragma BEGINDUMP y #pragma ENDDUMP?

Intenté ambas y recibo muchos errores.

Mi intención es lograr hacer un "gradient" en dialogos y en buttonbar objects.

Gracias,

Reinaldo.
by reinaldocrespo
Fri Jan 27, 2006 1:17 pm
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Paco / Antonio; He podido incorporar la función, pero no me hace nada. Tal vez no la uso de manera correcta. Abajo un ejemplo de la forma en que la estoy usando. DEFINE SBUTTONBAR oBar OF oChildWnd SIZE 40, 40 Degrada( oBar:hDC, { 0, 0, oBar:nHeight, oBar:nWidth }, CLR_WHITE, nClr1, .t. ) El resulta...
by reinaldocrespo
Fri Jan 27, 2006 1:31 am
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Antonio;

Parece que hoy has estado bastante ocupado. Asi que gracias por responder tan pronto.

Saludos,


Reinaldo.
by reinaldocrespo
Fri Jan 27, 2006 1:19 am
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Antonio; Hola. Gracias por tu respuesta. Pues no veo que diferencia podria hacer, pero hice como me dices. Y misteriosamente (para mi), ya no existe ese problema. Ahora tengo los errors que te muestro a continuacion: Warning W8004 ..\\shared\\shared.prg 2772: 'nRight' is assigned a value that is nev...
by reinaldocrespo
Thu Jan 26, 2006 11:10 pm
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Paco; Gracias por tu respuesta. Incluí la función al fondo de uno de los prgs que componen la aplicación. Recibo el siguiente error: f:\borland\bcc55\bin\bcc32.exe -c -O2 -If:\xharbour_0.99\include;f:\borland\bcc55\include -o\mp\patients\shared.obj \mp\patients\shared.xhrb Borland C++ 5.5.1 for Win3...
by reinaldocrespo
Thu Jan 26, 2006 7:12 pm
Forum: FiveWin para Harbour/xHarbour
Topic: LinearGardientBrush
Replies: 23
Views: 7543

Me gustaria usar la function en c que sugiere Paco para lograr el efecto. Como le hago para compilarla e integrarla a mis aplicaciones?

Gracias.

Reinaldo Crespo
by reinaldocrespo
Wed Jan 25, 2006 4:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: streching timage control in dialog
Replies: 4
Views: 1157

and window type popup.
by reinaldocrespo
Wed Jan 25, 2006 4:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: streching timage control in dialog
Replies: 4
Views: 1157

I suppose that the properties defined on the resource editor.

On this particular dialog I have the following checked:

system menu
thick frame
maximize box
modal frame
visible
by reinaldocrespo
Wed Jan 25, 2006 4:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: streching timage control in dialog
Replies: 4
Views: 1157

I found this to work:


odlg:bResized := { ||ResizeImage( odlg, oImage ) }

...

Static function ResizeImage( odlg, oImage )
oImage:Move( 0,0, odlg:nWidth(), odlg:nHeight() )
oImage:refresh()
return nil