Autor Tema: ucListViewEx 2.5 + clsIconList [UPDATED]  (Leído 26465 veces)

0 Usuarios y 1 Visitante están viendo este tema.

YAcosta

  • Moderador Global
  • Exabyte
  • *****
  • Mensajes: 2853
  • Reputación: +160/-38
  • Daddy de Qüentas y QüeryFull
    • Ver Perfil
    • Personal
Re:ucListViewEx 2.5 + clsIconList [UPDATED]
« Respuesta #90 en: Julio 26, 2011, 04:45:37 am »
ah ok, thanks, I see
Me encuentras en YAcosta.com

YAcosta

  • Moderador Global
  • Exabyte
  • *****
  • Mensajes: 2853
  • Reputación: +160/-38
  • Daddy de Qüentas y QüeryFull
    • Ver Perfil
    • Personal
Re:ucListViewEx 2.5 + clsIconList [UPDATED]
« Respuesta #91 en: Julio 26, 2011, 05:11:01 am »
Thank you for responding.
Bass.dll y Tags.dll
not in the file: project_audica_0.6.0_src.zip

You may have to create it, il see

thanks

Go to http://winandfx.narod.ru/ to download the full bibrary:

http://winandfx.narod.ru/data/project_audica_0.6.0_bin_full.zip

Thank you very much for responding. Already down and it works perfect, I read the code to see more or less

sorry dont speak english. use google
Me encuentras en YAcosta.com

ADONAIRAFA

  • Gigabyte
  • ****
  • Mensajes: 291
  • Reputación: +37/-1
  • Que bien se siente al terminar un programa !!!
    • Ver Perfil
Re:ucListViewEx 2.5 + clsIconList [UPDATED]
« Respuesta #92 en: Julio 26, 2011, 06:02:12 am »
Greetings to all! :)

Estimated Ivan, I am pleasantly surprised :o by this forum, I can see and even writing in English dominates ! (don't worry about, it's a joke Je, Je ;D)

Ahora así como algunos tienen la amabilidad (en el caso tuyo Yvan) de escribir en otro idioma, los demás (los del "otro idioma") deberían seguir el ejemplo también, es solo por una cortesía !!! Sin ánimo de querer molestar a nadie que pudiese sentirse aludido (por si acaso).

Saludos.
Manuel F. Borrego S. 8)
Barcelona, Edo. Anzoátegui. Venezuela.
Hay dos tipos de personas: Los que siguen un camino... y los que hacen camino al avanzar !!!

Jen

  • Kilobyte
  • **
  • Mensajes: 54
  • Reputación: +2/-0
    • Ver Perfil
Re:ucListViewEx 2.5 + clsIconList [UPDATED]
« Respuesta #93 en: Julio 26, 2011, 07:04:03 am »
Why LVN_LINKCLICK notification can't trigger?

ElseIf (uNMH.hwndFrom = m_hListView) Then
      Select Case uNMH.code
                Case LVN_LINKCLICK
                 MsgBox "Triggered"

Código: [Seleccionar]
'In Demo form
ucListview1.GroupTask(1)= "Group 1 Task"

'In uc
Public Property Let GroupTask(ByVal GroupID As Long, Text As String)

Dim tGRP As LVGROUPW
Dim lR    As Long

    If m_hListView Then
            With tGRP
                .cbSize = Len(tGRP)
                .Mask = LVGF_TASK
                .pszTask = StrPtr(Text)
                .iGroupId = GroupID
            End With
            lR = SendMessageLong(m_hListView, LVM_SETGROUPINFO, GroupID, VarPtr(tGRP))
    End If

End Property


I saw an article named" CListCtrl and Grouping Rows" on codepage.com ( http://www.codeproject.com/KB/list/CListCtrl_Grouping.aspx). He also use LVN_LINKCLICK notification to detect a Link clicked.

#include "stdafx.h"
#include "CListCtrl_Category_Groups.h"

#include <shlwapi.h>
#include "Resource.h"
//#include "ListCtrl_Category_GroupsDef.h"

BEGIN_MESSAGE_MAP(CListCtrl_Category_Groups, CListCtrl)
   ON_WM_CONTEXTMENU()   // OnContextMenu
   ON_WM_LBUTTONDBLCLK()
   ON_NOTIFY_REFLECT_EX(LVN_COLUMNCLICK, OnHeaderClick)   // Column Click
#if _WIN32_WINNT >= 0x0600
   ON_NOTIFY_REFLECT_EX(LVN_LINKCLICK, OnGroupTaskClick)   
#endif
END_MESSAGE_MAP()

BOOL CListCtrl_Category_Groups::OnGroupTaskClick(NMHDR* pNMHDR, LRESULT* pResult)
{
#if _WIN32_WINNT >= 0x0600
   NMLVLINK* pLinkInfo = (NMLVLINK*)pNMHDR;
   int nGroupId = pLinkInfo->iSubItem;
   CheckEntireGroup(nGroupId, true);
#endif
   return FALSE;
}

Follow up on 26/7/2011:
Still failed to find the way to resolve this issue. Subclass doesn't issue LVN_LINKCLICK notification at all. I saw someone complained the same problem on VB.NET: http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/c4caf1ac-94b8-4d32-92aa-aec1cdcd9171

Edited on 26/7/2011 19:00:
    I see.
    LVN_LINKCLICK  notification was inhibited by WM_LBUTTONDOWN message if we bypassed the def procedure.
    Case WM_LBUTTONDOWN
       If GroupHeaderHitTest then bHandled = True

« última modificación: Julio 26, 2011, 11:57:47 am por Jen »

Jen

  • Kilobyte
  • **
  • Mensajes: 54
  • Reputación: +2/-0
    • Ver Perfil
Re:ucListViewEx 2.5 + clsIconList [UPDATED]
« Respuesta #94 en: Agosto 01, 2011, 11:22:17 am »
Bugs:
  When Group is enabled and ViewMode is SmallIcon, if ItemText is too long, e.g. 20,some items disappear while mouse moveMove on.

sergeos

  • Bit
  • Mensajes: 1
  • Reputación: +0/-0
    • Ver Perfil
Re:ucListViewEx 2.5 + clsIconList [UPDATED]
« Respuesta #95 en: Septiembre 27, 2019, 02:42:19 pm »
I beg your pardon!
Guys, can someone have an instance of user control?
Unfortunately, the link that points to this copy:
http://www.convivea.com/download/ucListView2.5.2011.6.22.chip.rar
from this page: http://leandroascierto.com/foro/index.php?topic=731.msg5216#msg5216
is no longer valid.

AxioUK

  • Megabyte
  • ***
  • Mensajes: 108
  • Reputación: +17/-1
  • Modulos GSL
    • Ver Perfil

_____________________________
Sé un poco de todo y mucho de nada... ;)