Search found 338 matches: obmp

Return to advanced search

Re: ButtonBmp problem with FWH2402

... "FiveWin.ch"//----------------------------------------------------------------------------//function Main()   local oDlg, oFont, oBmp   FW_SetUnicode( .f. )   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-20   DEFINE DIALOG oDlg RESOURCE "Test" TITLE FWVERSION ...
by richard-service
Thu Mar 07, 2024 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBmp problem with FWH2402
Replies: 25
Views: 5226

Re: Error: FWH2206 Parte1

Carlos, Me parece que este código: IF Len( cJpg := cResToStr( "TSSEM", RT_RCDATA ) ) != 0       oBmp:LoadFromMemory( cJpg )    EndIf deberías ejecutarlo desde el ON INIT del diálogo, ya que antes el control no tiene un handle válido y además, está ...
by csincuir
Fri Feb 09, 2024 7:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error: FWH2206 Parte1
Replies: 30
Views: 981

Re: Error: FWH2206 Parte1

Carlos, Me parece que este código: IF Len( cJpg := cResToStr( "TSSEM", RT_RCDATA ) ) != 0       oBmp:LoadFromMemory( cJpg )    EndIf deberías ejecutarlo desde el ON INIT del diálogo, ya que antes el control no tiene un handle válido ...
by Antonio Linares
Fri Feb 09, 2024 7:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error: FWH2206 Parte1
Replies: 30
Views: 981

Re: Alternar fondo de pantalla BMP segun valor obtenido.

... en que contexto lo haces? Hay un valor que cambia en el transcurso del programa y queres actualizar la imagen? Prueba recargando la imagen con oBmp:LoadImage("bmp2.bmp") #include "FiveWin.ch"function Main()                  ...
by cmsoft
Fri Sep 15, 2023 12:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SOLUCIONADO Alternar fondo de pantalla BMP segun valor
Replies: 4
Views: 202

Re: Parpadeo de Menu COLOR , Ayuda

ACTIVATE WINDOW oWnd MAXIMIZED ;
ON INIT (pASSWORD(),INDEXA1()) ;
ON PAINT DrawBitmap( hDC, oBmp:hBitmap, ;
( oWnd:nHeight() / 2 ) - ( oBmp:nHeight() / 2 ), ;
( oWnd:nWidth() / 2 ) - ( oBmp:nWidth() / 2 ),0,0 );
VALID MsgYesNo(oemtoansi( "¨ Desea Salir ?"),"Salida del Sistema ")
by devwin2010
Tue Oct 18, 2022 7:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Parpadeo de Menu COLOR , Ayuda
Replies: 29
Views: 1873

Re: Bitmap buttons in the RibbonBar

What is oBmp (relative to the button in the RibbonBar) ?
by Natter
Tue Sep 06, 2022 1:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap buttons in the RibbonBar
Replies: 3
Views: 257

Re: design.prg from FW samples

Marc Venken wrote:Thanks.. The ruler works..

The class : I have to explore...

you can use also a tbitmap class and insert that two data
if you see genteport.prg you can show a obmp white and on it the rulers
by Silvio.Falconi
Mon Mar 21, 2022 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: design.prg from FW samples
Replies: 9
Views: 1362

Botones dentro de la ventana principal

... el menú, es esta: https://i.postimg.cc/N0pc6013/buttonsownd.jpg Sé que para poner un logo se usa la función: [code]@ 4, 16 BITMAP oBmp FILENAME CURDRIVE() +":"+"\COMPARTIDO\REGSAT\WINSAT\BITMAPS\LOGOGVA.png" NOBORDER OF oWnd ; ON CLICK( oBmp:lStretch := ! oBmp:lStretch, ...
by Ramón J.
Thu Sep 23, 2021 11:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Botones dentro de la ventana principal
Replies: 3
Views: 466

Re: A slider solution to adjust the color brightness ?

... inside the slider must be the same like inside the image :!: the column-position is a given value Pickvalues := PICK_COLOR( nSlidPos * 22, 8, oBmp ), because the bitmap is painted is that needed :?: ( save and restore ) oBmp:SaveToBmp( "Picker.bmp" ) hBmp := ReadBitmap( 0, "Picker.Bmp" ...
by ukoenig
Fri Jun 04, 2021 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A slider solution to adjust the color brightness ?
Replies: 2
Views: 475

A slider solution to adjust the color brightness ?

... I tested saving and loading the basic-gradientbitmap next using the nrow position from the slider to get the color FUNCTION GETCOLOR( nRow, nCol, oBmp ) LOCAL hDC := CreateCompatibleDC( oBmp:GetDC() ) LOCAL hBmp := ReadBitmap( 0, "Picker.bmp" ) // the basic gradient bmp LOCAL hOldBmp ...
by ukoenig
Thu Jun 03, 2021 7:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A slider solution to adjust the color brightness ?
Replies: 2
Views: 475

Re: Painting alpha blended bmp on windows

There is a function ABPaint( hDC := GetWindowDC( hWnd ), nLeft, nTop, oBmp:hBitmap ) sample testab.prg DEFINE BITMAP oBmp FILENAME "..\bitmaps\AlphaBmp\Trash.bmp" ... ... ACTIVATE WINDOW oWnd ; ON PAINT ABPaint( hDC, 10, 10, oBmp:hBitmap, 220 ) // ...
by ukoenig
Fri Jan 15, 2021 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Painting alpha blended bmp on windows
Replies: 2
Views: 394

change xImage on line

... first problem the image is a ng and is not transparent , why ? https://i.postimg.cc/G3QvRLF3/d.png nRow+=2 @ nRow,180 XIMAGE oBmp ; RESOURCE "CLIP_OFF"; NOBORDER ; SIZE 30,30 PIXEL; OF oFolder:adialogs[1] ; UPDATE oBmp:bRClicked := {||NIL } oBmp:ltransparent:=.t. ...
by Silvio.Falconi
Fri Oct 02, 2020 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change xImage on line
Replies: 0
Views: 388

Re: add fields to existing dbf

The simpliest way to add a new field to an existing dbf is as follows: local cgroep := space( 17 ) local oBrush, oBar, oBmp local cOldBmp := GetProfString( "Desktop", "WallPaper" ) local oPrn, fntArial1, nRow, fntArial2, cName, cLoca, cPost local nRecNo := RecNo() ...
by jds
Thu Jul 23, 2020 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add fields to existing dbf
Replies: 7
Views: 1102

Re: Actualizar en un BMP

... disponibles: [152] "ese numero variará cada 5 minutos" lo que requiero es que se vean de forma "Transparente", como lo hace: oBmp:bPainted = { || SetBkMode( oBmp:hDC, 1 ),; SetTextColor( oBmp:hDC, CLR_BLACK ),; TextOut( oBmp:hDC, 20, 540, "Numero de Clientes:" ) ...
by servicomver
Tue May 12, 2020 2:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar en un BMP
Replies: 3
Views: 460

Actualizar en un BMP

... texto Fijo transparente pero también necesito colocar una variable que deberá actualizarse cada determinado tiempo por ejemplo: @ 5, 5 BITMAP oBmp2 FILENAME "c:\conteo\logo.bmp" SIZE 500, 400 OF oWnd NOBORDER oBmp:bPainted = { || SetBkMode( oBmp:hDC, 1 ),; SetTextColor( oBmp:hDC, ...
by servicomver
Mon May 11, 2020 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar en un BMP
Replies: 3
Views: 460
Next

Return to advanced search