Jump to content

Recommended Posts

  • Moderators
Posted

DrJohn,

  Quote

But I think (as it was explained to me) once having put your ListView under control of GUIListViewEx, anything you do that changes its contents must use a GUIListViewEx function

Expand  

Exactly. Looking for a job as an advisor on the UDF?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • 1 month later...
Posted

Greetings to all,

In my code I have a WM_NOTIFY handler, can anyone explain or give any  example to show me , How to use this UDF with existing WM_NOTIFY handler?

 

 

Posted

Detailed explanation is provided at the end of the first page and at the beginning of the second page within the RTF document included in the zip file.  Also zip contains an exact example of what you are looking for.

  • Moderators
Posted

Nine,

Thank you for that - i could not have put it better myself.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • 3 weeks later...
Posted

Hi @Melba23,

I see in GLVEx_Example_1.au3 if I try to show Left array I can't see first checkbox status:

I tried to look into the code but couldn't find a solution.

Thanks,

Marco

P.s. I would also have another cb in other column. I tried to play with 1) Subitem checkboxes.au3 and tried to merge it into your code but GUIRegisterMsg( $WM_NOTIFY, "WM_NOTIFY" ) interferes with _GUIListViewEx_MsgRegister() so I can't manage both.

Is it doable?

Thanks,

Marco

 

SS_2345.jpg

  • Moderators
Posted

marko001,

I see the problem - thanks for reporting it. I have a lot of house guests at the moment but when I have a moment I will look into it. Luckily I think I have a good idea of what might be causing it so I hope it will not be too difficult to fix.

You can easily run your own WM_NOTIFY handler - you just need to call _GUIListViewEx_WM_NOTIFY_Handler at the end of your handler code and make sure the returned value from that function is returned to AutoIt when leaving your handler.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Moderators
Posted

marko001,

Just to keep you updated. I have fixed the problem you found - the problem was exactly as I thought it might be and was a simple fix.

But while fixing it, the tests showed that there is a bigger problem with reading the checkbox state in certain cases when using the 15.3 Beta code and we are investigating further. Further news when available.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • 3 weeks later...
Posted

@Melba23 thanks for keeping me updated, I was in holiday so I just read it now. 

Do you suggest to hold until you fix the status reading? Right now I'm satisfied using a simple column with 1/0 but oviously checkbox is nicer.

Thanks,

Marco

  • Moderators
Posted

marko001,

I hope you enjoyed your holiday and no quarantine was needed on your return.

We have fixed the problem for the next Beta, but if you want to use your script until that is released (which might be a while) I suggest continuing as you are.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted
  On 9/8/2020 at 6:10 PM, Melba23 said:

marko001,

I hope you enjoyed your holiday and no quarantine was needed on your return.

We have fixed the problem for the next Beta, but if you want to use your script until that is released (which might be a while) I suggest continuing as you are.

M23

Expand  

I just stayed in Italy, so no problems, thanks bro!

  • Moderators
Posted

maniootek,

Thanks for that - and I have not forgotten your other thread.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Moderators
Posted

[BUGFIX VERSION] - 15 Sep 20

Fixed:  A bug in the _ReturnArray function when returning checked items.

Note: The current Beta (15.3) has a bug which prevents AutoIt from correctly reading ListView checkboxes. It has been fixed for the next Beta but please use the production release if this is a required functionality of your script.

New zip in the first post of the thread.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • 1 month later...
Posted (edited)
  On 8/13/2020 at 2:20 PM, marko001 said:

SS_2345.jpg

Expand  

@maniootek

In what sense is this not enough?

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Is that some kind of issue that I was able to select Mary 6, 8 and Row 11 ?

image.png.3f8ec353c03bc1840e13f14b70baf79b.png

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted

mLipok,

I cannot make single-cell selections in that ListView in my copy of that example script. How did you manage to do so?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted
  On 11/4/2020 at 8:34 PM, Melba23 said:

How did you manage to do so?

Expand  

I have 6 sense.... in finding bugs and isues ;)

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 2 weeks later...
Posted (edited)

@Melba23 Wow this Editable ListView is nice.  I created a WM_NOTIFY function before finding this listview that handles double click events for three columns. 

Now I might have 2 options and your opinion.

1) Leave my WM_NOTIFY alone which doesn't touch column 2 and figure out how to just let your listview handle double click edit for column 2 cells

2) Use your built in WM_NOTIFY with your nice listview double click edit for column 2 but not sure how to assign my own actions to columns 0,1,3. I want to call a function that can after i can get the clicked row,col using your method. 😕

Any ideas.  The samples you provided doesn't seem to show me how to enable a double click on a particular column to for example create a msgbox with row,col

Edited by NassauSky

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...