Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Avoid "Smart' minimize on PPC
Avoid "Smart' minimize on PPC [message #441621] Tue, 17 August 2004 16:53 Go to next message
Scott Pelton is currently offline Scott PeltonFriend
Messages: 81
Registered: July 2009
Member
Is it possible to avoid the smart minimize on PPC? I am using a full
screen shell with default style and I do not want the shell to hide
(minimize) when clicking the smart minimize 'X' on the top right corner.
Is there a way to avoid the minimize button showing OR is there a way to
intercept the shell iconified event and stop it from happening? (I
actually tried setting doit=false in the event listener of
shellIconified() but it did not work for me.)

TX
Scott Pelton
Re: Avoid "Smart' minimize on PPC [message #441644 is a reply to message #441621] Wed, 18 August 2004 13:56 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Hi Scott,

No. The top window of a Pocket PC app is expected to either have the smart
minimize (default style in SWT) or the Ok Button (SWT.CLOSE style). You
can block the Ok button action by setting doit false when receiving the
SWT.Close notification. But the smart minimize itself is managed by the OS
and it simply pushes back the application behind all other ones.

What is your app for? Why can't you let the user switch to a different
one? The user will still be able to use the task list anyway.

Chris
Re: Avoid "Smart' minimize on PPC [message #441645 is a reply to message #441621] Wed, 18 August 2004 13:57 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Hi Scott,

No. The top window of a Pocket PC app is expected to either have the smart
minimize (default style in SWT) or the Ok Button (SWT.CLOSE style). You
can block the Ok button action by setting doit false when receiving the
SWT.Close notification. But the smart minimize itself is managed by the OS
and it simply pushes back the application behind all other ones.

What is your app for? Why can't you let the user switch to a different
one? The user will still be able to use the task list anyway.

Chris
Re: Avoid "Smart' minimize on PPC [message #441766 is a reply to message #441644] Tue, 24 August 2004 16:00 Go to previous messageGo to next message
Scott Pelton is currently offline Scott PeltonFriend
Messages: 81
Registered: July 2009
Member
Hi Chris

Tha app is a delivery application used by our 500+ delivery drivers. The
drivers are completely computer illiterate. There is no way they are going
to find the task list let alone know what to do if they do manage to get
there. Our app is the only app they will use on this device (Symbol
9034s). (In fact we have a piece of software that allows us to specify
what apps they can and canno use on the device).

So setting "doit = false" only works to thwart the close event? It does
not work to thwart the iconified event?

TX
Scott

Christophe Cornu wrote:

> Hi Scott,

> No. The top window of a Pocket PC app is expected to either have the smart
> minimize (default style in SWT) or the Ok Button (SWT.CLOSE style). You
> can block the Ok button action by setting doit false when receiving the
> SWT.Close notification. But the smart minimize itself is managed by the OS
> and it simply pushes back the application behind all other ones.

> What is your app for? Why can't you let the user switch to a different
> one? The user will still be able to use the task list anyway.

> Chris
Re: Avoid "Smart' minimize on PPC [message #441790 is a reply to message #441766] Wed, 25 August 2004 14:12 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
> So setting "doit = false" only works to thwart the close event? It does
> not work to thwart the iconified event?
Correct. That's the way Microsoft PDA apps are supposed to work.
Re: Avoid "Smart' minimize on PPC [message #441818 is a reply to message #441790] Wed, 25 August 2004 17:38 Go to previous message
Scott Pelton is currently offline Scott PeltonFriend
Messages: 81
Registered: July 2009
Member
Christophe Cornu wrote:

> > So setting "doit = false" only works to thwart the close event? It does
> > not work to thwart the iconified event?
> Correct. That's the way Microsoft PDA apps are supposed to work.

OK. Great. Thank You!
Previous Topic:Installing SWT
Next Topic:DND support for Custom control
Goto Forum:
  


Current Time: Fri Apr 26 17:20:05 GMT 2024

Powered by FUDForum. Page generated in 0.03331 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top