Sacar las barras scroll de listbox

Post Reply
dobfivewin
Posts: 325
Joined: Sun Feb 03, 2008 11:04 pm
Location: Argetnina

Sacar las barras scroll de listbox

Post by dobfivewin »

Estimados

Como era para eliminar la barra Horizontal de un ListBox :oops:

gracias


David
Francisco Horta
Posts: 845
Joined: Sun Oct 09, 2005 5:36 pm
Location: la laguna, mexico.

Re: Sacar las barras scroll de listbox

Post by Francisco Horta »

David,
Prueba poniendo en el window style del control "0x50A10000" te deja unicamente barra vertical
saludos
paco
____________________
Paco
dobfivewin
Posts: 325
Joined: Sun Feb 03, 2008 11:04 pm
Location: Argetnina

Re: Sacar las barras scroll de listbox

Post by dobfivewin »

:shock: :?: :oops:
dobfivewin
Posts: 325
Joined: Sun Feb 03, 2008 11:04 pm
Location: Argetnina

Re: Sacar las barras scroll de listbox

Post by dobfivewin »

Buscando en este FABULOSOS FORO....

Code: Select all

nStyle := nOr( WS_CHILD, WS_VSCROLL, WS_BORDER, WS_VISIBLE, WS_TABSTOP)

// en dialogo
oLbx:nStyle := nStyle
// en window
#define GWL_STYLE -16
SetWindowLong( oLbx:hWnd, GWL_STYLE, nStyle )
Gracias

David
User avatar
JavierVital
Posts: 105
Joined: Thu Feb 26, 2009 4:08 pm
Contact:

Re: Sacar las barras scroll de listbox

Post by JavierVital »

Si es para TXBrowse

En Pelles
windows styles 0x50A10000

Solo asi lo quite el Horz. y el vertical si lo tiene.

Saludos.
Post Reply