Re: DBGrid and comboboxes
From: Maarten Wiltink (maarten_at_kittensandcats.net)
Date: 10/05/04
- Next message: Urban: "LED diode, ON/OFF"
- Previous message: J French: "Re: TImage and GrayScale"
- In reply to: AlanGLLoyd: "Re: DBGrid and comboboxes"
- Next in thread: AlanGLLoyd: "Re: DBGrid and comboboxes"
- Reply: AlanGLLoyd: "Re: DBGrid and comboboxes"
- Reply: Bjørge Sæther: "Re: DBGrid and comboboxes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 5 Oct 2004 09:05:22 +0200
"AlanGLLoyd" <alanglloyd@aol.com> wrote in message
news:20041005012911.06839.00000613@mb-m15.aol.com...
> In article <I0k8d.176$Km6.3270@news4.e.nsc.no>, "Bjørge Sæther"
> <bjorge@hahaha_itte.no> writes:
>> TMyHackDBGrid(DBGrid1).InplaceEditor.Perform(wm_KeyDown, VK_DOWN,
>> $20000000); // drops down the list
> Shouldn't that be $40000000. My copy of MSDN says of the bits settings
> in WM_KEYDOWN lParam ...
>
> "Bit 29 Specifies the context code. The value is always 0 for a
> WM_KEYDOWN message .
> Bit 30 Specifies the previous key state. The value is 1 if the key is
> down before the message is sent, or it is 0 if the key is up."
The perfect argument for named constants. Expressed as (1 shl 30), of
course.
Groetjes,
Maarten Wiltink
- Next message: Urban: "LED diode, ON/OFF"
- Previous message: J French: "Re: TImage and GrayScale"
- In reply to: AlanGLLoyd: "Re: DBGrid and comboboxes"
- Next in thread: AlanGLLoyd: "Re: DBGrid and comboboxes"
- Reply: AlanGLLoyd: "Re: DBGrid and comboboxes"
- Reply: Bjørge Sæther: "Re: DBGrid and comboboxes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|