Jump to content

NunoBorges

Active Members
  • Posts

    41
  • Joined

  • Last visited

NunoBorges's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Viva, I needed to know what the notifications, and their order in the design and manipulation of the ListView. And as I think is not the only one to have the same need, here I share all the notices that found for the ListView. The most difficult to find were: $ -12 NM_CustomDraw $ -16 NM_Releasedcapture hug Nuno _GUICtrlListView_Create_2.au3
  2. Thanks, I tried but had not found, but should always have been in the Help. Thanks
  3. Viva, Is there any pre_build structure for to use on wm_notify - $LVN_GETDISPINFOW, $LVN_GETDISPINFOA: $tInfo = DllStructCreate("hwnd hwndfrom;int idfrom;int code;" & _ "uint mask;int item;int subitem;uint state;uint statemask;ptr text;int textmax;int image;dword lparam;int;uint[5]", $ilParam) Nuno
  4. Thanks I'm going to try $LVN_GETDISPINFOW, and do a lot more research on -12. Thanks
  5. Viva, I think the WM_NOTIFY messages to follow a convention, but. Does anyone know what the values ​​represent, -12 and -177, in a ListView notification. Sincerely. Steps to show on console: Click on a item, or after that use up/down movement key. test.au3
  6. Melba23 Viva, This example is already quite good, I'll try to add the control keys ({UP} {Down}) ({LEFT} {Right}) and {TAB}, and I think that will be completed. I think I also need to use something like "_GUICtrlListView_Click SUB Item" / "_GUICtrlListView_Set SUB ItemFocused." Too bad the listview have this limitation, but go ahead. I'll start now, but there should only be ready for Christmas. On the issue of variable row height placed at # 1, I think it is best to use "GUICtrlListView_EnableGroupView." hugs Nuno
  7. Thanks Thanks, I'll have to think of an alternative. But I will also continue looking at the msdn. friendly hug Nuno
  8. ListView Variable.au3 Sorry, Here are my example.
  9. Viva, Is there a way to have on a listview: - ListView Line variable height. - Showing navigation through subitems in a ListView. Best regards #include <GUIConstantsEx.au3> ;#include <GUIListViewEx_20110824.au3>; by Melba23 #include <GUIListView.au3> #include <WindowsConstants.au3> Global $Font="MS Sans Serif" #Region ### START Koda GUI section ### Form=C:\AutoIt NDB Kit\Disk_Information\- NDBDiskInfo\ListView_Linha variável.kxf $Form1 = GUICreate("Form1", 443, 177, 192, 124) $ListView1 = GUICtrlCreateListView("Col1|Col2", 16, 16, 409, 145, BitOR($LVS_ICON,$LVS_NOSORTHEADER,$LVS_SINGLESEL), BitOR($WS_EX_CLIENTEDGE,$LVS_EX_GRIDLINES)) ;$LBS_OWNERDRAWVARIABLE=0x00000020 ;_GUICtrlListView_SetView($ListView1, 4) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 200) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 200) GUICtrlSetFont(-1, 10, 400, 2, $Font) $ListView1_0 = GUICtrlCreateListViewItem("Col1_Lin1|Col2_Lin1 Col2_Lin2 Col2_Lin3 Col2_Lin4", $ListView1) $ListView1_1 = GUICtrlCreateListViewItem("Col1_Lin2|Col2_Lin2", $ListView1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Form1 Case $ListView1 EndSwitch WEnd
  10. Viva, Excuse me for not having addressed the issue of Robocopy, it was for the RichE, and put the question to think that for what it is in principle to use xcopy, robocopy can bring you the most advantages. hug
  11. Viva, For testing, I think it would be useful hast a version without requiring installation, and perhaps without upx. Based on your post # 13, and the default options: steps: 1 - Source: C: \ windows 2 - Destination C: \ Program exits. another: - Browse to Destination - In the window of choice, cancel Program exits. PS: Do you know cmd Robocopy? Best regards
  12. Viva, You're completely right! The only thing I can do is ask my apologies for this inattention. Your request will be honored only misjudged, it would not be a limitation of the UDF. Thanks for the clarification hug
  13. Viva, If you replace the line 39 of LVEx_Example_1.au3 for example, _GUICtrlListView_SetExtendedListViewStyle ($ HListView_Right, LVS_EX_FULLROWSELECT $, $ LVS_EX_DOUBLEBUFFER) The $LVS_EX_FULLROWSELECT, ceases to have effect. Is this the normal behavior of $ LVS_EX_DOUBLEBUFFER? hug
  14. Viva, Thank you for providing this GUI for xcopy. The interface is nice and functional. Pause WORKS !!! When testing the v2 version with all the default options found the following, which I think is of interest best, I think. - When selecting the destination, it does not check whether the destination has enough space. (DriveSpaceFree ("path")) - When copying to a destination out of space, the program ends stating that the copy was successful, I think be worth checking the return of xcopy. (_ProcessExitCode ($ Pid)) - While running a task, options must be disabled. - While running, if you close the window xcopy, the program reports that the job went well. When i get a chance I will see the code, and it may be that you will notice some possible improvements. Again, Thanks for sharing Sincerely Nuno Borges
  15. Viva, Thanks for the help, works perfectly. I was really screwed up. Hug. PS: Detective Nuno really needs one or more weekend off.
×
×
  • Create New...