ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Aug/Window-Troubles

This is Window-Troubles in view mode; [Up]


Date: Sun 22-Aug-1989 19:36:37 From: Unknown Subject: Window Troubles Thanks to all those who posted/mailed me solutions. Next problem: This code *should* bring up a window, and doesn't. Why? The code: /* start of code */ windowid = [Window newContent:&myRect style:NX_SIZEBARSTYLE backing:NX_BUFFERED buttonMask:NX_RESIZEBUTTONMASK defer:NO]; [windowid setTitle:"foo"]; [windowid display]; [windowid orderFront:nil]; [windowid makeKeyWindow]; /* end of code */ Where windowid is defined as an id, and myRect is set properly. It doesn't complain at all at compile time, and doesn't crash when executed. But it doesn't bring up the window. Again, why? Adam

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.