Opened 10 years ago

Last modified 10 years ago

#993 closed Bug

_WinAPI_CreateWindowEx: Cannot find window class — at Initial Version

Reported by: PSandu.Ro Owned by:
Milestone: Component: AutoIt
Version: 3.3.1.0 Severity: None
Keywords: Cc:

Description

hi,
with 3.3.0.0 everything is ok
only with 3.3.1.0 show me this error.

Func Targetare_Planificare()

$buffer_filtre_targetare_planificare =
$main_gui_position = WinGetPos($main_gui)
WinMove($main_gui_title, "", (@DesktopWidth - $main_gui_position[2]) / 2, (@DesktopHeight - $main_gui_position[3]) / 2, $main_gui_width, $main_gui_height, 1)
Local $main_pos = "", $minimize_button = ""
$main_pos = WinGetClientSize($main_gui_title)
$targetare_planificare_client_win = GUICreate($targetare_planificare_client_title, $main_pos[0], $main_pos[1], -2, 0, $ws_caption + $ws_sysmenu, $ws_ex_toolwindow, $main_gui)
GUISetOnEvent($gui_event_close, "Exit_Targetare_Planificare_Client")
DllCall("user32.dll", "int", "SetParent", "hwnd", $targetare_planificare_client_win, "hwnd", $main_gui)
GUIRegisterMsg($wm_nchittest, "GUI_Lock_2")
$listare_targetare_planificare_client = GUICtrlCreateListView("ID|Nume|Prenume|Telefon|E-mail|Data Nastere|Judet|Oras|Titlu|Functie|Specialitate_1|Specialitate_2|Specialitate_3|Institutie_1|Institutie_2|Institutie_3|Rank_General|Rank_Romastru|Frecventa|Targetat|Planificat|Profil|Rep.Medical", 5, 5, $main_pos[0] - 10, $main_pos[1] - 10, $lvs_singlesel + $lvs_nosortheader + $lvs_showselalways, $lvs_ex_fullrowselect + $ws_ex_clientedge)
$minimize_button = _GUICtrlMenu_GetSystemMenu($targetare_planificare_client_win)
$listare_targetare_planificare_client_contextual = GUICtrlCreateContextMenu($listare_targetare_planificare_client)
$listare_targetare_planificare_client_go = GUICtrlCreateMenuItem('Targetare/Planificare', $listare_targetare_planificare_client_contextual)
GUICtrlSetOnEvent($listare_targetare_planificare_client_go, 'GO_Targetare_Planificare')
GUICtrlCreateMenuItem("", $listare_targetare_planificare_client_contextual)
$meniu_contextual_filtrare = GUICtrlCreateMenuItem("Filtrare", $listare_targetare_planificare_client_contextual)
GUICtrlSetOnEvent($meniu_contextual_filtrare, "Adauga_Filtru_Targetare_Planificare_Client")
_GUICtrlMenu_EnableMenuItem($minimize_button, $sc_minimize, 1, False)
_GUICtrlMenu_EnableMenuItem($minimize_button, $sc_restore, 1, False)
_GUICtrlMenu_EnableMenuItem($minimize_button, $sc_maximize, 1, False)
GUISetState()
GUISetState(@SW_MAXIMIZE)
Adauga_Filtru_Targetare_Planificare_Client()

EndFunc ;==>Targetare_Planificare

Change History (0)

Note: See TracTickets for help on using tickets.