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.

Abount Send Function

3 posts in General Discussion (Chinese) Last posting was on 2008-10-27 09:55:15.0Z
hoboworld Posted on 2008-10-25 09:52:51.0Z
Sender: 78ba.4902eafa.1804289383@sybase.com
From: hoboworld@yeah.net
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Abount Send Function
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4902ec73.78f6.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 25 Oct 2008 02:52:51 -0700
X-Trace: forums-1-dub 1224928371 10.22.241.41 (25 Oct 2008 02:52:51 -0700)
X-Original-Trace: 25 Oct 2008 02:52:51 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:422
Article PK: 104448

I'm using SEND() function to redraw flat commandbutton. In
PB8.0,it's OK, but when i update to PB11.5, there are some
bug happen. The commandbutton is not flat style anymore.

My script (constructor event of commandbutton )

BM_SETSTYLE = 244
BS_OWNERDRAW = 11

Send(handle(this), BM_SETSTYLE , BS_OWNERDRAW, 0)

anyone can help me, thanks.


hgong Posted on 2008-10-27 09:41:34.0Z
Sender: 6943.49058ae0.1804289383@sybase.com
From: hgong
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: Abount Send Function
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49058cce.69fb.1681692777@sybase.com>
References: <4902ec73.78f6.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Oct 2008 01:41:34 -0800
X-Trace: forums-1-dub 1225100494 10.22.241.41 (27 Oct 2008 01:41:34 -0800)
X-Original-Trace: 27 Oct 2008 01:41:34 -0800, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:424
Article PK: 104447

What version of windows and What theme did you use?
I have test your code on Windows XP with "Windows XP" theme,
and find that it work well.

> I'm using SEND() function to redraw flat commandbutton. In
> PB8.0,it's OK, but when i update to PB11.5, there are some
> bug happen. The commandbutton is not flat style anymore.
>
> My script (constructor event of commandbutton )
>
> BM_SETSTYLE = 244
> BS_OWNERDRAW = 11
>
> Send(handle(this), BM_SETSTYLE , BS_OWNERDRAW, 0)
>
> anyone can help me, thanks.


hgong Posted on 2008-10-27 09:55:15.0Z
Sender: 6943.49058ae0.1804289383@sybase.com
From: hgong
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: Abount Send Function
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49059003.6aab.1681692777@sybase.com>
References: <49058cce.69fb.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Oct 2008 01:55:15 -0800
X-Trace: forums-1-dub 1225101315 10.22.241.41 (27 Oct 2008 01:55:15 -0800)
X-Original-Trace: 27 Oct 2008 01:55:15 -0800, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:425
Article PK: 104449

I have just found it also can not work with my
environment,sorry.

> What version of windows and What theme did you use?
> I have test your code on Windows XP with "Windows XP"
> theme, and find that it work well.
>
>
> > I'm using SEND() function to redraw flat commandbutton.
> > In PB8.0,it's OK, but when i update to PB11.5, there are
> > some bug happen. The commandbutton is not flat style
> anymore. >
> > My script (constructor event of commandbutton )
> >
> > BM_SETSTYLE = 244
> > BS_OWNERDRAW = 11
> >
> > Send(handle(this), BM_SETSTYLE , BS_OWNERDRAW, 0)
> >
> > anyone can help me, thanks.