Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - SOLVED: Resizing the helpsection (bug)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Resizing the helpsection (bug)

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Resizing the helpsection (bug)
    Posted: 31 July 2008 at 10:22am
Hi,
 
Yes, I'm back with another "trail" issue
 
I will begin the topic description with REMARK: ...  so that you guys from support don't get that annoyed with my issues. I don't know if this happens because of my PC or something else. If there are users who saw something simular, I would like you to reply on this, please ???. The support team must think I'm nuts (I had a simular issue with resizing the splitter of the grid) , if no one saw this ever... 
 
Note the horizontal dark lines, this happens when dragging the helpsection splitter.
 
 
 
 
Thanks
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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: 01 August 2008 at 3:16am
Traditional question - do you see it with our VB\PropertyGrid  sample ? :)
Seriously, how you do this?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2008 at 4:32am
Hi,
 
I don't see this with your sample. But I can reproduce it with my sample  I'm glad it can be reproduced at all, I know what's causing it but I want you to look at it also. I think it will be the same on your machine
 
So here it is:
 
 
It's a sample for testing issues of RC and added a PropertyGrid control to it (as in the original form I'm working on) I thought it had something to do with the RC updating but it wasn't that.
 
Thanks in advance for looking at it.
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2008 at 7:54am
Hi,
 
The previous uploaded screenshot is while dragging, the next screenshot is after the update of propertygriditems:
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2008 at 6:19am
Hi,
 
Test projects are suppost to be for testing, thats why I call it Test.... and it would nice if you test it yourself and reply with a result.
 
Thanks
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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: 18 August 2008 at 9:44am
Hi,
Its weird, but I don't see problem with test project :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2008 at 9:56am
Hi Oleg,
 
Grrrrr.....
 
You are joking, right? I just downloaded the testproject and started the exe and it appears right away.  
 
 
 
 
I have to find another member who wants to test this, please please please...
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2008 at 8:16pm
I tried the EXE and I can not reproduce it either (yet)...
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2008 at 10:59pm
Strange, I decided to try it again and now I do see the redraw problem exhibited...I can't figure out what I did differently this time!
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2008 at 11:30pm
Okay, so the problem seems to happen during the Timer event when the Value properties of the 2 PropertyGridItems are changed. It seems that the control is not refreshing properly when "interrupted" by the Value property change.

I've thought of a workaround that seems to work in my limited testing...basically, only change the Value property if the left mouse button isn't down. Ugly, but could help until the problem is fixed.

In the General section:

Private Const VK_LBUTTON  As Long = 1

Private Declare Function GetKeyState Lib "user32.dll" (ByVal nVirtKey As Long) As Integer


Then replace wrap your Value changing code with this:

    If GetKeyState(VK_LBUTTON) And -128 = 0 Then
      ' Only change value Left Mouse Button not pressed

      wndPropertyGridFiles.FindItem("Physical memory").Value = PhysicalMemory & " Mb"
      wndPropertyGridFiles.FindItem("Free memory").Value = FreePhysicalMemory & " Mb"
    End If

Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2008 at 12:40am
Hi Jason,
 
Thanks for confirming this is a bug. I also saw it happen with the timer event but I wanted to be sure that a support member would see it. Now it's official  
 
Oleg? Can you try again? Try the resize the help section (slowly) and you will see it.
 
Thanks
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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: 19 August 2008 at 1:39am
Aaron, so if you comment
 
'wndPropertyGridFiles.FindItem("Physical memory").Value = PhysicalMemory & " Mb"
'wndPropertyGridFiles.FindItem("Free memory").Value = FreePhysicalMemory & " Mb"
problem will gone?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2008 at 1:47am
Hi Oleg,
 
Yes it will.
I'm glad you see it too
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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: 19 August 2008 at 2:06am
Hi,
 
ok, at least we found reason. :)
I agree it. and working with fix.
 
Thanks for patient :)
Oleg, Support Team
CODEJOCK SOFTWARE 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.219 seconds.