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#
  4. Listview control flckering in .NET 2.0

Listview control flckering in .NET 2.0

Scheduled Pinned Locked Moved C#
helpquestioncsharpdotnetcom
2 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.
  • P Offline
    P Offline
    pliu_2000
    wrote on last edited by
    #1

    Hi, I have an urgent issue with an activeX control I have written in .NET 1.1 based on the listview. When I run the control on .NET 2.0 there is very bad flickering whereas on .NET 1.1 there isn't any. I am updating the listview asynchronously using BeginUpdate/EndUpdate along with a separate class that gets the data in a separate thread. The listview is then updated using the BeginInvoke approach. I have dissassembled the .NET 2.0 listview and found that for some reason on every item add it executes a control.invalidate() hence forcing a repaint. Therefore, this leads me to believe that there is no way to avoid the flickering.* Does anyone have any information on this as I am surprised that the listview could be released with this problem?
    Anyway, this also leads me to believe that to resolve my problem is to force the application to use .NET 1.1. However, my control is hosted as an activeX object in IE. Therefore, I cannot just use the IExpore.Exe.config file to force IE to use of .NET 1.1 framework for obvious reasons. Therefore, my second question is.* Is it possible to configure an assembly to use a specific .NET framework version?
    My third question is.* If I am constrained with using an executable (having my own app domain) so that I can use my own config file to force the .NET framework version. Is it possible to host my activeX.exe in IE withing the tags as I am now with my activeX control? I hope you understand my post and hope someone out there can help. Many thanks in advance

    S 1 Reply Last reply
    0
    • P pliu_2000

      Hi, I have an urgent issue with an activeX control I have written in .NET 1.1 based on the listview. When I run the control on .NET 2.0 there is very bad flickering whereas on .NET 1.1 there isn't any. I am updating the listview asynchronously using BeginUpdate/EndUpdate along with a separate class that gets the data in a separate thread. The listview is then updated using the BeginInvoke approach. I have dissassembled the .NET 2.0 listview and found that for some reason on every item add it executes a control.invalidate() hence forcing a repaint. Therefore, this leads me to believe that there is no way to avoid the flickering.* Does anyone have any information on this as I am surprised that the listview could be released with this problem?
      Anyway, this also leads me to believe that to resolve my problem is to force the application to use .NET 1.1. However, my control is hosted as an activeX object in IE. Therefore, I cannot just use the IExpore.Exe.config file to force IE to use of .NET 1.1 framework for obvious reasons. Therefore, my second question is.* Is it possible to configure an assembly to use a specific .NET framework version?
      My third question is.* If I am constrained with using an executable (having my own app domain) so that I can use my own config file to force the .NET framework version. Is it possible to host my activeX.exe in IE withing the tags as I am now with my activeX control? I hope you understand my post and hope someone out there can help. Many thanks in advance

      S Offline
      S Offline
      sharad subedi
      wrote on last edited by
      #2

      I have the similar issue, if had get solution plz post here, I have developed a web application using DevExpress componet. Most of the controls used in the application are DevExpress Component. I use ActiveX object (which also use DevExpress Component to develop it) onside splitter pan. My Problem is when I click any component(image,button, dataGrid Row) to do something/to fire respective event and mouse over on splitter bar then the activeX object kept inside splitter pan is flicker horribly and the flickering stops when mouse out from the component. But when the splitter pan is collapsed and the activeX object is hidden then every click action on the page works fine. What is the problem??? Thanks Sharad Subedi

      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