Here is the map.bmp file: https://dropmefiles.com.ua/ru/QwWY #include "FiveWin.ch"procedure Mainlocal siz:={575,659}private oFrg DEFINE DIALOG oFrg FROM 0,0 TO siz[1], siz[2] PIXEL ; STYLE nOR(WS_POPUP, WS_BORDER) AC...
Natter wrote:Hi, 1. When viewing .bmp in Windows the polygon frame has turned black 2. When opening .bmp in TBitmap or Timage the polygon frame turns white
That means the color used for the border is an alpha color/ transparent color. We need the boundary in RGB color to use floodfill
karinha wrote:What is wrong? Show with a picture please.
He did not say there is anything wrong with the code. He also sent "map.bmp". You can download and view the image. His problem is floodfill. We need to help him with that issue, which includes the issue of the color of the rectangle border.'
What is wrong? Show with a picture please. #Include "FiveWin.ch"STATIC oDlgFUNCTION Main() LOCAL aGrad LOCAL Siz := { 600, 800 } aGrad := { { 0.30, CLR_WHITE, CLR_WHITE },{ 0.50, CLR_WHITE, CLR_WHITE } }&nb...
Here is the map.bmp file: https://dropmefiles.com.ua/ru/QwWY #include "FiveWin.ch"procedure Mainlocal siz:={575,659}private oFrg DEFINE DIALOG oFrg FROM 0,0 TO siz[1], siz[2] PIXEL ; STYLE nOR(WS_POPUP, WS_BORDER) ACT...
... the polygon frame has turned black 2. When opening .bmp in TBitmap or Timage the polygon frame turns white How can I use floodfill() in this situation if the border color is not clear.
I am building Harbour 64 bits this way: Remove the rem here to have full Harbour activity: set HB_TR_LEVEL=debug go.bat (run this from c:\harbour) call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64set HB_COMPILER=msvc64set HB_BUILD_...
This example generates info.log and uses dbwin32. Please have dbwin32 running before calling go.bat go.bat call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_x64set HB_TR_LEVEL=debugset HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUGset HB_TR_SYSOUT=y...
https://github.com/harbour/core/blob/master/doc/tracing.txt INTRODUCTION ============ This file explains how to enable tracing in Harbour. TRACING ======= Harbour implements tracing by adding calls to the following macro in the C code: HB_TRACE( level, ( "printf-style parameters&qu...
Joao, Ejecutas primero dbwin32.exe, luego defines esa variable de entorno y ejecutas tu EXE > ¿cómo llamo internamente dentro del programa para invocar DBWIN32.exe? set HB_TR_SYSOUT=yes tienes que tener esa variable de entorno definida y Harbour se encarga del resto Harbour tiene que haber sido c...
No és posible, no funciona! Que hago mal? //-> \SAMPLES\TESTE.PRG#Include "FiveWin.ch"#define HB_TR_ALWAYS 0#define HB_TR_FATAL 1#define HB_TR_ERROR 2#define HB_TR_WARNING  ...