Josber,
Experimentei o "trackSelect" no meu exemplo e funcionou bem.
Código:
"TRACKSELECT - Enables hot-track selection in a list-view control.
Hot track selection means that an item is automatically selected when the cursor remains over the item for a certain period of time.
The delay can be changed from the default system setting with a LVM_SETHOVERTIME message.
This style applies to all styles of list-view control.
You can check whether hot-track selection is enabled by calling SystemParametersInfo" From MSDN.
Esta opção consiste em mudar a posição do rato e parando uns segundos o sistema seleciona a linha automaticamente.
Tem é um comportamento diferente, se usares o "manifest" ou se não usares.
Também o "DOUBLEBUFFER - Version 6.00 and later. Paints via double-buffering, which reduces flicker. This extended style also enables alpha-blended marquee selection on systems where it is supported" From MSDN, acontece o mesmo.
Não é um problema do OCX, são regras das versões do Windows. Desculpem o texto em inglês, mas é do MSDN da Microsoft e explica bem.
Se tiveres mais alguma duvida, diz-me.
Un Saludo
Rui Pinto
---------- Post añadido : 01:46 ---------- Post anterior : 01:27 ----------
Josber,
Só agora reparei que estavas a tentar colocar as setas da ordenação.
Só funciona com o "manifest" o código está no ColumnClick da CMListview.
Nas versões mais antigas do Windows não funciona.
Código COBOL:
IF POW-ARG-COLUMNINDEX = 2 MOVE 2 TO LRPOS.
INVOKE RPSExtListView1 "ShowHeaderIcon" USING WS-HANDLE colNo imgIconNo.
Saludos,
Rui