Resume and suspend messages and controls
Posted: Sun Jun 26, 2011 5:38 pm
I am making an iCal type calendar widget and came across an issue that I can't seem to resolve. The calendar control should change it's outlook depending on whether the stack it is in is the active window or not. I can trap these messages at card level by having handlers for 'resume', 'resumeStack', 'suspend', and 'suspendStack' and then calling the control to change it's appearance.
However, I want to make this widget independent so it can be copied to new stacks and they would not need any extraneous code added to them. Anyone have ideas on how this can be done. Obviously it's possible as there are third party controls out there that do exactly this.
All answers appreciated,
ibe
However, I want to make this widget independent so it can be copied to new stacks and they would not need any extraneous code added to them. Anyone have ideas on how this can be done. Obviously it's possible as there are third party controls out there that do exactly this.
All answers appreciated,
ibe