﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
286	_GUICtrlReBar_AddBand() UDF: controls move off rebar bands after beta 3.2.11.7	rover	Gary	"Problem using _GUICtrlReBar_AddBand() with standard controls after beta 3.2.11.7
tested with  GUICtrlCreateInput() and GUICtrlCreateButton()

Running XP SP2+ EN X86
tested ok in prod 3.2.10.0 and beta 3.2.11.7
untested in 3.2.11.8 or 3.2.11.9
tested as problem in 3.2.11.10 up to 3.2.12.0-rc4

Example:
run and minimize to taskbar, then restore.
control will move from rebar band to overlap dtp control
adjusting rebar manually  will move control back to band

{{{
#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiReBar.au3>
#include <GuiDateTimePicker.au3>
#include <WindowsConstants.au3>
#include <Constants.au3>
#include <GuiConstantsEx.au3>

Opt(""MustDeclareVars"", 1)
Global $hgui, $hReBar, $hDTP, $h

$hgui = GUICreate(""Rebar"", 400, 396)
$hReBar = _GUICtrlReBar_Create($hgui, BitOR($CCS_NODIVIDER, $CCS_TOP))
$hDTP = _GUICtrlDTP_Create($hgui, 0, 0, 190)
_GUICtrlReBar_AddBand($hReBar, $hDTP, 120, 120, """", 0)

$h = GUICtrlCreateButton(""Exit"", 0, 0, 120, 20)
;$h = GUICtrlCreateInput(""Input control"", 0, 0, 120, 20)
_GUICtrlReBar_AddBand($hReBar, GUICtrlGetHandle($h), 120, 200, ""Name:"", 1)

GUISetState(@SW_SHOW)
Sleep(1000)
GUISetState(@SW_MINIMIZE)
Sleep(1000)
GUISetState(@SW_RESTORE)

While 1
    Switch GUIGetMsg()
	Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
}}}"	Bug	closed		Standard UDFs	3.2.12.0	None	No Bug		
