Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Update:
I can get the icon into the task tray....but selecting it does not bring me back to my application.
Any ideas?

----

Old message:
After spending the day weeding through example code and documents, I am still confused.
Perhaps I need to simplify my question.

Using Sapphire Simulator and loading any of the demo applications...I can hit the home
key and see the applications icon sitting happily in the task try.

The applications do not have anything having anything to do with:
"AEEWindowMgrExt_PROPEX_STATE", yet the icon shows up there.

I am getting the feeling that this is used only if you make an minimize a popup window in your application.

None the less...All I want to do is have my applications icon show up in the task try when the home key is pressed. I don't see why this should be so hard...so I must be missing something simple.

So what has to be configured for this to happen?

Please, anybody help!

Thank you in advance.

-Mike

It's been a while since I looked at it, but I think the HellowWindow example has some code in there relating to the task tray.

It's been a while since I looked at it, but I think the HellowWindow example has some code in there relating to the task tray.

Thanks.
Any idea where I can download it?
I can't find a link for HellowWindow or HelloWindow.
I am sure it is because I am not properly handling the event through the TaskTrayWidgetHandler...
but not sure what to do now.
-Mike

Thanks.
Any idea where I can download it?
I can't find a link for HellowWindow or HelloWindow.
I am sure it is because I am not properly handling the event through the TaskTrayWidgetHandler...
but not sure what to do now.
-Mike

Update again.
I found HelloWindow.
I notice right of the bat the handler is getting way more events than my app is.
For example, I don't see a EVT_WDG_CANTAKEFOCUS, or EVT_WDG_SETFOCUS, or
EVT_WDT_WINDOWSTATUS like in the demo program.
Any idea why I would not see those events?
-Mike

Update again.
I found HelloWindow.
I notice right of the bat the handler is getting way more events than my app is.
For example, I don't see a EVT_WDG_CANTAKEFOCUS, or EVT_WDG_SETFOCUS, or
EVT_WDT_WINDOWSTATUS like in the demo program.
Any idea why I would not see those events?
-Mike

You are probably not setting up your app as a windowed app (thus the example of how to do this)

You are probably not setting up your app as a windowed app (thus the example of how to do this)

>>You are probably not setting up your app as a windowed app
>> (thus the example of how to do this)
Yes, you probably right. I probably am not setting up the app as a windowed up.
So that brings up a new question. How is it that c_basicapp leaves an icon in the task tray
when the home key is pressed.
Looking through "Converting an Application to use Windows" I see the three steps.
Create Window Manager, a Display Widget and the Window.
c_basicapp has none of that...can't even find the word "window" anywhere.
So how is it that c_basic app works?
Thanks,
Mike

>>You are probably not setting up your app as a windowed app
>> (thus the example of how to do this)
Yes, you probably right. I probably am not setting up the app as a windowed up.
So that brings up a new question. How is it that c_basicapp leaves an icon in the task tray
when the home key is pressed.
Looking through "Converting an Application to use Windows" I see the three steps.
Create Window Manager, a Display Widget and the Window.
c_basicapp has none of that...can't even find the word "window" anywhere.
So how is it that c_basic app works?
Thanks,
Mike