Search found 102 matches: readbitmap

Return to advanced search

Re: compile error

... a problem when I show the listbox not show nitmaps on nlevel field and it not show color of the listbox local aHBitMaps:=Array( 5 ) aHBitMaps:= { ReadBitmap( 0, CurDir() +"\Level1.bmp" ), ; // BitMaps de 14 x 32 ReadBitmap( 0, CurDir() +"\Level2.bmp" ), ; ReadBitmap( 0, CurDir() ...
by Silvio
Wed May 06, 2009 8:27 pm
 
Forum: FiveWin for Pocket PC
Topic: compile error
Replies: 6
Views: 1411

Re: Adjust a Bmp to a xBrowse-Cell-Grid ?

... Screen for a test ( size 50 x 50 ). hBitmap = FILoadImg( AllTrim( "Test.jpg" ) ) if Upper( cFileExt( cFile ) ) = "BMP" return ReadBitmap( 0, cFile ) endif 67 nFormat = FIGETFILETYPE( cFile, 0 ) Application =========== Path and name: D:\_TEST\testxbrw.exe (32 bits) Size: 1,779,712 ...
by ukoenig
Mon Mar 09, 2009 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Adjust a Bmp to a xBrowse-Cell-Grid ?
Replies: 8
Views: 1721

Re: checkbox en columna de un listbox

... en una variable son: 1. Desde recursos: local hBmp := LoadBitmap( GetResources(), cBmpResName ) 2. Desde un fichero BMP externo: local hBmp := ReadBitmap( 0, cBmpFileName ) En FWPPC\samples\Tutor10.prg tienes un ejemplo de ReadBitmap()
by Antonio Linares
Fri Feb 06, 2009 10:19 pm
 
Forum: FiveWin para Pocket PC
Topic: checkbox en columna de un listbox
Replies: 4
Views: 685

how to make listbox smaller

#include "Fivewin.ch" FUNCTION MAIN() LOCAL oDlg, oBrw LOCAL hBmp1 := READBITMAP( 0, "SELECT.BMP" ) LOCAL hBmp2 := READBITMAP( 0, "UNSELECT.BMP" ) USE TEST DEFINE DIALOG oDlg SIZE 400, 300 @ 0, 0 LISTBOX oBrw FIELDS FIELD -> last,; FIELD -> first,; IF( ...
by acwoo
Thu Nov 13, 2008 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to make listbox smaller
Replies: 3
Views: 717

... a AygShell. Tendras que conseguir quitar todas las referencias a ella: function CeSetmenu() ; return nil function GetMenu() ; return nil function ReadBitmap() ; return nil function PalBmpRead() ; return nil
by Vikthor
Thu Oct 09, 2008 3:32 pm
 
Forum: FiveWin para Pocket PC
Topic: Symbol MC3000
Replies: 35
Views: 12801

... a AygShell. Tendras que conseguir quitar todas las referencias a ella: function CeSetmenu() ; return nil function GetMenu() ; return nil function ReadBitmap() ; return nil function PalBmpRead() ; return nil
by Antonio Linares
Thu Oct 09, 2008 2:02 pm
 
Forum: FiveWin para Pocket PC
Topic: Symbol MC3000
Replies: 35
Views: 12801

Bitmaps

Hello to all hBmp := { ReadBitmap( 0, oPub:wPathBmp + "ABERTO.BMP" ),; ReadBitmap( 0, oPub:wPathBmp + "BAIXADO.BMP" ),; ReadBitmap( 0, oPub:wPathBmp + "DEVOLV.BMP" ),; ReadBitmap( 0, oPub:wPathBmp + "PENDE.BMP" ) } Which of the classes ...
by marca
Fri Sep 26, 2008 10:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmaps
Replies: 2
Views: 575

Preview of Rec-Selector

... I tested BMP ( 15 x 15 with a red circle ) Is there a special format to be used ? It looks a bit funny. oBmp5 := ReadBitmap( 0, BRSELECT2 ) // the Bitmap oLbx0:hBmpRecSel( oBmp5 ) http://www.pflegeplus.com/pictures/setting8.jpg i don't know why, ...
by ukoenig
Wed Aug 27, 2008 4:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem in xBrowse with => oBrw:nRecSelColor
Replies: 4
Views: 871

dbarrio,

hBmp:=ReadBitmap(0, "C:\bitmap.bmp")
nHig=nBmpHeight(hBmp)
nWid=nBmpWidth(hBmp)
oWord:AddImagen( 1, 1, 1+nCol, 1+nHig, nWid, "C:\bitmap.bmp", {1,1,1,1,1,1})

Saludos, Euclides
by Euclides
Wed Aug 27, 2008 1:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imagen con tword
Replies: 6
Views: 1026

Bitmaps

BITMAPS -------------------------------------------------------------------------------- It is easy to use a bitmap in a listbox. Local Lbx2Bmp := {ReadBitMap(0,"Leeg.Bmp"),; ReadBitMap(0,"Gevuld.Bmp") } This can be used in a listbox. At this way the program directory contains a lot of files. If ...
by Antonio Linares
Wed Aug 27, 2008 7:34 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65960

... yet. We plan to provide it soon. Regarding the message bar, you have to provide a function that returns a bitmap handle (use LoadBitmap() or ReadBitmap()). Just replace this function with your own in source\classes\msgbar.prg: hBmp = MsgBar2007( ::hDC ) whatever bitmap you return there, it ...
by Antonio Linares
Thu Aug 21, 2008 12:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color change l2007!
Replies: 4
Views: 919

Re: Bitmap sizes

Euclides wrote:Hi to all!
It there a way to get the bitmap sizes (width & height) read by ReadBitmap() function ?
TIA & Regards, Euclides


nBmpWidth( hBmp )
nBmpHeight( hBmp )

Source: \fwh\source\function\fwbmp.c
by nageswaragunupudi
Wed Aug 13, 2008 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap sizes
Replies: 3
Views: 735

Bitmap sizes

Hi to all!
It there a way to get the bitmap sizes (width & height) read by ReadBitmap() function ?
TIA & Regards, Euclides
by Euclides
Wed Aug 13, 2008 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap sizes
Replies: 3
Views: 735

Lisa, Estas usando un browse. No debes llamar a ReadBitmap() desde cada línea, pues estas creando muchísimos handles a bitmaps y consumes mucha memoria GDI. Lo más sencillo es hacerlo asi: @ 4.5, 1 LISTBOX oLbx FIELDS aFile[ oLbx:nAt ...
by Antonio Linares
Mon Jul 21, 2008 11:22 am
 
Forum: All products support
Topic: adordd
Replies: 7
Views: 2190

Listbox

... SIZE 0,-12 DEFINE DIALOG oDlg FROM 3, 3 TO 38,125 TITLE "Presenze" @ 4.5, 1 LISTBOX oLbx FIELDS aFile[ oLbx:nAt ][ 1 ],; aFile[ oLbx:nAt ][ 2 ],; ReadBitmap( 0, ColoraPresenze(aFile[ oLbx:nAt ][ 3 ])),; ReadBitmap( 0, ColoraPresenze(aFile[ oLbx:nAt ][ 4 ])),; ReadBitmap( 0, ColoraPresenze(aFile[ ...
by Lisa Giordano
Mon Jul 21, 2008 10:50 am
 
Forum: All products support
Topic: adordd
Replies: 7
Views: 2190
PreviousNext

Return to advanced search