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. C / C++ / MFC
  4. Explorer View - TimeTaking

Explorer View - TimeTaking

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 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.
  • F Offline
    F Offline
    FarPointer
    wrote on last edited by
    #1

    Hi , I have splitter window with a treeview and a listview (like as in explorer) in which i will be populating the data to be displayed in the listview's initialupdate . The problem is that wen i do a showindow maximize it takes a lot of time to get displayed (due to large data ) which in effect looks bad , is their any way i can reduce this . Regards, FarPointer

    M 1 Reply Last reply
    0
    • F FarPointer

      Hi , I have splitter window with a treeview and a listview (like as in explorer) in which i will be populating the data to be displayed in the listview's initialupdate . The problem is that wen i do a showindow maximize it takes a lot of time to get displayed (due to large data ) which in effect looks bad , is their any way i can reduce this . Regards, FarPointer

      M Offline
      M Offline
      Magnus Westin
      wrote on last edited by
      #2

      For the list view, check LVS_OWNERDATA in MSDN docs. Its a style to make a virtual listview. That could solve your problem. I dont think there is any thing similar for the tree view. Magnus

      F 1 Reply Last reply
      0
      • M Magnus Westin

        For the list view, check LVS_OWNERDATA in MSDN docs. Its a style to make a virtual listview. That could solve your problem. I dont think there is any thing similar for the tree view. Magnus

        F Offline
        F Offline
        FarPointer
        wrote on last edited by
        #3

        Hi , Thanx for your coment but i have moved ahead with my implementatiobn that its not feasible to change it now ,as you might be aware that for this i need to give a LVN_GETDISPINFO handler . I also want to bring to the notice that it takes time only once and that to in the ShowWindow(SW_SHOWMAXIMIZED),afterwards its prety fast due to SetRedraw(FALSE) etc . Regards, FarPointer

        M 1 Reply Last reply
        0
        • F FarPointer

          Hi , Thanx for your coment but i have moved ahead with my implementatiobn that its not feasible to change it now ,as you might be aware that for this i need to give a LVN_GETDISPINFO handler . I also want to bring to the notice that it takes time only once and that to in the ShowWindow(SW_SHOWMAXIMIZED),afterwards its prety fast due to SetRedraw(FALSE) etc . Regards, FarPointer

          M Offline
          M Offline
          Magnus Westin
          wrote on last edited by
          #4

          Well thats the only way I know of speeding up the list control. Except a full owner draw version... but thats an even bigger change :) When are you populating the control.. maybe if you wait with that untill after the call to ShowWindow... might help. Magnus

          F 1 Reply Last reply
          0
          • M Magnus Westin

            Well thats the only way I know of speeding up the list control. Except a full owner draw version... but thats an even bigger change :) When are you populating the control.. maybe if you wait with that untill after the call to ShowWindow... might help. Magnus

            F Offline
            F Offline
            FarPointer
            wrote on last edited by
            #5

            Hi , Anyway i appreciate your suggestion i was not aware of the LVS_OWNERDATA anyway. Regards, FarPointer

            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