Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. why WTL ListViewCtrl's LVN_GETDISPINFO notification is not getting fired?

why WTL ListViewCtrl's LVN_GETDISPINFO notification is not getting fired?

Scheduled Pinned Locked Moved ATL / WTL / STL
csharpc++comtoolshelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ram Murthi
    wrote on last edited by
    #1

    why WTL ListViewCtrl's LVN_GETDISPINFO notification is not getting fired? i am a WTL beginner i have a WTL SDI framewnd application and a user-defined class, which is inherited from WTL CListViewCtrl to create a virtual listview control, will act as view class of the application i've set the(LVS_OWNERDATA) style for it. i've also read the following thread <WTL: Reflect notifications to a control> http://www.codeproject.com/script/Forums/View.aspx?fid=4486&msg=468889 my problem is somehow different listview is wrapped by a WTL::CSplitterWindow class then the splitter is added to MainFrame window, acutally the mainframe window is splitted into two views i have reflected the message in mainframe class and i am processing it in my view class ( which is inherited from WTL CListviewctrl) using REFLECTED_NOTIFY_CODE_HANDLER(LVN_GETDISPINFO,OnGetDispInfoFileList) DEFAULT_REFLECTION_HANDLER() as the above mentioned thread reply says (by MIKE) mainframe message is reflected back ... but i don't know if there is problem in splitterwindow class, which is in between the listview and framewindow ...i don't know how to modify splitterwindow( i suppose not ) because it is pre-written WTL class ... my machine soft config is WIN XP-SP2 DOTNET 2005 enterprise ed. latest PSDK IE 6 anyone if you know, could you tell me why :confused: Thanks in advance. RAM *********

    R P 2 Replies Last reply
    0
    • R Ram Murthi

      why WTL ListViewCtrl's LVN_GETDISPINFO notification is not getting fired? i am a WTL beginner i have a WTL SDI framewnd application and a user-defined class, which is inherited from WTL CListViewCtrl to create a virtual listview control, will act as view class of the application i've set the(LVS_OWNERDATA) style for it. i've also read the following thread <WTL: Reflect notifications to a control> http://www.codeproject.com/script/Forums/View.aspx?fid=4486&msg=468889 my problem is somehow different listview is wrapped by a WTL::CSplitterWindow class then the splitter is added to MainFrame window, acutally the mainframe window is splitted into two views i have reflected the message in mainframe class and i am processing it in my view class ( which is inherited from WTL CListviewctrl) using REFLECTED_NOTIFY_CODE_HANDLER(LVN_GETDISPINFO,OnGetDispInfoFileList) DEFAULT_REFLECTION_HANDLER() as the above mentioned thread reply says (by MIKE) mainframe message is reflected back ... but i don't know if there is problem in splitterwindow class, which is in between the listview and framewindow ...i don't know how to modify splitterwindow( i suppose not ) because it is pre-written WTL class ... my machine soft config is WIN XP-SP2 DOTNET 2005 enterprise ed. latest PSDK IE 6 anyone if you know, could you tell me why :confused: Thanks in advance. RAM *********

      R Offline
      R Offline
      Ram Murthi
      wrote on last edited by
      #2

      problem is fixed !!! As microsoft says, notification messages of child window is posted to parent window here, my parent windows is a splitter so it needs a message feeder in order to convey all messages to top level window. adding the following thing in the splitterwnd sets a pullstop to the problem.. FORWARED_MESSAGES() RAM ** i've never seen a wand it gives anything ** ** i am never going to deny it after seeing CP **

      1 Reply Last reply
      0
      • R Ram Murthi

        why WTL ListViewCtrl's LVN_GETDISPINFO notification is not getting fired? i am a WTL beginner i have a WTL SDI framewnd application and a user-defined class, which is inherited from WTL CListViewCtrl to create a virtual listview control, will act as view class of the application i've set the(LVS_OWNERDATA) style for it. i've also read the following thread <WTL: Reflect notifications to a control> http://www.codeproject.com/script/Forums/View.aspx?fid=4486&msg=468889 my problem is somehow different listview is wrapped by a WTL::CSplitterWindow class then the splitter is added to MainFrame window, acutally the mainframe window is splitted into two views i have reflected the message in mainframe class and i am processing it in my view class ( which is inherited from WTL CListviewctrl) using REFLECTED_NOTIFY_CODE_HANDLER(LVN_GETDISPINFO,OnGetDispInfoFileList) DEFAULT_REFLECTION_HANDLER() as the above mentioned thread reply says (by MIKE) mainframe message is reflected back ... but i don't know if there is problem in splitterwindow class, which is in between the listview and framewindow ...i don't know how to modify splitterwindow( i suppose not ) because it is pre-written WTL class ... my machine soft config is WIN XP-SP2 DOTNET 2005 enterprise ed. latest PSDK IE 6 anyone if you know, could you tell me why :confused: Thanks in advance. RAM *********

        P Offline
        P Offline
        PuttyTree
        wrote on last edited by
        #3

        i got the same problem with you, i don't how to solve it. Anyone could help ?:confused:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups