FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Scroll xBrowse
Posts: 148
Joined: Tue Mar 20, 2007 03:13 PM
Scroll xBrowse
Posted: Mon Mar 10, 2025 12:53 PM

Hello, good morning!

I would like to know if it is possible to increase the width of the vertical scroll bar in xBrowse and also its color.

Thank you in advance!

Oliveiros Junior

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Scroll xBrowse
Posted: Mon Mar 10, 2025 01:33 PM

Prueba así:

MoveWindow( oBrw:oVScroll:hWnd, oBrw:nWidth - 30, 0, 30, oBrw:nHeight, .T. )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 148
Joined: Tue Mar 20, 2007 03:13 PM
Re: Scroll xBrowse
Posted: Mon Mar 10, 2025 03:13 PM

Olá Antônio,

Está dizendo que o método hwnd não é exportado.

Error description: Error BASE/1004 No exported method: HWND

Att.,

Junior

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Scroll xBrowse
Posted: Mon Mar 10, 2025 06:21 PM

No se puede ya que la barra de scroll la dibuja Windows por el estilo WS_VSCROLL

Tendrias que implementar el dibujado propio de la barra de scroll y eso es bastante complicado ( WM_NCCALCSIZE y WM_NCPAINT )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 148
Joined: Tue Mar 20, 2007 03:13 PM
Re: Scroll xBrowse
Posted: Mon Mar 10, 2025 06:29 PM

Obrigado Antônio.

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Scroll xBrowse
Posted: Mon Mar 10, 2025 09:40 PM

Search for GetSystemMetrics windows function

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion