said:
>I don't know the PM API but apparently there's something called a
>"container" which the program loads with information and then instructs
>PM to display. Well, PM fails to do this on my 1600x1200 monitor when
>running Relish full-screen and restoring the window from a minimized
>state.
That's not quite what's happening. The failure is that if the list of
notes to be displayed in a window changes while the window is minimized
and if the restored window size is large, where large is not fully defined
yet, no notes are displayed when the window is restored, depending on how
the window is restored. If can now replicate the problem here and I run
at a slightly lower resolution There are also many ways to make the
hidden notes reappear.
The thing to understand about containers is, as with all PM controls,
managing them is a shared responsibility. PM and the application send
messages back and forth to request functions and to notify each other of
events. This model is very powerful because it allows the application to
leverage lots of existing functionality and to provide a consistent user
interface. It is also complex and pointing fingers at one side or the
other as the cause of the failure without a deep understanding the failure
is usually unwise.
For the programmers reading this list, your OS/2 Warp Toolkit contains
simple examples of container controls (i.e. Toolkit\Samples\PM\DRAGDROP
and Toolkit\Samples\PM\CONTROLS). The open source fm/2 makes extensive
use of container controls and is good example of advanced use.
If someone could show me the same failure with fm/2 or some other app that
makes heavy use of containers (i.e. the drives object etc. etc.) I'd be
more inclined to agree that this is entirely a PM issue.
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.37 #10183 Warp4/FP15/14.093c_W4
www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 01 |
August |
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.