Article View: borland.public.cppbuilder.nativeapi
Article #2937Re: OnDeviceChange Problem
From: Remy Lebeau (TeamB)
Date: Tue, 17 Oct 2006 17:04
Date: Tue, 17 Oct 2006 17:04
13 lines
1261 bytes
1261 bytes
"Uri" <Uri@MyMail.com> wrote in message
news:4534d31d$1@newsgroups.borland.com...
> void OnDeviceChange(Messages::TMessage );
Just an FYI, in a message map, you need to pass TMessage by reference, not
by value, just like when overriding WndProc():
void __fastcall OnDeviceChange(Messages::TMessage &);
Gambit
Technical Details
Message-ID:
<45350f17@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4534d31d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a72a1c41eec7e70f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4534d31d$1@newsgroups.borland.com> Subject: Re: OnDeviceChange Problem Date: Tue, 17 Oct 2006 10:04:58 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <45350f17@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1161105175 69.169.4.232 (17 Oct 2006 10:12:55 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail