realkiller Posted April 7, 2008 Share Posted April 7, 2008 i can't remove a computer(entry that i made) expandcollapse popup#include <GuiConstantsEx.au3> #include <GuiListView.au3> Local $exStyles = BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_CHECKBOXES), $hListView GUICreate("Remote 4", 800, 600) $tInfo= GUICtrlCreateInput ( "", 20, 5, 300, 20) $search = GUICtrlCreateButton ("Search", 400, 5, 100) $AddPC = GUICtrlCreateButton ("Add Computer", 400, 40, 100) $removePC = GUICtrlCreateButton ("Remove Computer", 400, 70, 100) $ReverseALL = GUICtrlCreateButton ("Reverse All", 400, 100, 100) $hListView = GUICtrlCreateListView("", 2, 40, 394, 268) _GUICtrlListView_SetExtendedListViewStyle($hListView, $exStyles) GUISetState() _GUICtrlListView_AddColumn($hListView, "Computer Name", 100) _GUICtrlListView_AddColumn($hListView, "Status", 100) GUISetState (@SW_SHOW) While 1 $msg = GUIGetMsg() if $msg = $AddPC Then $pcname=InputBox("Computer Name","Enter here a computer name","UP") _GUICtrlListView_InsertItem ($hListView, $pcname) EndIf if $msg = $removePC Then _GUICtrlListView_DeleteItemsSelected($hListView) EndIf if $msg = $ReverseALL Then _GUICtrlListView_SetItemChecked($hListView, -1) EndIf if $msg = $search Then $iI = _GUICtrlListView_FindItem ($hListView, -1, $tInfo) _GUICtrlListView_EnsureVisible($hListView, $iI) EndIf If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
GaryFrost Posted April 8, 2008 Share Posted April 8, 2008 beta allows the deletion of items created with the UDF's SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
realkiller Posted April 8, 2008 Author Share Posted April 8, 2008 yes i can read the error message that comes with it but witch udf is needed and do you got a example Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now