Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Robert D. Nicholson
Fri, 21 Aug 1992 08:21
Window's order
Author: Robert D. Nicholson
Date: Fri, 21 Aug 1992 08:21
Date: Fri, 21 Aug 1992 08:21
25 lines
976 bytes
976 bytes
I wish to only make a window order front if it
is not already at the front. I tried this.
- makeKeyAndOrderFront:sender
{
/* only bring to front if not already at front */
unsigned int windowNumber;
int frontWindowNum;
int localWindowNum;
localWindowNum = [window windowNum];
if (localWindowNum > 0) {
NXConvertWinNumToGlobal(localWindowNum, &windowNumber);
PSfrontwindow(&frontWindowNum);
if (frontWindowNum != windowNumber) {
[window orderFront:sender];
}
} else {
[window orderFront:sender];
}
return self;
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads