Search found 34 matches: bmpfromico

Return to advanced search

Re: bmpfromico

Perhaps there is an error on new gdiplus.cpp because if I recompile with it and I use these functions ico := ICON_EXEREAD( cFile, 4 ) GDIBmpFromHIcon( ico, oImagePreview, oImagePreview:Super():nWidth(), oImagePreview:Super():nHeight() ) DestroyIcon( ico ) Function GDIBmpFromHIcon( hIcon , oImagePrev...
by Silvio.Falconi
Mon Jan 08, 2018 9:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: Preview of a file

Manuel, it is possibile insert this preview into a Image control ? I explain do you remmeber the first app I made this week ( bmpfromico) ? I wish when the user select a file it can see the preview or converte it into an image to show on image control GenHPreview( cFile, oDlg ) do you ...
by Silvio.Falconi
Thu Jul 16, 2015 7:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview of a file
Replies: 43
Views: 19903

Re: bmpfromico

I re-write all and now run ok

thanks Manuel!!!!

Image
by Silvio.Falconi
Thu Jul 16, 2015 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

Strange very Strange

the test run ok

When I put the source on my application it not run good but i see the image not clear
by Silvio.Falconi
Thu Jul 16, 2015 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

ok. Silvio ,I would look like with a control image.... in your code change GDIPLUSIMAGEDISPOSE( ogdibmp) to GDIPLUSIMAGEDISPOSE( ogbmp:hbmp) . ----------------edito ------------------------------------- Silvio in your test is placing the image control within the dialogue out of sight . Change to @ 3...
by mastintin
Wed Jul 15, 2015 5:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

               IF lFileImage                         oImagePreview:LoadBmp(cFileImage)                         oImagePrev...
by Silvio.Falconi
Tue Jul 14, 2015 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

1.- silvio put your code for GDIBmpFromHIcon. 2.- The original measure icon is 256 * 256 ICON_EXEREAD function has 2 parameters name file , and Size .. 0->LARGE 32x32 1->SMALL 16x16 2->48x48 3-> These images are the size specified by GetSystemMetrics called with SM_CXSMICON and GetSystem...
by mastintin
Tue Jul 14, 2015 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

First question I coorect GDIPLUSIMAGEDISPOSE( ogdibmp:hbmp) make error Application===========   Path and name: C:\Work\Prg\Allegati\Allegati.Exe (32 bits)   Size: 2,974,720 bytes   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20140725)...
by Silvio.Falconi
Tue Jul 14, 2015 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

2 questions. 1.- look in the function gdiplus.cpp if you have GDIPLUSIMAGEDISPOSE .if not exist add it. HB_FUNC( GDIPLUSIMAGEDISPOSE ){  Bitmap * newImage = ( Bitmap * ) hb_parnl( 1 );   delete newImage;}  change ogdibmp:end() for GDIPLUSIMAGEDIS...
by mastintin
Tue Jul 14, 2015 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

Manuel the test run ok now I rem *ogbmp:end() a problem the test fit the image good I insert the new code into my app and I not found the right resize I use a image control into a Tpanel control ( i tried 64x64 128x128) your test good http://www.eoeo.it/wp-content/uploads/2015/07/test1&#...
by Silvio.Falconi
Tue Jul 14, 2015 2:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

Manuel , now I can compile the test open the test and select a file ( test.pdf) it create the bitmap and make this error Application===========   Path and name: C:\Work\Errori\GDIPLUS\TEST2.Exe (32 bits)   Size: 2,649,088 bytes   Compiler version: xHarbour 1.2.3...
by Silvio.Falconi
Tue Jul 14, 2015 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

Silvio . You have algorithm in c:\bcc582\include\dinkumware ? if you are this file . Add the path c:\bcc582\include\dinkumware -I%bcdir%\include\dinkumware Bcc32.Exe -M -c -O2  -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\Work\fwh...
by mastintin
Tue Jul 14, 2015 7:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

Sorry, I write only now because I have to be in hospital with my mother who is under observation for an illness colon I add the header and it make this error Done.Lines 792, Functions/Procedures 39, pCodes 2855[1]:Bcc32.Exe -M -c -O2  -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MAC...
by Silvio.Falconi
Mon Jul 13, 2015 10:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

I hope your mother gets better. It seems a problem with the headers. You should have declared these cvabeceras in gdiplus.cpp file. #define STRICT#include <windows.h>#include <algorithm>using std::min;using std::max;#include <hbapi.h>#include <windows.h>#include <gdiplus.h...
by mastintin
Sat Jul 11, 2015 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968

Re: bmpfromico

Dear Mastintin, I had problems with my elderly mother and I was in the hospital with her Institute for the time. the return I saw the new sources that you did and I found this evening to compile. But I have problems as you can see Progetto: TEST2, Ambiente: xFive_Pelles:[1]:Harbour.Exe TEST2...
by Silvio.Falconi
Sat Jul 11, 2015 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8968
Next

Return to advanced search

cron