home *** CD-ROM | disk | FTP | other *** search
- void *OpenLibrary();
-
- struct GfxBase *GfxBase;
- struct IntuitionBase *IntuitionBase;
-
- struct Window *w;
-
- main()
- {
- long err,k,d;
-
- GfxBase =(struct GfxBase *) OpenLibrary("graphics.library",0);
- IntuitionBase = OpenLibrary("intuition.library",0);
-
-
- w=IntuitionBase->ActiveWindow;
- for (k=0;k<5;k++){
- SizeWindow(w,-1,-1);
- }
-
- CloseLibrary(GfxBase);
- CloseLibrary(IntuitionBase);
- }
-
-