🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: It's a mistery??? WM_SYSCOMMAND & Screen Savers

#15981
From: Remy Lebeau (TeamB)
Date: Fri, 06 Jun 2003 02:09
19 lines
1669 bytes
<user@domain.invalid> wrote in message news:3EDFF4DA.90707@domain.invalid...

> The Windows docs say to return 0 from the
> WM_SYSCOMMAND message to indicate
> that it has been handled.

In order to do that, the message has to be handled in the WndProc() or
Dispatch() method instead of an OnMessage event handler.

However, as previously mentioned, using the OnMessage event does work in
this case.  It's been tested many times, on many machines.  It works.  Why
it doesn't for for him specifically, I do not know.


Gambit


Gambit
Technical Details
Message-ID: <3edff712$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ede7c1b@newsgroups.borland.com> <3EDEA93A.1090309@domain.invalid> <3edeb515$1@newsgroups.borland.com> <3EDFF4DA.90707@domain.invalid>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e18e111f10ac0959
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-05 19:07:13 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ede7c1b@newsgroups.borland.com> <3EDEA93A.1090309@domain.invalid> <3edeb515$1@newsgroups.borland.com> <3EDFF4DA.90707@domain.invalid>
Subject: Re: It's a mistery??? WM_SYSCOMMAND & Screen Savers
Date: Thu, 5 Jun 2003 19:09:18 -0700
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3edff712$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054865170 207.175.226.26 (5 Jun 2003 19:06:10 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail