Jump to content

Parent window automatically hiding


Syrin
 Share

Recommended Posts

In the course of making myself an AutoIt program, I've come across this phenomenon, and I have no idea why it happens. I'm trying to make an "options" window, with standard options window behaviour. However, when it closes, the main window immediately loses focus. The only remedy is using WinActivate($main), but sometimes there's a slight flicker, and I find it to be rather unseemly.

Why does this happen, and is there any prettier way of going about this?

#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>

Global $main,$toolsmenu,$options

CreateMainGUI()
CreateOptionsGUI()

While 1
    Sleep(1000)
WEnd

Func CreateMainGUI()
    Opt("GUIOnEventMode",1)
    $main = GUICreate("Example Window",500,300,-1,-1,$WS_TILEDWINDOW)
    GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate")
    $toolsmenu = GUICtrlCreateMenu("Tools")
    GUICtrlCreateMenuItem("Options",$toolsmenu)
    GUICtrlSetOnEvent(-1,"OpenOptions")
    GUISetState(@SW_SHOW)
EndFunc
Func CreateOptionsGUI()
    $options = GUICreate("Options",250,200,-1,-1,BitOR($WS_CAPTION,$WS_SYSMENU),-1,$main)
    GUISetOnEvent($GUI_EVENT_CLOSE, "CloseOptions")
EndFunc
Func OpenOptions()
    GUISetState(@SW_SHOW, $options)
    GUISetState(@SW_DISABLE, $main)
EndFunc
Func CloseOptions()
    GUISetState(@SW_HIDE, $options)
    GUISetState(@SW_ENABLE, $main)
    ;WinActivate($main); <---when this is commented out (like it is currently),
    ;the window loses focus once the options window closes.
EndFunc
Func Terminate()
    Exit 0
EndFunc
Link to comment
Share on other sites

  • Moderators

Syrin,

Welcome to the AutoIt forums. :)

If you re-enable the main GUI before you close the child, the main GUI regains focus as you wish: :P

Func CloseOptions()
    GUISetState(@SW_ENABLE, $main)
    GUISetState(@SW_HIDE, $options)
EndFunc   ;==>CloseOptions

All clear? :)

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:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Well, that solves it - but my curiosity remains. Why would something as seemingly innocuous as the order of these two operations which (I thought) ought to be independent have an effect like this?

Edited by Syrin
Link to comment
Share on other sites

  • Moderators

Syrin,

Ask a Dev in the "Developer Chat" forum if you really want to know - I just know it works! :)

M23

P.S. When you reply please use the "Add Reply" button at the top and bottom of the page rather then the "Reply" button in the post itself. That way you do not get the contents of the previous post quoted in your reply and the whole thread becomes easier to read. :)

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:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • 12 years later...

Hi All.
Sorry to resurrect such an old thread but I have a very similar problem that I can't seem to deal with.

From the main window, I open a second (child) window while blocking (@SW_DISABLE) the main window. From the second window, I open the third window (child for two) while blocking (@SW_DISABLE) the second window.

Closing the third window as suggested by Melba23, I first enable the second window (@SW_ENABLE) and only then close the third window. Until then, it's OK.
But if I close the second window then the main window hides :(

Why ?

Link to comment
Share on other sites

13 hours ago, argumentum said:

...might as well use english. Just set topmost the parent window before closing the child. Then, right after, set it back to normal. That'll set the Z-order the way you need it.

Hi. Thank you for your answer.

Unfortunately your hint does'nt work :(

This is my code:

;Make this script high DPI aware
;AutoIt3Wrapper directive for exe files, DllCall for au3/a3x files
#AutoIt3Wrapper_Res_HiDpi=y
If Not @Compiled Then DllCall("User32.dll", "bool", "SetProcessDPIAware")

#include "ADO.au3"
#include <Array.au3>
#include <GuiComboBox.au3>

; =========================================================== Zmienne globalne ==================================================================
Global $oConnection ; Uchwyt do połączenia z SQL
Global $kolumny ; Tablica z nazwami kolumn
Global $status_oczekujace, $status_wstrzymane, $status_realizowane, $status_zarejestrowane, $status_suma = 0
Global $global_zlecenie_id = Null ; Aktualnie obsługiwane zlecenie (ID)
Global $SQLLoginID = ""
;---

; =============================================================================================================================================== Połączenie z SQL

; Połączenie z bazą SQL
sql_connect()

;================================================================================================================================================ GUI
#include "Forms\GUI.isf" ; Wczytanie GUI
GUISetState(@SW_SHOW, $GUI)
#include "Forms\form_komentarze.isf" ; Wczytanie GUI komentarzy
#include "Forms\form_komentarz_view.isf" ; Wczytanie GUI komentarza

; Wczytanie danych z SQL do ListView
zlecenia_lista()

; Obsługa klikania w ListView
GUIRegisterMsg($WM_NOTIFY, "WM_NOTIFY")

While 1
    $nMsg = GUIGetMsg()

    Switch $nMsg

        Case $GUI_EVENT_CLOSE
            ; Czyszczenie
            $oRecordset = Null
            _ADO_Connection_Close($oConnection)
            $oConnection = Null
            Exit

        Case $bZgloszeniaZamknij
            komentarze_zamknij()

        case $bKomentarzZapisz
            komentarze_zapisz()
            zlecenia_lista() ; odświeżenie listy zlecen

        case $bKomentarz_Pelny_Zamknij
            komentarze_szczegoly_zamknij()

        case $bKomentarz_szczegoly
            komentarz_szczegoly()

    EndSwitch
WEnd

Func lv_action()
    ; Wczytanie danych z ListView do pól w GUI
    ;GUISetState(@SW_LOCK, $GUI); zablokowanie okna w celu eliminacji migotania
    Local $wybor, $status = ""

    ; Pobranie id klikniętego wiersza
    Local $wybor = Int(_GUICtrlListView_GetSelectedIndices($lvListaZlecen, False))
    Local $id = Null

    ; Przepisanie danych z ListView do etykiet

    ; Zgłosił
    GUICtrlSetData($lZglosil, _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 4))
    ;Temat
    GUICtrlSetData($lTemat, _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 3))
    ;Realizujący
    GUICtrlSetData($lRealizujacy, _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 7))
    ;Data zgłoszenia
    GUICtrlSetData($lData, _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 1))
    ;Status
    GUICtrlSetData($lStatus, _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 5))
    ;Czas realizacji
    GUICtrlSetData($lCzas_statusu, _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 8))

    $status = _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 5)


     Switch $status

        Case "Oczekujące"
            GUICtrlSetColor($lStatus, 0xFF9900) ; Pomarańczowy

        Case "Realizowane"
            GUICtrlSetColor($lStatus, 0x339966) ; zielony

        Case "Zarejestrowane"
            GUICtrlSetColor($lStatus, 0xFA6A6A) ; czerwony

        Case "Wstrzymane"
            GUICtrlSetColor($lStatus, 0x7C7C7C) ; szary

        EndSwitch


    ; ---------------------------------------------------------------------------------------------Pobranie parametrów zlecenia

    ; Pobranie ID zlecenia
    $id = _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 9)

    ; Zapytanie SQL zwracające parametry listy zgłoszeń
    Local $aParametry = sql_exec("***")

    ; Pokazanie numeru telefonu
    GUICtrlSetData($lTelefon, zlecenie_parametry($aParametry, "PARAM_TEXT_109"))
    ; Pokazanie nazwy komputera
    GUICtrlSetData($lKomputer, zlecenie_parametry($aParametry, "PARAM_TEXT_108"))

;~ guictrlsetdata($lKom_Komputer, zelecenie_parametry($aParams, "PARAM_TEXT_108")) ; Komputer
;~  guictrlsetdata($lKom_Telefon, zelecenie_parametry($aParams, "PARAM_TEXT_109")) ; Telefon
EndFunc   ;==>lv_action

Func zlecenia_komentarze_zalacznik($id_komentarza)
    ; Pobranie samej nazwy załącznika (1) lub samego załącznika (2)
    Local $aZalacznik, $zalacznik_nazwa, $zalacznik_id = ""
    dim $aZal_data[2]

    $aZalacznik = sql_exec("***" & $id_komentarza)

    ;Sprawdzamy czy SQL zwrócił tablicę. Jeśli tak to pobieramy nazwę załącznika
    If IsArray($aZalacznik) Then
        $aZal_data[0] = $aZalacznik[0][4]
        $aZal_data[1] = $aZalacznik[0][2]
    Else
        $aZal_data[0] = ""
        $aZal_data[1] = ""
    EndIf

    Return $aZal_data
EndFunc   ;==>zlecenia_komentarze_zalacznik

func zalacznik_pobranie()
    Local $id_blob, $wybor = ""
    local $bin, $hfile, $aZalacznik, $line, $path, $nazwa_pliku, $komentarz = ""

    ; Pobranie id klikniętego wiersza
    Local $wybor = Int(_GUICtrlListView_GetSelectedIndices($lv_komentarze, False))

    ; Pobranie ID bloba z wiersza komentarzy
    $id_blob = _GUICtrlListView_GetItemText($lv_komentarze, $wybor, 5)

    if $id_blob <> "" then

        ; Pobranie nazwy z wiersza komentarzy
        $nazwa_pliku = _GUICtrlListView_GetItemText($lv_komentarze, $wybor, 3)

        SplashTextOn("d.mago", "Pobieranie pliku " & $nazwa_pliku & "...", -1, 70, -1, -1, 0, "Tw Cen MT Condensed", 20)

        sleep(1000)
        ;=========================================================================================================== Pobranie i zapis BLOBa
        if $id_blob <> "" then
            ; Wykonanie zapytania SQL pobierającego blob
            $aZalacznik = sql_exec("***" & $id_blob)

            for $n = 0 to UBound($aZalacznik) - 1
                $line &= StringTrimLeft($aZalacznik[$n][0], 2)
            Next

            $path = @TempDir & "\" & $nazwa_pliku

            ;Zapis BLOBa do pliku
            $hFile = FileOpen($path, 26)
            FileWrite($hFile, '0x' & $line)
            FileClose($hFile)
        endif

        ;============================================================================================================

        SplashOff()

        ;Otworzenie pliku
        ShellExecute($path)

        Else
            GUISetState(@SW_DISABLE, $form_komentarze)
            GUISetState(@SW_SHOW, $form_komentarz_view)
            guictrlsetdata($lKomentarz_Pelny, _GUICtrlListView_GetItemText($lv_komentarze, $wybor, 2))
        EndIf
EndFunc

func komentarz_szczegoly()
        GUISetState(@SW_DISABLE, $form_komentarze)
        GUISetState(@SW_SHOW, $form_komentarz_view)

        ; Pobieranie komentarza
        Local $wybor = Int(_GUICtrlListView_GetSelectedIndices($lv_komentarze, False))
        guictrlsetdata($lKomentarz_Pelny, _GUICtrlListView_GetItemText($lv_komentarze, $wybor, 2))
EndFunc

func komentarze_szczegoly_zamknij()
    GUISetState(@SW_ENABLE, $form_komentarze)
    GUISetState(@SW_HIDE, $form_komentarz_view)

EndFunc

func zlecenie_parametry($aTablica, $znacznik)
    local $n, $wynik = ""

;~ PARAM_DATA_90 - 2023-09-15 06:50
;~ PARAM_LIST_97 - DODATKOWA KLAWIATURA
;~ PARAM_LIST_97 - LAPTOP BIUROWY
;~ PARAM_LIST_97 - DODATKOWY MONITOR
;~ PARAM_LIST_98 - DO APLIKACJI ARCHIDEMES
;~ PARAM_LIST_98 - DO PAKIETU OFFICE
;~ PARAM_LIST_98 - DO PROGRAMU SOFTLAB
;~ PARAM_MEMO_99 - Zakup licencji office dla nowego pracownika działu handlowego
;~ PARAM_TEXT_108 - k128
;~ PARAM_TEXT_109 - 608 245 2367
;~ PARAM_TEXT_110 - Zakup licencji Offie
;~ PARAM_TRACKBAR_112 -  2

    for $n=0 to ubound($aTablica) -1
        if $aTablica[$n][3] = $znacznik Then
            $wynik &= $aTablica[$n][4] & ", "
        EndIf
    next
    
    ; Usuniecie przecinka ze spacją na końcu jeśli jest
    if StringRight($wynik, 2) = ", " then
        $wynik = StringTrimRight($wynik, 2)
    EndIf
    
    return $wynik

EndFunc

Func zlecenia_komentarze()
    ;Odczyt danych komentarzy dla wybranego zlecenia z serwera SQL

    ; Zablokowanie okna zleceń
    GUISetState(@SW_DISABLE, $GUI)

    Local $col, $wybor, $id, $cmt, $item, $komentarze, $wiersz, $n, $data, $kom_id, $opis, $zglaszajacy, $nMsg, $aZalacznik, $status = ""
    local $item_num = 0
    Local $aKomentarze = ""
    Local $aParams = ""

    ; Ustawienie statusu zlecenia w combo
    $status = guictrlread($lStatus)
     _GUICtrlComboBox_SelectString($cKomentarze, $status)

     ; Ustawienie koloru combo w zależności od statusu
     Switch $status

        Case "Oczekujące"
            GUICtrlSetColor($cKomentarze, 0xFF9900) ; Pomarańczowy

        Case "Realizowane"
            GUICtrlSetColor($cKomentarze, 0x339966) ; zielony

        Case "Zarejestrowane"
            GUICtrlSetColor($cKomentarze, 0xFA6A6A) ; czerwony

        Case "Wstrzymane"
            GUICtrlSetColor($cKomentarze, 0x000000) ; czarny

        EndSwitch

    ; Pobranie id klikniętego wiersza
    $wybor = Int(_GUICtrlListView_GetSelectedIndices($lvListaZlecen, False))


    ; Pobranie ID zlecenia <-----------------------------------------
    $id = _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 9)
    $global_zlecenie_id = $id ; Ustawienie zmiennej mówiącej o tom, które zlecenie obsługujemy

    ; ============================================================================== Zapytanie SQL zwracające komentarze dla zlecenia
    $aKomentarze = sql_exec("***" & $id & "'")
    ; ============================================================================== Zapytanie SQL zwracające parametry zlecenia
    $aParams =  sql_exec("***" & $id & "'")
    ;consolewrite("ID zlecenia: " & $id & @CRLF)


    ; ================================================================================================================= Uzupełnienie pól okna
        
    guictrlsetdata($lKom_Data, zlecenie_parametry($aParams, "PARAM_DATA_90")) ; Data
    guictrlsetdata($lKom_Komputer, zlecenie_parametry($aParams, "PARAM_TEXT_108")) ; Komputer
    guictrlsetdata($lKom_Telefon, zlecenie_parametry($aParams, "PARAM_TEXT_109")) ; Telefon
    guictrlsetdata($lKom_Opis, zlecenie_parametry($aParams, "PARAM_MEMO_99")) ; Opis
    guictrlsetdata($lkom_zakup, zlecenie_parametry($aParams, "PARAM_LIST_97")) ; Zakup
    guictrlsetdata($lKom_Licencje, zlecenie_parametry($aParams, "PARAM_LIST_98")) ; Licencje

    ; Wyświetlenie okna komentarzy
    GUISetState(@SW_SHOW, $form_komentarze)

    ; ================================================================================================================== Dodanie pozycji do listy komentarzy

    _GUICtrlListView_BeginUpdate($lv_komentarze)
    _GUICtrlListView_DeleteAllItems($lv_komentarze)

    For $wiersz = 0 To UBound($aKomentarze) - 1
        For $col = 0 To UBound($aKomentarze, 2) - 1

            $kom_id = $aKomentarze[$wiersz][0]
            $data = $aKomentarze[$wiersz][2]
            $opis = $aKomentarze[$wiersz][5]
            $zglaszajacy = $aKomentarze[$wiersz][4]

        Next

        ;Pobranie nazwy załącznika konkretnego komentarza i jego id

        $aZalacznik = zlecenia_komentarze_zalacznik($kom_id)

        ; Dodanie pozycji komentarza do listy
        if not stringinstr($opis, "zmiana statusu zgłoszenia") then
            $item = GUICtrlCreateListViewItem(zlecenie_data_godzina_cnv($data) & "|" & $zglaszajacy & "|" & $opis & "|" & $aZalacznik[0] & "|" & $kom_id & "|"& $aZalacznik[1] & "|", $lv_komentarze)
            $item_num += 1
        ;If StringInStr($opis, "zmiana statusu") Then GUICtrlSetColor($item, 0xD6D6D6) ; jasny szary

        ; Kolorujemy co drugi wiersz ListView
            If Mod($item_num, 2) = 0 Then
                GUICtrlSetBkColor($item, 0xF7F7F7)
            EndIf
        endif

    Next
    ; =====================================================================================================================
    ; Ukrycie kolumny z ID komentarza
    _GUICtrlListView_HideColumn($lv_komentarze, 4)

    ; Ukrycie kolumny z ID załącznika
    _GUICtrlListView_HideColumn($lv_komentarze, 5)

    _GUICtrlListView_EndUpdate($lv_komentarze)

    ; Rozszerzenie kolumn aby wygodnie się czytało
    _GUICtrlListView_SetColumnWidth($lv_komentarze, 0, $LVSCW_AUTOSIZE)
    _GUICtrlListView_SetColumnWidth($lv_komentarze, 1, $LVSCW_AUTOSIZE)
    _GUICtrlListView_SetColumnWidth($lv_komentarze, 2, $LVSCW_AUTOSIZE)

    ; Ustawienie tutułu okna - Zgłaszający i data z godziną
    WinSetTitle($form_komentarze, "", "Zgłaszający: " & $aKomentarze[0][4] & " | Data: " & zlecenie_data_godzina_cnv($aKomentarze[0][2]) & " | Status: " &  $status)


EndFunc   ;==>zlecenia_komentarze

func komentarze_zapisz()
    ; ========================================================================================================================= Zmiana statusu zlecenia
    local $status, $c_status,$komentarz, $item = ""

    ;rejected rej do block

    $c_status = guictrlread($cKomentarze, 2)

    switch $c_status

        Case "Realizowane"
            $status = "DO"

        Case "Wstrzymane"
            $status = "SUSPENDED"

        Case "Oczekujące"
            $status = "BLOCK"

        Case "Odrzucone"
            $status = "REJECTED"

        Case "Zrealizowane"
            $status = "DONE"

    EndSwitch

    ; =========================================================================================================================== Zmiana statusu zlecenia

    sql_exec("***")

    ; =========================================================================================================================== Dodanie nowego komentarza

    $komentarz = guictrlread($iNowy_komentarz)
    if $komentarz <> "" then
        sql_exec("***")

        ;$item = GUICtrlCreateListViewItem(zlecenie_data_godzina_cnv($data) & "|" & $zglaszajacy & "|" & $opis & "|" & $aZalacznik[0] & "|" & $kom_id & "|"& $aZalacznik[1] & "|", $lv_komentarze)
    EndIf
EndFunc

Func komentarze_zamknij()
    ; Odblokowanie okna zleceń
    GUISetState(@SW_ENABLE, $GUI)

    WinSetOnTop($GUI, "", $WINDOWS_ONTOP )

    ; Ukrycie okna komentarzy
    GUISetState(@sw_hide, $form_komentarze)

    WinSetOnTop($GUI, "", $WINDOWS_NOONTOP  )
    
EndFunc   ;==>komentarze_zamknij

Func zlecenia_lista()
    ;Odczyt danych z serwera SQL i zpisanie ich do ListView

    ; Zapytanie SQL zwracające dane listy zgłoszeń
    Local $aLista_zgloszen = sql_exec("***")
    Local $all, $wiersz, $item, $col, $cell = Null
    Global $status_oczekujac, $status_wstrzymane, $status_realizowane, $status_zarejestrowane, $status_suma = 0

    _GUICtrlListView_BeginUpdate($lvListaZlecen)
    _GUICtrlListView_DeleteAllItems($lvListaZlecen)
    ; Wiersz
    $all = UBound($aLista_zgloszen) - 1
    For $wiersz = 0 To $all

        ; kolumna
        For $col = 0 To UBound($aLista_zgloszen, 2) - 1
            ;$cell = $aLista_zgloszen[$wiersz][$col]

            ; Utworzenie pozycji w listview
            Local $dzial = $aLista_zgloszen[$wiersz][5]
            Local $numer = $aLista_zgloszen[$wiersz][3]
            Local $data = zlecenie_data_cnv($aLista_zgloszen[$wiersz][4])
            Local $opis = $aLista_zgloszen[$wiersz][6]
            Local $zglaszajacy = $aLista_zgloszen[$wiersz][9]
            Local $status = $aLista_zgloszen[$wiersz][12]
            Local $typ = $aLista_zgloszen[$wiersz][18]
            Local $realizujacy = $aLista_zgloszen[$wiersz][20]
            Local $czas = $aLista_zgloszen[$wiersz][28]
            Local $id = $aLista_zgloszen[$wiersz][1]
        Next

        ; Dodanie pozycji do listy
        $item = GUICtrlCreateListViewItem($numer & "|" & $data & "|" & $dzial & "|" & $opis & "|" & $zglaszajacy & "|" & $status & "|" & $typ & "|" & $realizujacy & "|" & $czas & "|" & $id & "|", $lvListaZlecen)

        ; Kolorowanie zleceń
        Switch $status

            Case "Oczekujące"
                GUICtrlSetColor($item, 0xFF9900) ; Pomarańczowy
                $status_oczekujace += 1 ; sumowanie ilości zleceń ze statusem oczekujące
            Case "Realizowane"
                GUICtrlSetColor($item, 0x339966) ; zielony
                $status_realizowane += 1 ; sumowanie ilości zleceń ze statusem realizowane

            Case "Wstrzymane"
                $status_wstrzymane += 1 ; sumowanie ilości zleceń ze statusem wstrzymane

            Case "zarejestrowane"
                GUICtrlSetColor($item, 0xFA6A6A) ; czerwony
                $status_zarejestrowane += 1 ; sumowanie ilości zleceń ze statusem wstrzymane

        EndSwitch

        ; Kolorujemy co drugi wiersz ListView
        If Mod($wiersz, 2) = 0 Then
            GUICtrlSetBkColor($item, 0xF7F7F7)
        EndIf

        ; Procent wykonania
        _GUICtrlStatusBar_SetText($status_bar, "Wczytuję dane do listy: " & 100 / $all * $wiersz & "%")

        $item = Null
        $status_suma += 1
    Next

    ;Ukrycie kolumny ID
    _GUICtrlListView_HideColumn($lvListaZlecen, 9)
    _GUICtrlListView_EndUpdate($lvListaZlecen)

    ;Wyczyszczenie tablicy z listą zgłoszeń. Dalej posługujemy się danymi z ListView
    $aLista_zgloszen = ""
EndFunc   ;==>zlecenia_lista

Func sql_exec($squery)
    ; Procedura wykonująca zapytania do serwera SQL
    _GUICtrlStatusBar_SetText($status_bar, "Pobieram dane z serwera SQL...")

    Local $oRecordset = _ADO_Execute($oConnection, $squery)
    Local $aRecordsetArray = _ADO_Recordset_ToArray($oRecordset, False)
    Local $aRecordset_inner = _ADO_RecordsetArray_GetContent($aRecordsetArray)

    $kolumny = "" ; Resetowanie tablicy n nazwami kolumn

    ; Opisy kolumn
    $kol = ""
    If IsArray($aRecordsetArray) Then $kolumny = $aRecordsetArray[1]

    _GUICtrlStatusBar_SetText($status_bar, "")
    status("Zlecenia: " & $status_suma & " | Realizowane: " & $status_realizowane & " | " & "Wstrzymane: " & $status_wstrzymane & " | " & "Oczekujące: " & $status_oczekujace)

    Return $aRecordset_inner
EndFunc   ;==>sql_exec

Func sql_connect()
    ; Łączenie do serwera MS SQL

    Local $sDatabase = '***'
    Local $sServer = '***'
    Local $sPort = '***'
    Local $sUser = '***'
    Local $sPassword = '***'
    Local $sDriver = '***'
    Local $sAppName = "***"
    local $dmagoUser = ""
    local $aSQLLoginID = ""

    ; Obsługa wewnętrzna błędów dcom
    _ADO_ComErrorHandler_UserFunction(_ADO_COMErrorHandler_Function)

    $oMyError = ObjEvent("AutoIt.Error", "DCOMErrFunc")

    Local $sConnectionString = 'DRIVER={' & $sDriver & '};SERVER=' & $sServer & ';DATABASE=' & $sDatabase & ';UID=' & $sUser & ';PWD=' & $sPassword & ';'

    $oConnection = _ADO_Connection_Create()
    ;   _ADO_Connection_OpenConString($oConnection, $sConnectionString)
    _ADO_Connection_OpenMSSQL($oConnection, $sServer, $sDatabase, $sUser, $sPassword, $sAppName, Default, True, True)

    If @error Then
        MsgBox(16, "", @error)
        Return SetError(@error, @extended, $ADO_RET_FAILURE)
    EndIf

    ; Pobranie ID użytkownika dla sesji SQL
    ;***

    ; Zapytanie zwracające ID użytkownika na podstawie loginu
    ;***

    

EndFunc   ;==>sql_connect

Func SQL_ERROR()
    MsgBox(0, "Błąd połączenia SQL!", "Błąd")
    $DCOM_ERROR_SQL = 1
EndFunc   ;==>SQL_ERROR

Func DCOMErrFunc()
    ; Obsługa błędów DCOM
    Global $oMyError
    ConsoleWrite("COM ERROR -  Description: " & $oMyError.description & @LF)
    ConsoleWrite("COM ERROR - Error Number: " & Hex($oMyError.number, 8) & @LF)
    ConsoleWrite("COM ERROR -  Script Line: " & $oMyError.scriptline & @LF)
    ConsoleWrite("COM ERROR - Error Source: " & $oMyError.source & @LF)
EndFunc   ;==>DCOMErrFunc

Func WM_NOTIFY($hWnd, $iMsg, $iwParam, $ilParam)
    Local $hWndFrom, $iIDFrom, $iCode, $tNMHDR, $hWndListView = $lvListaZlecen, $hWndListView2 = $lv_komentarze

    If Not IsHWnd($lvListaZlecen) Then $hWndListView = GUICtrlGetHandle($lvListaZlecen)
    If Not IsHWnd($lv_komentarze) Then $hWndListView2 = GUICtrlGetHandle($lv_komentarze)

    $tNMHDR = DllStructCreate($tagNMHDR, $ilParam)
    $hWndFrom = HWnd(DllStructGetData($tNMHDR, "hWndFrom"))
    $iIDFrom = DllStructGetData($tNMHDR, "IDFrom")
    $iCode = DllStructGetData($tNMHDR, "Code")
    $B_DESCENDING = 1

    Switch $hWndFrom
        Case $hWndListView  ; ListView odpowiedzialna za listę zleceń
            Switch $iCode
                Case $NM_CLICK
                    $iOne_Click_Event = True
                    lv_action() ; Wywołanie określonych akcji po kliknięciu

                Case $NM_DBLCLK
                    $iDouble_Click_Event = True
                    zlecenia_komentarze()

                Case $LVN_COLUMNCLICK
                    $tInfo = DllStructCreate($tagNMLISTVIEW, $ilParam)
                    $B_DESCENDING = False

                Case $LVN_HOTTRACK ; Sent by a list-view control When the user moves the mouse over an item
                    ;$tInfo = DllStructCreate($tagNMLISTVIEW, $ilParam)
                    ;$gText = _GUICtrlListView_GetItemText($lvLista, DllStructGetData($tInfo, "Item"), DllStructGetData($tInfo, "SubItem"))

                    ; Pokazywanie na bieżąco informacji o pracowniku
                    ;$gpos =  _GUICtrlListView_GetHotItem($lvLista) + 1
                    ;$nazwisko = $aObjects[$gpos][0]
                    ;$dzial = $aObjects[$gpos][3]
                    ;$telefon = $aObjects[$gpos][5]
                    ;$komorka = $aObjects[$gpos][6]
                    ;$email = $aObjects[$gpos][4]
                    ;$przelozony = $aObjects[$gpos][2]
                    ;$firma = $aObjects[$gpos][18]

                    ;$tooltip = "Imię i nazwisko: " & $nazwisko & @crlf & "Dział: " & $dzial & @crlf & "Telefon: " & $telefon & @crlf & "Komórka: " &  $komorka & @crlf & "e-mail: " & $email & @crlf & "Firma: " & $firma
                    ;ToolTip($tooltip)


                    ;Return 0; Allow the ListView to perform its normal track select processing.
                    ;Return 1 ; the item will not be selected.
                    ; No returnValue

                Case $NM_RCLICK
                    zlecenie_komentarze_param()

            EndSwitch

        Case $hWndListView2 ; ListView odpowiedzialna za komentarze
            Switch $iCode
                Case $NM_CLICK
                    $iOne_Click_Event = True


                Case $NM_DBLCLK
                    $iDouble_Click_Event = True
                    zalacznik_pobranie()

            EndSwitch

    EndSwitch
    Return $GUI_RUNDEFMSG
EndFunc   ;==>WM_NOTIFY

Func status($status)
    _GUICtrlStatusBar_SetText($status_bar, " " & $status)
EndFunc   ;==>status

Func zlecenie_data_cnv($data)
    Local $rok = ""
    Local $mies = ""
    Local $dzien = ""

    $rok = StringLeft($data, 4)
    $mies = StringMid($data, 5, 2)
    $dzien = StringMid($data, 7, 2)

    Return $rok & "/" & $mies & "/" & $dzien
EndFunc   ;==>zlecenie_data_cnv

Func zlecenie_data_godzina_cnv($data)
    Local $rok = ""
    Local $mies = ""
    Local $dzien = ""
    Local $godzina = ""
    Local $minuta = ""
    Local $sekunda = ""

    $rok = StringLeft($data, 4)
    $mies = StringMid($data, 5, 2)
    $dzien = StringMid($data, 7, 2)

    $godzina = StringMid($data, 9, 2)
    $minuta = StringMid($data, 11, 2)
    $sekunda = StringMid($data, 13, 2)

    Return $rok & "/" & $mies & "/" & $dzien & " " & $godzina & ":" & $minuta & ":" & $sekunda
EndFunc   ;==>zlecenie_data_godzina_cnv

Func zlecenie_komentarze_param()
    Local $wybor, $id, $cmt = ""

    ; Pobranie id klikniętego wiersza
    $wybor = Int(_GUICtrlListView_GetSelectedIndices($lvListaZlecen, False))

    ; Przepisanie danych z ListView do etykiet

    ; Pobranie ID zlecenia
    $id = _GUICtrlListView_GetItemText($lvListaZlecen, $wybor, 9)

    ; Zapytanie SQL zwracające dane listy zgłoszeń
    Local $aKomentarze_param = sql_exec("***" & $id & "'")


    For $n = 0 To UBound($aKomentarze_param) - 1
        $cmt = $cmt & $aKomentarze_param[$n][4] & @CRLF
    Next

    MsgBox(0, "Komentarze-Parametry", $cmt)
EndFunc   ;==>zlecenie_komentarze_param

I removed sensitive data such as SQL references so it will definitely throw you errors.

@Melba23, can you give any hints ? Please :)

Edited by Zmylna
Link to comment
Share on other sites

47 minutes ago, argumentum said:

 

sorry argumentum.

; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ;
#include <StaticConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>
#include <GuiListView.au3>
#include <EditConstants.au3>
#include <GuiStatusBar.au3>

$GUI = GUICreate("d.mago - Interfejs",1212,694,-1,-1,BitOr($WS_SIZEBOX,$WS_MAXIMIZEBOX,$WS_MINIMIZEBOX),-1)
$GUI_BGimage = GUICtrlCreatePic(@scriptdir&"\"&"Images\abstract-surface-textures-white-concrete-stone-wall.jpg",0,0,1212,694,$WS_CLIPSIBLINGS)
GUICtrlSetState(-1,$GUI_DISABLE)
GUICtrlSetResizing(-1,102)
$lvListaZlecen = GUICtrlCreatelistview("Numer|Data|Dział|Opis|Zgłaszający|Status|Typ|Realizujący|ID",10,101,1190,535,BitOr($LVS_SINGLESEL,$LVS_SHOWSELALWAYS),BitOr($LVS_EX_FULLROWSELECT,$LVS_EX_GRIDLINES,$WS_EX_CLIENTEDGE))
GUICtrlSetFont(-1,16,400,0,"Arial Narrow")
GUICtrlSetColor(-1,"0x909090")
$bLogin = GUICtrlCreateButton("Zaloguj",8,68,68,24,-1,-1)
$iLogin = GUICtrlCreateInput("Użytkownik",10,13,150,20,-1,$WS_EX_CLIENTEDGE)
$iHaslo = GUICtrlCreateInput("Hasło",10,41,150,20,$ES_PASSWORD,$WS_EX_CLIENTEDGE)
$lZglosil = GUICtrlCreateLabel("---",245,22,211,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lRealizujacy = GUICtrlCreateLabel("---",472,22,211,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lTemat = GUICtrlCreateLabel("---",245,60,211,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lData = GUICtrlCreateLabel("---",472,60,211,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lTelefon = GUICtrlCreateLabel("---",699,22,77,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lKomputer = GUICtrlCreateLabel("---",699,60,77,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lStatus = GUICtrlCreateLabel("---",792,22,128,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lFirma = GUICtrlCreateLabel("---",792,60,128,24,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",240,14,220,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Zgłosił",245,8,36,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("My Text",240,52,220,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",467,14,220,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",467,52,220,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",694,14,86,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",694,52,86,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
$bGUI_Zamknij = GUICtrlCreateButton("Zamknij",92,68,68,24,-1,-1)
$status_bar = _GUICtrlStatusBar_Create($GUI, -1, "",-1,-1)
GUICtrlCreateLabel("My Text",787,14,137,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",787,52,137,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
$lGUI_Photo = GUICtrlCreateLabel("My Text",168,12,66,80,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Temat",244,46,32,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("My Text",930,14,80,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Realizujący",472,8,56,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("My Text",930,52,80,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Czas realizacji",935,8,66,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Data zgłoszenia",472,46,79,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
$AD_IMG_ZG = GUICtrlCreatePic("",170,14,61,75,BitOr($SS_CENTERIMAGE,$SS_NOTIFY),-1)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_ONTOP))
GUICtrlCreateLabel("Telefon",699,8,38,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
$lCzas_statusu = GUICtrlCreateLabel("---",935,22,68,24,-1,-1)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_ONTOP))
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
GUICtrlSetTip(-1,"Czas, który upłynął od zmiany statusu.")
GUICtrlCreateLabel("Komputer",699,46,47,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("",1016,14,184,78,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Status",792,8,32,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Książka adresowa",1022,8,89,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Firma",792,46,27,15,-1,-1)
GUICtrlSetBkColor(-1,"0xF0F0F0")
$iLDAP_szukaj = GUICtrlCreateInput("",1023,26,169,20,-1,$WS_EX_CLIENTEDGE)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_ONTOP))
GUICtrlSetTip(-1,"Imię, nazwisko, telefon, dział ...")
$bLDAP_szukaj = GUICtrlCreateButton("Szukaj",1059,53,100,30,-1,-1)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_ONTOP))
GUICtrlSetTip(-1,"Przeszukaj katalog LDAP")



#cs
[gui]
bgimage=Images\abstract-surface-textures-white-concrete-stone-wall.jpg
Handle_deklaration=default
Handle_deklaration_const=false
title=d.mago - Interfejs
breite=1212
hoehe=694
style=$WS_SIZEBOX+$WS_MAXIMIZEBOX+$WS_MINIMIZEBOX
exstyle=-1
bgcolour=0xF0F0F0
handle=$GUI
parent=
code=
codebeforegui=
xpos=-1
ypos=-1
center_gui=true
title_textmode=normal
isf_include_once=false
isf_no_includes=false
only_controls_in_isf=false
const_modus=default
gui_code_in_function=false
gui_code_in_function_name=
gui_code_in_function_mode=gui
gui_code_in_function_map_name=
gui_event_close=
gui_event_minimize=
gui_event_restore=
gui_event_maximize=
gui_event_mousemove=
gui_event_primarydown=
gui_event_primaryup=
gui_event_secoundarydown=
gui_event_secoundaryup=
gui_event_resized=
gui_event_dropped=
defaultfont=MS Sans Serif
defaultfontsize=8
[0x00012F34]
type=listview
handle=448
locked=0
resize=
x=10
y=101
width=1190
height=535
func=
font=Arial Narrow
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x909090
id=$lvListaZlecen
text=Numer|Data|Dział|Opis|Zgłaszający|Status|Typ|Realizujący|ID
state=$GUI_SHOW+$GUI_ENABLE
style=$LVS_SINGLESEL+$LVS_SHOWSELALWAYS
exstyle=$LVS_EX_FULLROWSELECT+$LVS_EX_GRIDLINES+$WS_EX_CLIENTEDGE
bgcolour=
code=
order=0
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00022F3A]
type=button
handle=449
locked=0
resize=
x=8
y=68
width=68
height=24
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$bLogin
text=Zaloguj
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
order=2
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F3C]
type=input
handle=450
locked=0
resize=
x=10
y=13
width=150
height=20
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$iLogin
text=Użytkownik
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
bgcolour=
code=
order=3
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F3E]
type=input
handle=451
locked=0
resize=
x=10
y=41
width=150
height=20
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$iHaslo
text=Hasło
state=$GUI_SHOW+$GUI_ENABLE
style=$ES_PASSWORD
exstyle=$WS_EX_CLIENTEDGE
bgcolour=
code=
order=4
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F40]
type=label
handle=452
locked=0
resize=
x=245
y=22
width=211
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lZglosil
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
order=14
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F42]
type=label
handle=453
locked=0
resize=
x=472
y=22
width=211
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lRealizujacy
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=15
[0x00012F44]
type=label
handle=454
locked=0
resize=
x=245
y=60
width=211
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lTemat
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=16
[0x00012F46]
type=label
handle=455
locked=0
resize=
x=472
y=60
width=211
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lData
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=17
[0x00012F48]
type=label
handle=456
locked=0
resize=
x=699
y=22
width=77
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lTelefon
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=18
[0x00012F4A]
type=label
handle=457
locked=0
resize=
x=699
y=60
width=77
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKomputer
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=19
[0x00012F4C]
type=label
handle=458
locked=0
resize=
x=792
y=22
width=128
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lStatus
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=20
[0x00012F4E]
type=label
handle=459
locked=0
resize=
x=792
y=60
width=128
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lFirma
text=---
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=21
[0x00012F50]
type=label
handle=460
locked=0
resize=
x=240
y=14
width=220
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
order=22
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F52]
type=label
handle=461
locked=0
resize=
x=245
y=8
width=36
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Zgłosił
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
order=23
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F54]
type=label
handle=462
locked=0
resize=
x=240
y=52
width=220
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=25
[0x00012F56]
type=label
handle=463
locked=0
resize=
x=467
y=14
width=220
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=26
[0x00012F58]
type=label
handle=464
locked=0
resize=
x=467
y=52
width=220
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=27
[0x00012F5A]
type=label
handle=465
locked=0
resize=
x=694
y=14
width=86
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=28
[0x00012F5C]
type=label
handle=466
locked=0
resize=
x=694
y=52
width=86
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=29
[0x00012F5E]
type=label
handle=467
locked=0
resize=
x=787
y=14
width=137
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=30
[0x00012F60]
type=label
handle=468
locked=0
resize=
x=787
y=52
width=137
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=31
[0x00012F62]
type=label
handle=469
locked=0
resize=
x=244
y=46
width=32
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Temat
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=32
[0x00012F64]
type=label
handle=470
locked=0
resize=
x=472
y=8
width=56
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Realizujący
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=33
[0x00012F66]
type=label
handle=471
locked=0
resize=
x=472
y=46
width=79
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Data zgłoszenia
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=34
[0x00012F68]
type=label
handle=472
locked=0
resize=
x=699
y=8
width=38
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Telefon
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=35
[0x00012F6A]
type=label
handle=473
locked=0
resize=
x=699
y=46
width=47
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Komputer
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=36
[0x00012F6C]
type=label
handle=474
locked=0
resize=
x=792
y=8
width=32
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Status
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=37
[0x00012F6E]
type=label
handle=475
locked=0
resize=
x=792
y=46
width=27
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Firma
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=38
[0x00012F70]
type=button
handle=476
locked=0
resize=
x=92
y=68
width=68
height=24
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$bGUI_Zamknij
text=Zamknij
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=30
[0x00012F72]
type=statusbar
handle=477
locked=0
resize=
x=10
y=641
width=25
height=25
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$status_bar
text=
state=
style=
exstyle=
bgcolour=
code=
order=30
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F76]
type=label
handle=478
locked=0
resize=
x=168
y=12
width=66
height=80
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$lGUI_Photo
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
order=31
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F78]
type=label
handle=479
locked=0
resize=
x=930
y=14
width=80
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=32
[0x00012F7A]
type=label
handle=480
locked=0
resize=
x=930
y=52
width=80
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=33
[0x00012F7C]
type=label
handle=481
locked=0
resize=
x=935
y=8
width=66
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Czas realizacji
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=34
[0x00012F7E]
type=image
handle=482
locked=0
resize=
x=170
y=14
width=61
height=75
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$AD_IMG_ZG
text=
state=$GUI_SHOW+$GUI_ENABLE+$GUI_ONTOP
style=$SS_CENTERIMAGE+$SS_NOTIFY
exstyle=
bgcolour=
code=
order=35
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F80]
type=label
handle=483
locked=0
resize=
x=935
y=22
width=68
height=24
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=Czas, który upłynął od zmiany statusu.
bgimage=
textcolour=0x7C7C7C
id=$lCzas_statusu
text=---
state=$GUI_SHOW+$GUI_ENABLE+$GUI_ONTOP
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=36
[0x00012F82]
type=label
handle=484
locked=0
resize=
x=1016
y=14
width=184
height=78
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
order=37
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F84]
type=label
handle=485
locked=0
resize=
x=1022
y=8
width=89
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=Książka adresowa
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=38
[0x00012F86]
type=button
handle=486
locked=0
resize=
x=1059
y=53
width=100
height=30
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=Przeszukaj katalog LDAP
bgimage=
textcolour=0x000000
id=$bLDAP_szukaj
text=Szukaj
state=$GUI_SHOW+$GUI_ENABLE+$GUI_ONTOP
style=
exstyle=
bgcolour=
code=
order=40
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00012F88]
type=input
handle=487
locked=0
resize=
x=1023
y=26
width=169
height=20
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=Imię, nazwisko, telefon, dział ...
bgimage=
textcolour=0x000000
id=$iLDAP_szukaj
text=
state=$GUI_SHOW+$GUI_ENABLE+$GUI_ONTOP
style=
exstyle=$WS_EX_CLIENTEDGE
bgcolour=
code=
order=40
tabpage=-1
iconindex=
iconlarge=0
textmode=text
#ce
; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ;
#include <StaticConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>
#include <EditConstants.au3>

$form_komentarz_view = GUICreate("Komentarz",653,341,-1,-1,BitOr($WS_CAPTION,$WS_DLGFRAME),$WS_EX_TOOLWINDOW)
$form_komentarz_view_BGimage = GUICtrlCreatePic(@scriptdir&"\"&"Images\abstract-surface-textures-white-concrete-stone-wall.jpg",0,0,653,341,$WS_CLIPSIBLINGS)
GUICtrlSetState(-1,$GUI_DISABLE)
GUICtrlSetResizing(-1,102)
GUICtrlCreateLabel("Pełna treść komentarza:",240,6,173,21,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Bahnschrift Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$bKomentarz_Pelny_Zamknij = GUICtrlCreateButton("Zamknij",289,310,74,24,-1,-1)
$lKomentarz_Pelny = GUICtrlCreateEdit("",22,37,609,265,BitOr($ES_READONLY,$WS_VSCROLL),$WS_EX_CLIENTEDGE)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")



#cs
[gui]
bgimage=Images\abstract-surface-textures-white-concrete-stone-wall.jpg
Handle_deklaration=default
Handle_deklaration_const=false
title=Komentarz
breite=653
hoehe=341
style=$WS_CAPTION+$WS_DLGFRAME
exstyle=$WS_EX_TOOLWINDOW
bgcolour=0xF0F0F0
handle=$form_komentarz_view
parent=
code=
codebeforegui=
xpos=-1
ypos=-1
center_gui=true
title_textmode=normal
isf_include_once=false
isf_no_includes=false
only_controls_in_isf=false
const_modus=default
gui_code_in_function=false
gui_code_in_function_name=
gui_code_in_function_mode=gui
gui_code_in_function_map_name=
gui_event_close=
gui_event_minimize=
gui_event_restore=
gui_event_maximize=
gui_event_mousemove=
gui_event_primarydown=
gui_event_primaryup=
gui_event_secoundarydown=
gui_event_secoundaryup=
gui_event_resized=
gui_event_dropped=
defaultfont=MS Sans Serif
defaultfontsize=8
[0x000130F4]
type=label
handle=448
locked=0
resize=
x=240
y=6
width=173
height=21
func=
font=Bahnschrift Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=
text=Pełna treść komentarza:
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
order=0
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x000130F6]
type=button
handle=449
locked=0
resize=
x=289
y=310
width=74
height=24
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$bKomentarz_Pelny_Zamknij
text=Zamknij
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
order=3
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x000130F8]
type=edit
handle=450
locked=0
resize=
x=22
y=37
width=609
height=265
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKomentarz_Pelny
text=
state=$GUI_SHOW+$GUI_ENABLE
style=$ES_READONLY+$WS_VSCROLL
exstyle=$WS_EX_CLIENTEDGE
bgcolour=-2
code=
order=4
tabpage=-1
iconindex=
iconlarge=0
textmode=text
#ce
; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ;
#include <StaticConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>
#include <GuiListView.au3>
#include <EditConstants.au3>
#include <ComboConstants.au3>

$form_komentarze = GUICreate("Komentarze",1010,752,-1,-1,BitOr($WS_CAPTION,$WS_DLGFRAME),$WS_EX_TOOLWINDOW,$GUI)
$form_komentarze_BGimage = GUICtrlCreatePic(@scriptdir&"\"&"Images\abstract-surface-textures-white-concrete-stone-wall.jpg",0,0,1010,752,$WS_CLIPSIBLINGS)
GUICtrlSetState(-1,$GUI_DISABLE)
GUICtrlSetResizing(-1,102)
$lv_komentarze = GUICtrlCreatelistview("Data|Zgłaszający|Opis|Załącznik|idkom|idzal",10,191,989,388,BitOr($LVS_SINGLESEL,$LVS_SHOWSELALWAYS),BitOr($LVS_EX_FULLROWSELECT,$LVS_EX_GRIDLINES,$LVS_EX_DOUBLEBUFFER,$LVS_EX_INFOTIP,$WS_EX_CLIENTEDGE))
GUICtrlSetFont(-1,20,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlCreateLabel("Nowy komentarz:",13,580,122,20,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$bKomentarzZapisz = GUICtrlCreateButton("Zapisz",901,688,99,28,-1,-1)
GUICtrlSetFont(-1,12,400,0,"MS Sans Serif")
GUICtrlSetColor(-1,"0xFF0000")
$bZgloszeniaZamknij = GUICtrlCreateButton("Zamknij",901,717,99,28,-1,-1)
GUICtrlSetFont(-1,12,400,0,"MS Sans Serif")
$cKomentarze = GUICtrlCreateCombo("",902,603,97,28,-1,-1)
GUICtrlSetData(-1,"Wstrzymane|Realizowane|Zrealizowane|Oczekujące|Odrzucone|Zarejestrowane")
$bKomentarz_szczegoly = GUICtrlCreateButton("Opis",901,659,99,28,-1,-1)
GUICtrlSetFont(-1,12,400,0,"MS Sans Serif")
GUICtrlCreateLabel("My Text",702,11,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",702,49,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Komentarze:",13,168,122,20,-1,-1)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",702,87,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",10,11,694,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",10,49,694,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",10,87,694,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Oczekiwana data",708,4,85,16,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Komputer",708,42,47,14,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Telefon",708,80,38,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Opis",15,3,22,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Co kupić",15,42,44,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Licencje",15,79,42,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
$lKom_Data = GUICtrlCreateLabel("",707,17,141,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lKom_Komputer = GUICtrlCreateLabel("",707,55,141,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lKom_Telefon = GUICtrlCreateLabel("",706,94,142,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lKom_Opis = GUICtrlCreateLabel("",15,17,685,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lKom_Zakup = GUICtrlCreateLabel("",15,55,685,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lKom_Licencje = GUICtrlCreateLabel("",15,93,685,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$iNowy_komentarz = GUICtrlCreateInput("",10,603,884,140,BitOr($ES_MULTILINE,$ES_WANTRETURN,$WS_VSCROLL),$WS_EX_CLIENTEDGE)
GUICtrlSetFont(-1,16,400,0,"Tw Cen MT Condensed")
GUICtrlCreateLabel("My Text",702,125,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",850,11,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",850,49,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Firma",708,118,27,16,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Imię i nazwisko",855,4,74,14,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("My Text",10,125,694,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Takie jak",855,42,47,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
$lkom_firma = GUICtrlCreateLabel("",707,131,141,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Lista kont",15,117,48,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
$lkom_imienazwisko = GUICtrlCreateLabel("",855,17,141,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lkom_konta = GUICtrlCreateLabel("",15,131,685,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lkom_takiejak = GUICtrlCreateLabel("",854,55,142,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",850,87,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("My Text",850,125,150,40,$SS_ETCHEDFRAME,-1)
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateLabel("Zarejestrowany czas",856,80,99,14,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
GUICtrlCreateLabel("Status",855,118,38,15,-1,-1)
GUICtrlSetColor(-1,"0x969696")
GUICtrlSetBkColor(-1,"0xF0F0F0")
$iKom_czas = GUICtrlCreateInput("",902,629,97,28,-1,$WS_EX_CLIENTEDGE)
GUICtrlSetFont(-1,12,400,0,"MS Sans Serif")
$lkom_czas_realizacji = GUICtrlCreateLabel("",855,94,141,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")
$lkom_status = GUICtrlCreateLabel("",854,131,142,26,-1,-1)
GUICtrlSetFont(-1,18,400,0,"Tw Cen MT Condensed")
GUICtrlSetColor(-1,"0x7C7C7C")
GUICtrlSetBkColor(-1,"-2")



#cs
[gui]
bgimage=Images\abstract-surface-textures-white-concrete-stone-wall.jpg
Handle_deklaration=default
Handle_deklaration_const=false
title=Komentarze
breite=1010
hoehe=752
style=$WS_CAPTION+$WS_DLGFRAME
exstyle=$WS_EX_TOOLWINDOW
bgcolour=0xF0F0F0
handle=$form_komentarze
parent=$GUI
code=
codebeforegui=
xpos=-1
ypos=-1
center_gui=true
title_textmode=normal
isf_include_once=false
isf_no_includes=false
only_controls_in_isf=false
const_modus=default
gui_code_in_function=false
gui_code_in_function_name=
gui_code_in_function_mode=gui
gui_code_in_function_map_name=
gui_event_close=
gui_event_minimize=
gui_event_restore=
gui_event_maximize=
gui_event_mousemove=
gui_event_primarydown=
gui_event_primaryup=
gui_event_secoundarydown=
gui_event_secoundaryup=
gui_event_resized=
gui_event_dropped=
defaultfont=MS Sans Serif
defaultfontsize=8
[0x00373144]
type=listview
handle=448
locked=0
resize=
x=10
y=191
width=989
height=388
func=
font=Tw Cen MT Condensed
fontsize=20
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lv_komentarze
text=Data|Zgłaszający|Opis|Załącznik|idkom|idzal
state=$GUI_SHOW+$GUI_ENABLE
style=$LVS_SINGLESEL+$LVS_SHOWSELALWAYS
exstyle=$LVS_EX_FULLROWSELECT+$LVS_EX_GRIDLINES+$LVS_EX_DOUBLEBUFFER+$LVS_EX_INFOTIP+$WS_EX_CLIENTEDGE
bgcolour=
code=
order=0
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00343100]
type=label
handle=449
locked=0
resize=
x=13
y=580
width=122
height=20
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=
text=Nowy komentarz:
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
order=2
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x0049300E]
type=button
handle=450
locked=0
resize=
x=901
y=688
width=99
height=28
func=
font=MS Sans Serif
fontsize=12
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0xFF0000
id=$bKomentarzZapisz
text=Zapisz
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
order=4
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00442FD2]
type=button
handle=451
locked=0
resize=
x=901
y=717
width=99
height=28
func=
font=MS Sans Serif
fontsize=12
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$bZgloszeniaZamknij
text=Zamknij
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=5
[0x001230F4]
type=combo
handle=452
locked=0
resize=
x=902
y=603
width=97
height=28
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$cKomentarze
text=Wstrzymane|Realizowane|Zrealizowane|Oczekujące|Odrzucone|Zarejestrowane
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
order=6
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x001930FC]
type=button
handle=453
locked=0
resize=
x=901
y=659
width=99
height=28
func=
font=MS Sans Serif
fontsize=12
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$bKomentarz_szczegoly
text=Opis
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=7
[0x00082A92]
type=label
handle=454
locked=0
resize=
x=13
y=168
width=122
height=20
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Komentarze:
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=9
[0x00022A90]
type=label
handle=455
locked=0
resize=
x=702
y=11
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
order=8
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00022A8E]
type=label
handle=456
locked=0
resize=
x=702
y=49
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=9
[0x00022A8C]
type=label
handle=457
locked=0
resize=
x=702
y=87
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=10
[0x00022A8A]
type=label
handle=458
locked=0
resize=
x=10
y=11
width=694
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=11
[0x00022A88]
type=label
handle=459
locked=0
resize=
x=10
y=49
width=694
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=12
[0x00022A86]
type=label
handle=460
locked=0
resize=
x=10
y=87
width=694
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=13
[0x00022A84]
type=label
handle=461
locked=0
resize=
x=708
y=4
width=85
height=16
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Oczekiwana data
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
order=14
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00022A82]
type=label
handle=462
locked=0
resize=
x=708
y=42
width=47
height=14
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Komputer
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=15
[0x00022A80]
type=label
handle=463
locked=0
resize=
x=708
y=80
width=38
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Telefon
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=16
[0x00022A7E]
type=label
handle=464
locked=0
resize=
x=15
y=3
width=22
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Opis
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=17
[0x00022A7C]
type=label
handle=465
locked=0
resize=
x=15
y=42
width=44
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Co kupić
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=18
[0x00022A7A]
type=label
handle=466
locked=0
resize=
x=15
y=79
width=42
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Licencje
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=19
[0x00022A78]
type=label
handle=467
locked=0
resize=
x=707
y=17
width=141
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKom_Data
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
order=20
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00022A76]
type=label
handle=468
locked=0
resize=
x=707
y=55
width=141
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKom_Komputer
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=21
[0x00022A74]
type=label
handle=469
locked=0
resize=
x=706
y=94
width=142
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKom_Telefon
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=22
[0x00022A72]
type=label
handle=470
locked=0
resize=
x=15
y=17
width=685
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKom_Opis
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=23
[0x00022A70]
type=label
handle=471
locked=0
resize=
x=15
y=55
width=685
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKom_Zakup
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=24
[0x00022A6E]
type=label
handle=472
locked=0
resize=
x=15
y=93
width=685
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lKom_Licencje
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=25
[0x00022A6C]
type=input
handle=473
locked=0
resize=
x=10
y=603
width=884
height=140
func=
font=Tw Cen MT Condensed
fontsize=16
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$iNowy_komentarz
text=
state=$GUI_SHOW+$GUI_ENABLE
style=$ES_MULTILINE+$ES_WANTRETURN+$WS_VSCROLL
exstyle=$WS_EX_CLIENTEDGE
bgcolour=
code=
order=26
tabpage=-1
iconindex=
iconlarge=0
textmode=text
[0x00022A62]
type=label
handle=476
locked=0
resize=
x=10
y=125
width=694
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=37
[0x00022A64]
type=label
handle=477
locked=0
resize=
x=15
y=117
width=48
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Lista kont
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=38
[0x00022A66]
type=label
handle=478
locked=0
resize=
x=15
y=131
width=685
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lkom_konta
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=39
[0x00022A60]
type=label
handle=479
locked=0
resize=
x=702
y=125
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=32
[0x00022A5E]
type=label
handle=480
locked=0
resize=
x=850
y=11
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=33
[0x00032A5C]
type=label
handle=481
locked=0
resize=
x=850
y=49
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=34
[0x00022A56]
type=label
handle=482
locked=0
resize=
x=708
y=118
width=27
height=16
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Firma
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=35
[0x00022A58]
type=label
handle=483
locked=0
resize=
x=855
y=4
width=74
height=14
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Imię i nazwisko
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=36
[0x00032A5A]
type=label
handle=484
locked=0
resize=
x=855
y=42
width=47
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Takie jak
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=37
[0x00022A54]
type=label
handle=485
locked=0
resize=
x=707
y=131
width=141
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lkom_firma
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=38
[0x00022A52]
type=label
handle=486
locked=0
resize=
x=855
y=17
width=141
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lkom_imienazwisko
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=39
[0x004F2AEC]
type=label
handle=487
locked=0
resize=
x=854
y=55
width=142
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lkom_takiejak
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=40
[0x00372812]
type=label
handle=536
locked=0
resize=
x=850
y=87
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=41
[0x005631AA]
type=label
handle=537
locked=0
resize=
x=850
y=125
width=150
height=40
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=
text=My Text
state=$GUI_SHOW+$GUI_ENABLE
style=$SS_ETCHEDFRAME
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=42
[0x0068306A]
type=label
handle=538
locked=0
resize=
x=856
y=80
width=99
height=14
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Zarejestrowany czas
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=43
[0x00553096]
type=label
handle=539
locked=0
resize=
x=855
y=118
width=38
height=15
func=
font=MS Sans Serif
fontsize=8
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x969696
id=
text=Status
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=0xF0F0F0
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=44
[0x0057318A]
type=label
handle=540
locked=0
resize=
x=855
y=94
width=141
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lkom_czas_realizacji
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=45
[0x002331C8]
type=label
handle=541
locked=0
resize=
x=854
y=131
width=142
height=26
func=
font=Tw Cen MT Condensed
fontsize=18
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x7C7C7C
id=$lkom_status
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=
bgcolour=-2
code=
tabpage=-1
iconindex=
iconlarge=0
textmode=text
order=46
[0x001233A0]
type=input
handle=474
locked=0
resize=
x=902
y=629
width=97
height=28
func=
font=MS Sans Serif
fontsize=12
fontstyle=400
fontattribute=0
tooltip=
bgimage=
textcolour=0x000000
id=$iKom_czas
text=
state=$GUI_SHOW+$GUI_ENABLE
style=
exstyle=$WS_EX_CLIENTEDGE
bgcolour=
code=
order=45
tabpage=-1
iconindex=
iconlarge=0
textmode=text
#ce

 

Link to comment
Share on other sites

So the 1st would be the main script and the other 2 with the ToolWindow are the ones that are child to it, I'd guess.
But still not running code. If you copy the above in a script file, they would not run. Don't have a main loop.
There are other files that I would need too.

Copy all that as running  code and ZIP it. I'll unzip it and test it.

I have an example that may serve you as as guideline. ( https://www.autoitscript.com/forum/topic/203282-child-gui-example/ )

Edit: I don't use ISN so, just AutoIt.

Edited by argumentum
clarify request

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

34 minutes ago, argumentum said:

So the 1st would be the main script and the other 2 with the ToolWindow are the ones that are child to it, I'd guess.
But still not running code. If you copy the above in a script file, they would not run. Don't have a main loop.
There are other files that I would need too.

Copy all that as running  code and ZIP it. I'll unzip it and test it.

I have an example that may serve you as as guideline. ( https://www.autoitscript.com/forum/topic/203282-child-gui-example/ )

Edit: I don't use ISN so, just AutoIt.

You have main loop in my first post. With it you have all my code.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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