🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Danielle Cohen Wed, 15 Apr 1992 00:03
OS/2 2.0 Active Desktop Question
#728
Author: Danielle Cohen
Date: Wed, 15 Apr 1992 00:03
19 lines
1140 bytes
Here's my problem -
  
    In OS/2 2.0 I want to add a program object to the desktop
programaticaly.  I know I can do this with a WinCreateObject
call, however it requires a location and I can't quite figure
out how to determine the active desktop.  The book file says
to use a constant which doesn't exist.  If I put "d:\DESKTOP"
(where D is my bootup drive) it works only on machines that
use the \DESKTOP as the active desktop, but for instance, on
my machine the desktop is in \DESKTOP1, so no object appears.
So how can I query for the active desktop.  I search thru
OS2.INI looking for an application/key that might tell me
but didn't see an obvious answer.

Anyways, any suggestions (solutions?!) would be appreciated.

Thanks,

   Danielle (dani@hpams0c.ptp.hp.com)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads