Loading ...
Sorry, an error occurred while loading the content.
 

Re: [wtl] ListView Scroll Question

Expand Messages
  • Mojtaba Fathi
    Hi Maybe you can use two ListView controls besides each other. The first one to include the fixed column and the other one for scrolling columns. Moji ...
    Message 1 of 9 , Nov 25, 2012
      Hi
      Maybe you can use two ListView controls besides each other. The first one to include the fixed column and the other one for scrolling columns.
      Moji

      --- On Thu, 11/15/12, shuaixh@... <shuaixh@...> wrote:

      From: shuaixh@... <shuaixh@...>
      Subject: [wtl] ListView Scroll Question
      To: "wtl@yahoogroups.com" <wtl@yahoogroups.com>
      Date: Thursday, November 15, 2012, 7:21 AM
















       









      I Create a ListView Control With A few Columns, i want the first column to be  a "fixed" column,

      when i pull the horizontal scrollbar, the other columns scroll as usual, while the first column keep still.

      Does anybody have any good ideas ?  

      thanks.



      [Non-text portions of this message have been removed]



























      [Non-text portions of this message have been removed]
    • shuaixh@yahoo.com.cn
      i want to add tooltip to a WTL listview control,  activate the tooltip when the mouse hovers over a cell where the entire text is only partially displayed.
      Message 2 of 9 , Jan 6 2:38 AM
        i want to add tooltip to a WTL listview control,  activate the tooltip when the mouse hovers over a cell where the entire text is only partially displayed.
        does anyone know how to do this, is there any demo projects ??
        thanks.

        [Non-text portions of this message have been removed]
      • Michael Stephenson
        Just set the LVS_EX_LABELTIP extended style on the listview, and make sure your _WIN32_WINNT define is at least 0x0500 in your stdafx.h. Documentation?
        Message 3 of 9 , Jan 6 11:09 AM
          Just set the LVS_EX_LABELTIP extended style on the listview, and make sure
          your _WIN32_WINNT define is at least 0x0500 in your stdafx.h.



          Documentation?



          http://msdn.microsoft.com/en-us/library/windows/desktop/bb774732(v=vs.85).as
          px



          ~Mike



          From: wtl@yahoogroups.com [mailto:wtl@yahoogroups.com] On Behalf Of
          shuaixh@...
          Sent: Sunday, January 06, 2013 5:38 AM
          To: wtl@yahoogroups.com
          Subject: [wtl] WTL LISTVIEW tooltip





          i want to add tooltip to a WTL listview control, activate the tooltip when
          the mouse hovers over a cell where the entire text is only partially
          displayed.
          does anyone know how to do this, is there any demo projects ??
          thanks.

          [Non-text portions of this message have been removed]





          [Non-text portions of this message have been removed]
        • shuaixh@yahoo.com.cn
          normal listview (report mode) did show tooltip when  LVS_EX_LABELTIPis set. but my listview control is in virtual list mode, and is a customdrawn list, i do
          Message 4 of 9 , Jan 8 12:32 AM
            normal listview (report mode) did show tooltip when  LVS_EX_LABELTIPis set.

            but my listview control is in virtual list mode, and is a customdrawn list, i do custom draw in "OnSubItemPrePaint".
            some cell(some column) show text, some show images, ome swith edit control embeded.
            i want those cells who show text to show tooltip when mouse hover over it.



            ________________________________
            发件人: Michael Stephenson <domehead100@...>
            收件人: wtl@yahoogroups.com
            发送日期: 2013年1月7日, 星期一, 3:09 上午
            主题: RE: [wtl] WTL LISTVIEW tooltip


             
            Just set the LVS_EX_LABELTIP extended style on the listview, and make sure
            your _WIN32_WINNT define is at least 0x0500 in your stdafx.h.

            Documentation?

            http://msdn.microsoft.com/en-us/library/windows/desktop/bb774732(v=vs.85).as
            px

            ~Mike

            From: wtl@yahoogroups.com [mailto:wtl@yahoogroups.com] On Behalf Of
            shuaixh@...
            Sent: Sunday, January 06, 2013 5:38 AM
            To: wtl@yahoogroups.com
            Subject: [wtl] WTL LISTVIEW tooltip

            i want to add tooltip to a WTL listview control, activate the tooltip when
            the mouse hovers over a cell where the entire text is only partially
            displayed.
            does anyone know how to do this, is there any demo projects ??
            thanks.

            [Non-text portions of this message have been removed]

            [Non-text portions of this message have been removed]




            [Non-text portions of this message have been removed]
          Your message has been successfully submitted and would be delivered to recipients shortly.