Advise GUI ?

Blitz3D Forums/Blitz3D Programming/Advise GUI ?

You could read the docs... But I'll help.

When you create a window withthe editor it compiles (writes) the basic Bltiz program for you. All well and good. It adds this bit near the bottom:

	
	;Draw the mouse
	DrawMouse(  )
	
	;Reset all GUI events
	ResetEvents(  )


NOW add ShowPointer up near the top somewhere.

AND simply REM out drawmouse and see if that does the trick!
NOTE... if you compile for a FULL SCREEN window you may not see the mouse if you have this REMed out.

I did this: SAMPLE SILLY CODE::::
Graphics 640, 480, 16, 2
SetBuffer BackBuffer(  )

Include "blitzui.bb"

;Load fonts and mouse cursors
;and collect information
Initialise(  )
ShowPointer 
;Window
win001 = Window( 152, 49, 233, 237, "Window", "0", 1, 0, 1, 1 )
btn001 = Button( 92, 167, 124, 23, "Damn!", "0", 1, 1, 0 )
cbo002 = ComboBox( 10, 17, 129, 19 )
AddComboBoxItem( cbo002, 0, "Yo Mama", "" )
AddComboBoxItem( cbo002, 0, "Yo Daddy", "" )
AddComboBoxItem( cbo002, 0, "Yo Stanky Sister", "" )
AddComboBoxItem( cbo002, 0, "You", "" )



Repeat

	;Draw the GUI and update the mouse
	UpdateGUI(  )
	
	;Event Handling
	Select app\Event
		Case EVENT_WINDOW
			Select app\WindowEvent
			End Select
		Case EVENT_MENU
			Select app\MenuEvent
			End Select
		Case EVENT_GADGET
			Select app\GadgetEvent
			End Select
	End Select
	
	;Draw the mouse
	;DrawMouse(  )
	
	;Reset all GUI events
	ResetEvents(  )

	Flip
	Cls

Until KeyHit( 1 ) Or app\Quit = True
;Free all images and controls created by BlitzUI
Destroy(  )
End

Good luck!
-RZ