🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Roberto Arrocha Sat, 15 Aug 1992 16:11
How to add Controls to an app's icon
#1168
Author: Roberto Arrocha
Date: Sat, 15 Aug 1992 16:11
27 lines
1100 bytes
The subject field pretty much sums it up. I would like to add Control  
objects to the app icons (ala Engage!).

I've been able to display the Control objects, but cannot get them to  
respond to mouse events on them (i.e. clicks). Can anyone help?

- setInterface
{
	id contentView;
	
	iconWindow = [NXApp appIcon];
	contentView = [iconWindow contentView];
	/* controlsMatrix is Matrix of Buttons */
	[contentView addSubview:controlsMatrix];
	[contentView addSubview:counterField];
	[iconWindow setDelegate:self];
	[iconWindow display];
	[accesoryWindow free];
	return self;
}


Thanks.

-- 
Roberto
NeXTmail: roberto@arrocha.charlotte.nc.us
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