﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1532	ComboBox custom height not retained after window minimize	Spiff59		"As shown in the example script below, if a user adjusts the item height of a ComboBox, once the window has been minimized and restored, the ComboBox will revert to it's default item height.
{{{
#include <GuiComboBox.au3>
#include <GuiConstants.au3>
Dim $hGUI

$GUI_Main = GuiCreate("""", 245, 180, 200, 200)
GUISetFont(7.5, 400, 0)
$Combo1 = GUICtrlCreateCombo("""", 20, 36, 200, 16, $CBS_DROPDOWNLIST)
GUICtrlSetData(-1, ""1 WEEK|2 WEEKS|4 WEEKS|8 WEEKS|3 MONTHS"", ""1 WEEK"")
_GUICtrlComboBox_SetItemHeight(-1, 12)

$button1 = GUICtrlCreateButton(""click to minimize and restore"", 20, 80, 200, 18)
$button2 = GUICtrlCreateButton(""click to reset combo box height"", 20, 120, 200, 18)
GUISetState()
Send(""{TAB}"")

While 1
    $msg = GUIGetMsg()
    If $msg = $button1 Then
        GUISetState(@SW_MINIMIZE)
        Sleep(100)
        GUISetState(@SW_RESTORE)
		Send(""{TAB}{TAB}"")
    EndIf
    If $msg = $button2 Then
        _GUICtrlComboBox_SetItemHeight($Combo1, 12)
    EndIf
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
Exit
}}}"	Bug	closed		AutoIt	3.3.6.0	None	No Bug		
