win32maxgui 1.13 update

BlitzMax Forums/BlitzMax Programming/win32maxgui 1.13 update

Windows MaxGUI users please syncmods for version 1.13 of the win32maxgui module.


Fixed Win32GuiDriver::requestFont initial font size problem
Fixed win32label confusing frame and sunken_frame styles
Fixed ComboBox GetText method
Added underline and strikethrough textformat flags
Fixed font and color formatting problems in win32textarea
Fixed keyboard shortcut hook problem in XP64



Still tidying things up in the main MaxGUI module so until it gets bumped textformat flags are as follows:
Const TEXTFORMAT_BOLD=1
Const TEXTFORMAT_ITALIC=2
Const TEXTFORMAT_UNDERLINE=4
Const TEXTFORMAT_STRIKETHROUGH=8


Skid: Is the ComboBox.GetText() method cross compatible? E.g. is it just for Windows or can it be used on Linux or Mac?

Thanks for fixing it

EDIT: In case anyone wants some code to quickly paste into Max, that demonstrates the ComboBox.GetText() Method then try this:

Rem

Test-code for retrieving ComboBox text.
Code is licensed as PUBLIC-DOMAIN.

EndRem

Strict 

Local window:TGadget
Local combobox:TGadget
Local button:TGadget

window=CreateWindow("My Window",30,20,400,300)

combobox=CreateComboBox(5,5,300,20,window,COMBOBOX_EDITABLE)
button=CreateButton("OK",310,5,80,20,window,BUTTON_OK)

AddGadgetItem combobox,"Option 1"
AddGadgetItem combobox,"Option 2"
AddGadgetItem combobox,"Option 3",True
AddGadgetItem combobox,"Option 4"

While WaitEvent()

	Select EventID()
		Case EVENT_GADGETACTION
			If EventSource() = button Then Notify "ComboBox Text: " + combobox.GetText$()
		Case EVENT_WINDOWCLOSE
			End
	End Select
	
Wend


:P

Will be testing the ComboBox and adding textstyle flag support on the other platforms in the next few days.

I'm liking this current flurry of updates and fixes. Thanks, BRL!

Thank you, we all appreciate your work :D

Are documents next? ;)

Documents are for the weak... ;)