🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8883

Re: WM_APP wparam

#8883
From: Alan Bellingham
Date: Fri, 27 Aug 2004 06:56
23 lines
1665 bytes
"Digby Millikan" <digbym@internode.on.net> wrote:

> I use WM_APP for my messages should I also use WM_APP for wparams,
>or are ther alternatives i.e.
>
>        #define WM_TITLE WM_APP+1
>        #define TI_TITLE1 WM_APP+2
>
>        SendMessage(GBNGHandle,WM_TITLE,TI_TITLE1,NULL);
>
> Is this appropriate to use WM_APP for wparam also?

No, it is not. It is merely confusing.

Once you're sending messages in your own range, it is entirely up to you
what wParam and lParam are meant to mean. The convention is that if
they're not being used, you set them to zero.

Alan Bellingham
-- 
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming               <url:http://accu.org/>
The 2004 Discworld Convention                   <url:http://dwcon.org/>
Technical Details
Message-ID: <2lmti0d4d7j4snv7jkdt94jv8cnl6o4jv3@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <412eba25@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d2dc0a6e7a380aeb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: WM_APP wparam
Date: Fri, 27 Aug 2004 07:56:20 +0100
Reply-To: alanb@episys.com
Message-ID: <2lmti0d4d7j4snv7jkdt94jv8cnl6o4jv3@4ax.com>
References: <412eba25@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1093589777 62.49.31.105 (26 Aug 2004 23:56:17 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail