Search found 1402 matches

by Natter
Sun Sep 27, 2026 12:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Background image?
Replies: 2
Views: 343

Re: Background image?

FiveTech AI, thank you for your help!

by Natter
Sat Sep 26, 2026 8:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Background image?
Replies: 2
Views: 343

Background image?

Hi !

here is an old example called xbwaterm.prg. In it, the image is set as the background of xBrowse and changes its size depending on the window size.
aImage := oWnd:ReadImage( "c:\fwh\bitmaps\pngs\2.png", , .t. )
WITH OBJECT oBrw
:lTransparent := .t.

:bPaintBack := < |Self|
FillRect( ::hDC ...
by Natter
Sun Jul 19, 2026 5:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Recursive calls
Replies: 8
Views: 2670

Re: Recursive calls

Found ! My timer program makes HTTP requests to the startup .php checks the availability of Bitrix24. At night, Bitrix24 "fell asleep", and the timeout was too short oHttp:setTimeouts(800, 600, 1000, 2000). The program crashed with the message " Too many recurrent calls ". I increased the timeout ...
by Natter
Sun Jul 19, 2026 1:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Recursive calls
Replies: 8
Views: 2670

Re: Recursive calls

I do not know which part of the code causes the message "Too many recursive calls". The one I suspect doesn't have a WHILE_ENDDO loop. Maybe it is possible to intercept the event that triggers the message "Too many recursive calls" ?

by Natter
Sun Jul 19, 2026 8:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: Recursive calls
Replies: 8
Views: 2670

Re: Recursive calls

  1. What exactly should be included in BEGIN SEQUENCE - RECOVERY - END SEQUENCE ? In the program, the timer makes an Http request, but there are no recursive calls.
  2. I don't think that modifying errsysw.prg will solve this problem. I use SetErrorDialog(), but in this case error.log is not created.
by Natter
Sun Jul 19, 2026 7:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: Recursive calls
Replies: 8
Views: 2670

Recursive calls

Hi,

If I leave my program running overnight, an error message like "Too many recursive calls" will appear in the morning.
The error.log file is not being created. Is it possible to find out where that critical recursive call is happening in the program?

by Natter
Wed May 20, 2026 7:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: datatime
Replies: 3
Views: 1392

Re: datatime

Thanks, I get it!

by Natter
Tue May 19, 2026 12:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: datatime
Replies: 3
Views: 1392

datatime

There are 2 variables of the datatime() type. How can I get the difference between them (if I subtract one from the other, I get some kind of incomprehensible number)

by Natter
Thu May 14, 2026 6:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple icons/buttons in a cell
Replies: 35
Views: 5560

Re: Multiple icons/buttons in a cell

I got it, thanks!

by Natter
Thu May 14, 2026 7:36 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple icons/buttons in a cell
Replies: 35
Views: 5560

Re: Multiple icons/buttons in a cell

There are 3 icons (48x48) in the xBrowse cell. Is it possible to change the cursor type when hovering over any of these icons?

https://cloud.mail.ru/public/8JMM/W3jwcMRkJ

by Natter
Fri May 01, 2026 4:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple icons/buttons in a cell
Replies: 35
Views: 5560

Re: Multiple icons/buttons in a cell

Thanks, I'll try.

by Natter
Fri May 01, 2026 3:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple icons/buttons in a cell
Replies: 35
Views: 5560

Re: Multiple icons/buttons in a cell

Yes, it works with BMP format, thank you!

GDIP_FROMRESOURCE( hRes, "p_s1", 10, .T. ) ->0

hBMP:=GDIP_FROMRESOURCE( hRes, "b_s1" ) -> 0x24320
valtype(hBMP)->P Do I need to convert this value to decimal in order to use it in PalBMPDraw() ?

by Natter
Fri May 01, 2026 2:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple icons/buttons in a cell
Replies: 35
Views: 5560

Re: Multiple icons/buttons in a cell

I need to get a handle icon from a resource. However, this cannot be done. Here is a simple example
#include "FiveWin.ch"

function Main
local hRes:=GetResources()

? "p_s1", LoadBitmap(hRes, "p_s1"), FindResource(hRes, "p_s1", 10)
? "p_s2", LoadBitmap(hRes, "p_s2"), FindResource(hRes, "p_s2", 10 ...
by Natter
Thu Apr 30, 2026 8:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple icons/buttons in a cell
Replies: 35
Views: 5560

Re: Multiple icons/buttons in a cell

Sorry, I didn't understand anything! :(
What does the DLL have to do with it ? We are talking about png images (40x40).In the file. I need to show these pictures in the xBrowse cell.