DevCon for OS/2 - Developer Connection |
Operating systems: ArcaOS, eComStation, IBM OS/2 Warp |
|
|
Section 1: Start point
Section 2: Examples of WPS programs
Section 3: How to compile?Use IBM Visual Age compiler to create WPS applications and dlls. Don't use Watcom or GCC.
Section 4: WPS Guidelines
no translation
Section 5: Tips and tricksAdvice 1: Don't try this at home! - Adventures in WPS programming (Chris Wohlgemuth, netlabs.org) The Workplace Shell is a fascinating framework albeit with some rough edges. This presentation is not a HelloWorld-WPS-class-creation-in-10-easy-steps-hands-on-workshop. It features general hints, tips, tricks and workarounds for common problems. When traveling WPS land every developer may come to some obscure places where weird stuff is waiting for the innocent. Take the information given as your personal survival guide helping to get back home safely.
Section 6: WPS + PM
В: How to open WPS folder of directory X on desktop? Use this example:
#define ICNL_WINWORKPLACE #ifndef OPEN_DEFAULT #define OPEN_DEFAULT 0 #endif void openDownloadFolder(char *dDir) { HOBJECT obj; if ( ( obj = WinQueryObject( dDir ) ) != NULLHANDLE ) { WinOpenObject( obj , OPEN_DEFAULT , TRUE ); // Второй раз чтоб сделать открытую папку активной WinOpenObject( obj , OPEN_DEFAULT , TRUE ); } } В: How to use WPS classes from PM applications? no translation В: How to launch viewer for file X? no translation |
|
||
(C) OS2.GURU 2001-2024