|
|||
|
Yes, I'm a SWFKit newbie.
After searching through the forum, I've found a way to make the application show up in the system tray. However, what I really want to do is to "intercept" the default minimize action, and always minimize the application to the system tray.
Any help would be greatly appreciated. |
|
|||
|
It is just to hide the program when the "-" button is pressed, so that it seems that the window is minimized to the system tray.
Code:
getMainWnd().onSize = function (type, w, h) {
if (type == 1/*minimized*/) {
this.hide();
}
}
|
|
|||
|
Awesome!
So, I put that code into the Initialize script, and it works beautifully. My next question is, where can I look up that awesome stuff you put into that script? For example, where did you get this from: Code:
if (type == 1/*minimized*/) {
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|