Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Listview Bug and Feature
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Listview Bug and Feature

 Post Reply Post Reply
Author
Message
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Topic: Listview Bug and Feature
    Posted: 03 August 2011 at 8:33am
Hi,

We started to move to the CJ controls, and when we reach to the ListView, we found two things:

1) BUG: the listview keeps flickering when updates fast, I mean, we have a list view that show Forex Market Watch, and the prices are moving rapidly, in this case, the list view keeps flickering and show as unstable behavior.

2) Missing Feature: The ListViewItem don't have the height property, which is very important for our case, where we develop a way to move a listitem from place to place using the OLEDragDrop, and the calculation need the ListViewItem.Height, and this property can't be found..

Please update.

Thanks.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2011 at 9:08am
Hello,
 
Perhaps you can use .LockRedraw property to avoid flickering.
 
Others missing events for ListView Control: OLEDragDrop, OLEDragOver to drag drop files onto the control.
 
Thanks if you can add them. Wink
 
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2011 at 10:20am
Well, LockRedraw will LOCK the redraw of the component, which means I will not see any updates on the components!
It must not be used in anyway..

Thanks for your help anyway, I hope that we can find a solution for this case.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2011 at 10:51am
Well, before modifying the ListView with a lot of new lines which can flicker the control, you set :
 
.LockRedraw=True
add the new lines
.LockRedraw=False
 
The Control is refreshing only one time.
 
Of course, the property is always set to False at the end.
  
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2011 at 10:59am
Adding the lines is not the case, the case that it keeps flickering while refreshing the prices in the market watch (list view), since there is a lot of prices, the listview will be shown as flickering, while the original one was not like this.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2011 at 8:31am
I tried to LockRedraw the listview before start the update and then unlock it, but it is the same results, the listview is flickering too much..

Any help?
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2011 at 8:34am
dentor, those events is there in the 15.0.1 version, I can use them normally...

try to update your CodeJock version so you will get them

Regards,
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2011 at 9:05am
I normally don't recommend using the LockWindowUpdate Api, but you could try that one as a workaround.
 
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2011 at 11:21am
Hi Willowmaster,

thanks for your link, i think that this is similar to LockRedraw Property in the ListView control by CJ, but i give it a try with no use too,, it is flickering tooo much when updating it many times, while the original listview by MS is not doing this.. and this is not acceptable to be published in our application.

Is there any solution for this? or maybe to update the CodeJock Controls to the latest version?

I hope that some one of the staff reply to this.

Regards.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2011 at 7:55am
Hi,

Is there any update here :)

can any one help on this.

thanks
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2011 at 2:53am
Hello,

Please send email to support with sample that show that "unstable behavior." 
thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2011 at 3:01am
Hi Oleg,

Thanks for the reply.

I will prepare a sample of code to replicate this case.

will send it to support soon.

Thanks.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2011 at 10:19am
Can you post the sample here too? I'm curious of what you meant exactly.
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2011 at 6:32am
Hi,
You can download the Listview sample from this link:
http://www.hybrid-solutions.com/lvwflicker.zip

After deep investigation, it seems that coloring the ListSubItem in the Codejock listview causing this flickering, because while I was making the sample, i was doing it step by step to know where the leak is... and I found that the flicker start just after I changed the forecolor of the listsubitems.

The sample contain both MS Listview and CJ Listview, press on the button on the top to change the sample...

Notice the First Column (Name), where the name will flicker in CJ LVW and not in MS LVW.

(Make sure you have CJ 15.0.1).

Thank in advance.

P.S.: Email sent to support@codejock.com too)
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2011 at 6:34am
Plus, is there any update regarding the Height for the ListViewItem?

Since I can't rearrange the listitems using the OLEDragDrop now, since we use the ListItem.Height in order to know where we drop the item..

Thanks
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.211 seconds.