Search found 102 matches: readbitmap

Return to advanced search

Re: TFolderEx: How to change the background colour of a tab's pr

... a tab is selected to not appear. Anyone has any solution to that? Also can someone shows the syntax to create a brush from resource instead of ReadBitmap() a file? TIA https://i.postimg.cc/6pV4x69h/folderex2.jpg FUNCTION PaintTab( o, nOption )   LOCAL hBrush, hBmp, nLastRow  ...
by hua
Wed Jan 04, 2023 2:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TFolderEx: How to change the background colour of a tab's pr
Replies: 3
Views: 386

Re: Gluing images

... hDCMem, nWidth, nHeigth ) local hPrev := SelectObject( hDCMem, hBitmap ) local hBmp, hDib now you paint your bitmaps on hDCMem this way: hBmp = ReadBitmap( 0, "name.bmp" ) PalBmpDraw( hDCMem, nRow, nCol, hBmp ) Finally you save it and clean: DibWrite( cFileName, DibFromBitmap( hBitmap ...
by Antonio Linares
Tue Oct 12, 2021 5:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gluing images
Replies: 8
Views: 668

Re: How to fill a xBrowse-cell with a real image-BRUSH ?

I got it working now
format change and the image adjusted to cellsize

hBmp = ReadBitmap( 0, c_path1 + cData )
hBrush = CreatePatternBrush( hBmp )


Image

regards
Uwe
by ukoenig
Sat Jul 17, 2021 5:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill a xBrowse-cell with a real image-BRUSH ?
Replies: 4
Views: 667

Re: A slider solution to adjust the color brightness ?

... nSlidPos * 22, 8, oBmp ), because the bitmap is painted is that needed :?: ( save and restore ) oBmp:SaveToBmp( "Picker.bmp" ) hBmp := ReadBitmap( 0, "Picker.Bmp" ) http://www.service-fivewin.de/images/Slider3.jg #Include "FiveWin.ch"#include "Slider.ch"STATIC ...
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 ?

... 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 := SelectObject( hDC, hBmp ) LOCAL nRGBColor := GetPixel( hDC, nCol, ...
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

Mostrar BMP en XBrowse

... doy en la tecla. el valor para definir el .bmp viene en un campo numerico del dbf ya que puede tomar 3 valores. asi defino los bmp local aBtMs:= { ReadBitmap( 0, "TildeR.bmp" ), ; ReadBitmap( 0, "TildeA.bmp" ), ; ReadBitmap( 0, "TildeV.bmp" ) } y asi intente mostrarlo ...
by José Camilo
Thu Apr 08, 2021 1:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar BMP en XBrowse
Replies: 6
Views: 750

Buenas noches. consulta.

... en un xbrowse. el valor para definirlo esta en un campo numerico pues son 3 posibles valores. Como lo Hago? asi defino los bmp. local aBtMs:= { ReadBitmap( 0, "TildeR.bmp" ), ; // BitMaps de 14 x 32 ReadBitmap( 0, "TildeA.bmp" ), ; ReadBitmap( 0, "TildeV.bmp" ) ...
by José Camilo
Thu Apr 08, 2021 1:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Buenas noches. consulta.
Replies: 4
Views: 544

MsgItem does not use FW_ReadImage

... the icon set from BMP to PNG, and we see that the MsgItem does not load the new images. Looking the code I see that It does not use neither ::ReadBitmap nor FW_ReadBitmap but use ReadBitmap (not method)... I have the 18.01. In our code we use this workaround: if !empty(oMsgBar:aItems[6]:hBitmap1) ...
by AntoninoP
Mon Oct 15, 2018 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MsgItem does not use FW_ReadImage
Replies: 1
Views: 487

Re: add a symbol

... 200, 20, oAllegati, .T., .F., oFontOpenlist, "Apri con...", "Apri con..." ) if File( cBitmap ) oBarOpenWithlist:hBmp = ReadBitmap( 0, cBitmap ) else oBarOpenWithlist:hBmp = LoadBitmap( GetResources(), cBitmap ) endif ACTIVATE DIALOG oAllegati CENTERED return nil
by Silvio.Falconi
Fri Jan 19, 2018 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a symbol
Replies: 10
Views: 1274

Re: add a symbol

... 200, 20, oAllegati, .T., .F., oFontOpenlist, "Apri con...", "Apri con..." ) if File( cBitmap ) oBarOpenWithlist:hBmp = ReadBitmap( 0, cBitmap ) else oBarOpenWithlist:hBmp = LoadBitmap( GetResources(), cBitmap ) endif
by Silvio.Falconi
Tue Jan 16, 2018 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a symbol
Replies: 10
Views: 1274

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: Crear BMP monocromo

... y guardamos su "imagen" anterior: HBITMAP hbmPrev = SelectBitmap( hDcMono, hBmpMono ); 4. Lees el bitmap desde disco: hBitmapColor = ReadBitmap( 0, cFileName ) 5. Creas un hDC para usarlo con el bitmap de color: HDC hDcColor = CreateCompatibleDC( NULL ); 6. Copias el bitmap de color ...
by Antonio Linares
Mon Dec 12, 2016 11:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear BMP monocromo
Replies: 5
Views: 982

Re: Menu (se podrá?)

... ) oMnuItem:bAction := &( fAction ) ENDIF IF FILE( cFileBmp := oGraph:cmnuimgpath + ALLTRIM((cMnuAlias)->FLDFILEBMP) ) oMnuItem:hBitmap:= ReadBitmap( 0, cFileBmp ) ENDIF IF ! EMPTY( cResName := ALLTRIM((cMnuAlias)->FLDRESBMP) ) oMnuItem:hBitmap:= LoadBitmap( GetResources(), cResName ...
by jcenteno
Sun Oct 11, 2015 11:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Menu (se podrá?)
Replies: 11
Views: 2544

Re: ToolTip con Imagen

Paco,

Comprueba que el hBitmap sea correcto:

hBitmap := ReadBitmap( 0, "\video.bmp")
MsgInfo( hBitmap )
SendMessage( hWnd, STM_SETIMAGE, 0, hBitmap )
by Antonio Linares
Thu Jul 23, 2015 6:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ToolTip con Imagen
Replies: 27
Views: 4876

Re: Cargar parte de un BitMap?

... "oBitmapCompleto" oBitmapCompleto:=FiLoadImg('AZ09.BMP') o oBitmapCompleto:=LoadBitmap(GetResources(),'AZ09.BMP') o oBitmapCompleto:=ReadBitmap(0,,'AZ09.BMP') o que funcion?
by noe aburto
Sun Jun 07, 2015 9:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cargar parte de un BitMap?
Replies: 4
Views: 524
Next

Return to advanced search