AutoHotkey Community

It is currently May 27th, 2012, 1:32 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: May 22nd, 2010, 1:38 pm 
Offline

Joined: July 31st, 2008, 10:27 pm
Posts: 336
guest3456 wrote:
guest3456 wrote:
dadepp wrote:
Things to Do:
- Implement an editcontrol to be shown to edit individual cells
- same as above, but with a dropdownbox


has this been implemented? are there any other controls that have done this?

i know i've seen some other IDEs that use these controls, maybe the Visual Basic platform where they use one of these controls which handles all the settings of a particular control or something. i want one of these for my app


for example, this properties box in the image below, you can click the cells and edit them or get a dropdown, etc

http://www.cs.trinity.edu/~thicks/Tutor ... w.ht30.jpg


http://www.autohotkey.com/forum/topic19929.html


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2010, 4:03 pm 
Having problems with displaying colors atfer a Gui window containing a colored listview is destroyed and recreated. Anyone have a solution for this?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2010, 9:14 pm 
Offline

Joined: June 12th, 2008, 1:48 am
Posts: 27
First off I'm sorry it took me this long to reply, but I was otherwise preoccupied and the notification mail got lost/spammfiltered or i simply overlooked it. (that and I must admit, I kinda forgot about LVA :oops: ).

Then the problems:

ApertureLabs wrote:
The problem I'm having is that the listview is on a second gui. When you destroy and reopen the Gui, I run into both lagginess and a redrawing problem. Does LVA not handle a destroyed and recreated Listview?

In short: NO. LVA was never intended to handle destruction and recreation of listviews. Everytime a control is created it is assigned a Handle, and this handle is used internally to keep track of which listview is currently redrawing. So everytime it is destroyed the handle changes and thus the previous data is invalid. That might be a reason for the lagginess, but I can't be sure.

majkinetor wrote:
To fix freezing bug you can also try this:

1. Remove subclassing. Put return in lva_Subclass function as first line.
2. Put critical 500, in lva_OnNotify function.

Well since I never encountered this freezing bug, I opted to have the subclassing as standard, an apologize to everyone that encountered this.
I'll upload a new version with critical in it, and subclassing standard off.
But the subclassing is noted in the Docs: Set 3rd parameter of LVA_ListViewAdd (UseFix !) to false.

ribbs2521 wrote:
Is it possible that someone could develop a function to draw a line through the cell to create a strike through look?

This is almost already possible, but has nothing to do with this function. What needs changing is the font part of the current cell. As it stands its a minor change to the code to include a check for the font, but I had/still have trouble parsing the font format, since per windows you are only allowed to change a few properties of the font.

So all in all, I'm sorry it took me this long to respond, but I'll upload a minor bugfix version right away. Edit: Uploaded v1.1
If I get around to it in the next 2-3 weeks, I'll rewrite it from scratch (more or less), and try to include better support for listview destruction and font.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 25th, 2010, 4:28 pm 
dadepp wrote:
In short: NO. LVA was never intended to handle destruction and recreation of listviews. Everytime a control is created it is assigned a Handle, and this handle is used internally to keep track of which listview is currently redrawing. So everytime it is destroyed the handle changes and thus the previous data is invalid. That might be a reason for the lagginess, but I can't be sure.


Is there a way for LVA to discard that handle (possibly to free itself from the lag?), and get the new handle of the new listview?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group