[MaxGUI, Win32] COMBOBOX_EDITABLE invisible

Archives Forums/MaxGUI Bug Reports/[MaxGUI, Win32] COMBOBOX_EDITABLE invisible

Grisu(Posted 2010) [#1]

A combobox flagged with COMBOBOX_EDITABLE gets invisible when resizing a window.
Other gadgets are not affected by this issue. E.g. a normal combobox works fine.

Example code:

Tested under Win7 (64 Bit), MaxGUI 1.42 beta and 1.41, latest BMX. Classic and Aero theme show this issue.

Can someone please test this under Windows XP or Vista?


skidracer(Posted 2010) [#2]
in win32maxguiex:3263 the SetShow call seems bugged (needs a Not):
	Method StartDoubleBuffer()
		If _editHwnd
			tmpHidden = (State()&STATE_HIDDEN)
			Super.SetShow Not tmpHidden

Grisu(Posted 2010) [#3]
Thanks Simon, that fixed it for me.

SebHoll(Posted 2010) [#4]
Careful here - check that editable comboboxes still resize without crashing app on Windows XP (both with and without themes). I think there was aserious why we needed to hide these gadgets before double-buffering.

skidracer(Posted 2010) [#5]
Any chance of posting a link to a relevant thread?

skidracer(Posted 2010) [#6]
I have removed the double buffering on resize for now. Will continue testing.

Grisu(Posted 2010) [#7]
Thanks for looking into this.

Will this fix be included in the next release?