Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PB 12.5 .Net System Tray

5 posts in General Discussion Last posting was on 2013-03-05 19:38:59.0Z
Eric Posted on 2013-03-04 12:34:04.0Z
From: Eric <pigexpert@agrisyst.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: PB 12.5 .Net System Tray
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <513494bc$1@forums-1-dub>
Date: 4 Mar 2013 04:34:04 -0800
X-Trace: forums-1-dub 1362400444 172.20.134.152 (4 Mar 2013 04:34:04 -0800)
X-Original-Trace: 4 Mar 2013 04:34:04 -0800, vip152.sybase.com
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249795
Article PK: 1308066

Powerbuilder .Net 12.5

How can I place the application's Icon in the System Tray?

Thanks
Eric


Bruce Armstrong Posted on 2013-03-04 18:17:55.0Z
From: Bruce Armstrong <NOCANSPAM_bruce.armstrong@yahoo.com>
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 12.5 .Net System Tray
Message-ID: <h8p9j8t089tm9rsgu0t4gv8uqbvootabp8@4ax.com>
References: <513494bc$1@forums-1-dub>
User-Agent: ForteAgent/7.00.32.1200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 4 Mar 2013 10:17:55 -0800
X-Trace: forums-1-dub 1362421075 172.20.134.152 (4 Mar 2013 10:17:55 -0800)
X-Original-Trace: 4 Mar 2013 10:17:55 -0800, vip152.sybase.com
Lines: 11
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249801
Article PK: 1308073

http://anvil-of-time.com/wordpress/powerbuilder/powerbuilder-application-icon-in-the-system-tray/

On 4 Mar 2013 04:34:04 -0800, Eric <pigexpert@agrisyst.com> wrote:

>Powerbuilder .Net 12.5
>
>How can I place the application's Icon in the System Tray?
>
>Thanks
>Eric


Chris Pollach Posted on 2013-03-05 12:50:02.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 12.5 .Net System Tray
References: <513494bc$1@forums-1-dub> <h8p9j8t089tm9rsgu0t4gv8uqbvootabp8@4ax.com>
In-Reply-To: <h8p9j8t089tm9rsgu0t4gv8uqbvootabp8@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <5135e9fa$1@forums-1-dub>
Date: 5 Mar 2013 04:50:02 -0800
X-Trace: forums-1-dub 1362487802 172.20.134.152 (5 Mar 2013 04:50:02 -0800)
X-Original-Trace: 5 Mar 2013 04:50:02 -0800, vip152.sybase.com
Lines: 31
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249810
Article PK: 1308102

Hi Bruce;

I believe that approach was for PB Classic.
I am not sure if it will work for PB.Net

--

Regards ... Chris
President: OSUG / STD Inc.
Vice President: ISUG-TECH
Blog: http://chrispollach.blogspot.com
SourceForge: http://sourceforge.net/projects/stdfndclass
PBDJ: http://chrispollach.sys-con.com
TKD: http://www.syeoh.com

On 3/4/2013 1:17 PM, Bruce Armstrong wrote:
>
> http://anvil-of-time.com/wordpress/powerbuilder/powerbuilder-application-icon-in-the-system-tray/
>
> On 4 Mar 2013 04:34:04 -0800, Eric <pigexpert@agrisyst.com> wrote:
>
>> Powerbuilder .Net 12.5
>>
>> How can I place the application's Icon in the System Tray?
>>
>> Thanks
>> Eric


Bruce Armstrong Posted on 2013-03-05 18:38:45.0Z
User-Agent: NewsTap/4.0.1 (iPad)
From: Bruce Armstrong <NOCANSPAM_bruce.armstrong@yahoo.com>
Newsgroups: sybase.public.powerbuilder.general
Content-Type: text/plain; charset=UTF-8
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-ID: <900265569384201390.731750NOCANSPAM_bruce.armstrong-yahoo.com@forums.sybase.com>
Subject: Re: PB 12.5 .Net System Tray
References: <513494bc$1@forums-1-dub> <h8p9j8t089tm9rsgu0t4gv8uqbvootabp8@4ax.com> <5135e9fa$1@forums-1-dub>
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 5 Mar 2013 10:38:45 -0800
X-Trace: forums-1-dub 1362508725 172.20.134.152 (5 Mar 2013 10:38:45 -0800)
X-Original-Trace: 5 Mar 2013 10:38:45 -0800, vip152.sybase.com
Lines: 16
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249814
Article PK: 1308118

Should work with some minor tweaks. The methods used to create system tray
icons in WPF are very much the same as for WinForm. One thing that may be
required is adding ShowInTaskbar="false" to the main window XAML.

http://blogs.msdn.com/b/delay/archive/2009/08/31/get-out-of-the-way-with-the-tray-minimize-to-tray-sample-implementation-for-wpf.aspx

Chris Pollach <cpollach@travel-net.com> wrote:
> Hi Bruce;
>
> I believe that approach was for PB Classic.
> I am not sure if it will work for PB.Net

--
PowerBuilder Developer Center Forums - http://goo.gl/VXpIb


Bruce Armstrong Posted on 2013-03-05 19:38:59.0Z
From: Bruce Armstrong <NOCANSPAM_bruce.armstrong@yahoo.com>
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 12.5 .Net System Tray
Message-ID: <daicj81o41j4tpau3e0c3i4n3j63c67tms@4ax.com>
References: <513494bc$1@forums-1-dub> <h8p9j8t089tm9rsgu0t4gv8uqbvootabp8@4ax.com> <5135e9fa$1@forums-1-dub> <900265569384201390.731750NOCANSPAM_bruce.armstrong-yahoo.com@forums.sybase.com>
User-Agent: ForteAgent/7.00.32.1200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 5 Mar 2013 11:38:59 -0800
X-Trace: forums-1-dub 1362512339 172.20.134.152 (5 Mar 2013 11:38:59 -0800)
X-Original-Trace: 5 Mar 2013 11:38:59 -0800, vip152.sybase.com
Lines: 27
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249815
Article PK: 1308121

Also this: It's someone who implemented a WPF app based tray icon.
One of the other things they note is that you can't get the window
handle before the window is actually created (e.g., the open event of
the window). So the code would need to be moved to a post open event.

http://www.broccoliproducts.com/softnotebook/trayicon/trayicon.php

On 5 Mar 2013 10:38:45 -0800, Bruce Armstrong

<NOCANSPAM_bruce.armstrong@yahoo.com> wrote:

>Should work with some minor tweaks. The methods used to create system tray
>icons in WPF are very much the same as for WinForm. One thing that may be
>required is adding ShowInTaskbar="false" to the main window XAML.
>
>http://blogs.msdn.com/b/delay/archive/2009/08/31/get-out-of-the-way-with-the-tray-minimize-to-tray-sample-implementation-for-wpf.aspx
>
>Chris Pollach <cpollach@travel-net.com> wrote:
>> Hi Bruce;
>>
>> I believe that approach was for PB Classic.
>> I am not sure if it will work for PB.Net

The Sybase NNTP servers will be put into read-only mode in the near future.

New thread should be started in the SAP PowerBuilder Developer Center Forums
http://goo.gl/VXpIb