AutoHotkey Community

It is currently May 26th, 2012, 4:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: June 16th, 2005, 7:28 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I'll try to get back to you when I learn more about icons in ListViews.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 16th, 2005, 7:32 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Here are the changes for v1.0.35.11:

Improved #Include to be able to set a new working directory for subsequent uses of #Include and FileInstall. In addition, #Include is now able to resolve %A_ScriptDir%. [thanks Dmitry]

Improved FileInstall to always get the file from A_ScriptDir vs. A_WorkingDir when no absolute path is specified.

http://www.autohotkey.com/download/

For anyone trying out the ListView control: Submit no longer has any effect for it. Instead, use LV_GetNextItem() as in this example:
Code:
sel = 0  ; This tells the first iteration of LV_GetNextItem to start at the top.
Loop
{
   sel := LV_GetNextItem(sel)  ; To instead get checkbox state, add "c" as a second parameter.
   if not sel
      break
   MsgBox, 4,, Selected item #%A_Index% is at position %sel%. Continue?
   IfMsgBox, NO, break
}


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 19th, 2005, 2:12 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Here are the changes for v1.0.35.12:

Fixed script crash when it overrode a built-in function (new bug in v1.0.35.11). [thanks B_fisher]

Fixed IfExist and FileExist() to work on volume names in "\\?\Volume{...}" format.

Changed popup menus other than TRAY so that they avoid activating the script's main window.

http://www.autohotkey.com/download/

For anyone trying out the ListView control: g-labels have been revised to better support notifications. The subroutine may examine A_GuiControlEvent to see which event occurred. To have the label launched for more types of events than the most common ones, specify AltSubmit in the ListView's options.

Also, a new alpha-test label called GuiContextMenu is available in this version. It it launched whenever the user right-clicks or presses AppsKey or Shift-F10. The new built-in variables A_GuiX and A_GuiY contain the coordinates of where the event occurred. Also, the variable A_EventInfo contains the number of the currently-focused ListView or ListBox item.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 20th, 2005, 1:13 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
For v1.0.35.13: Fixed crash if a compiled script contained certain unusual hotkeys such as "End & a::". [thanks TheLeO]

For anyone trying out the ListView control: Clicking on a column will now sort the rows by that column. There will be more control over sorting in the final version.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 20th, 2005, 10:28 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
For v1.0.35.14: Fixed inability of popup menus to be dismissed via Escape or clicking outside the menu (new bug in v1.0.35.12). [thanks Paulo]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 20th, 2005, 11:33 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
For v1.0.35.15: Improved popup menus to reactivate the previously active window when the menu is dismissed. [thanks thomasl]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 20th, 2005, 6:58 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
For v1.0.35.16:

Fixed inability of #Include to recognize escaped semicolons in compiled scripts.

Improved popup menus to reactivate the previously active window before allowing the menu thread to start. [thanks thomasl]


Top
 Profile  
Reply with quote  
 Post subject: ListView questions
PostPosted: June 24th, 2005, 6:33 am 
Offline

Joined: November 6th, 2004, 11:03 am
Posts: 170
Location: Salt Lake City, UT
Excuse my naiveity, but my curiousity is killing me. (I'm also not to keen on all the MSDN stuff about listviews)

1) is it (will it be) possible to change the contents of a ListView Row after it's been created? Is it even a common programming practice to do that?
2) delete rows (or insert new rows amidst already created ones)
3) use more than one listview control per gui?

The potential is just plain yummy! :wink:


Top
 Profile  
Reply with quote  
 Post subject: Re: ListView questions
PostPosted: June 25th, 2005, 3:01 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
ranomore wrote:
is it (will it be) possible to change the contents of a ListView Row after it's been created?

2) delete rows (or insert new rows amidst already created ones)
Yes, there will be an LV_Modify() and an LV_Delete() function.

Quote:
3) use more than one listview control per gui?
You can already do this, but the current version is missing the upcoming command "Gui, ListView, MyListView", which allows you to switch the ListView upon which all the LV functions will operate. By default, they operate on the most recently added ListView, as does "Gui, Add, Row".

I think you will like the ListView feature. It has built-in sorting, row and column icons, and quite a lot of flexibility. It should be released by Sunday (I know it's far behind the schedule announced earlier).


Top
 Profile  
Reply with quote  
 Post subject: Re: ListView questions
PostPosted: June 27th, 2005, 7:28 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Chris wrote:
I think you will like the ListView feature. It has built-in sorting, row and column icons, and quite a lot of flexibility. It should be released by Sunday (I know it's far behind the schedule announced earlier).


I will like that feature too. Unfortunately you haven't specified which Sunday. :(
Just kidding.

I'm checking the Forum every hour and it feels like when I was a kid and tried to get an early view on the gifts below the christmas tree. :)

Thanks Chris for this great program.

_________________
Ciao
toralf
Image


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot 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