[futurebasic] Init Toolbox functions

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2000 : Group Archive : Group : All Groups

From: Heather Donahue <heatherd@...>
Date: Thu, 21 Dec 2000 22:24:44 -0800
I don't know how many people have seen these functions, we don't 
usually need to Init the Toolbox.

I have this function to port to FB^3, amongst others in a larger 
project.  I know that FB already initializes some of the 'managers'.

Anyone know which, of any, of these toolbox functions should remain in FB^3?

void	InitToolbox( void )
{
	InitGraf(&qd.thePort);
	InitFonts();
	FlushEvents(everyEvent - osMask - diskMask, 0);
	InitWindows();
	InitMenus();
	TEInit();
	InitDialogs(nil);
	InitCursor();
	SetApplLimit(GetApplLimit());
	MaxApplZone();
}

Heather