said:
>Presentation Manager has a bunch of functions. One of them is:
> BOOL WinOpenObject (
> HOBJECT Object,
> ULONG View,
> BOOL OpenExisting )
>which opens the workplace shell object specified by Object.
>WinOpenObject returns a boolean value indicating success or failure.
>If it fails, how do I figure out why?
>There's a WinGetLastError function but my documentation doesn't show that
>it returns any info for WinOpenObject.
I did a bit of document searching and didn't come up with anything other
than WinGetLastError and WinGetErrorInfo. Did you do a test case to see
what these would return for a failing WinOpenObject?
Steven
--
-----------------------------------------------------------
Steven Levine MR2/ICE #10183
-----------------------------------------------------------
=====================================================
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".
=====================================================
Return to [ 13 |
March |
1999 ]
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.