Hi,
"Rainer Queck" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Ignacio,
>
>> You can use a struct for this.
> Thanks for responding.
>
> Yes, but can I then typcast a incoming windows message to this struct like
> I used to do this in Delphi?
>
> // make sure we process only our messages ....
> if aMsg.Msg=FMsgId then
> begin
> FCurrentMsg := TGbReportMessage(aMsg);
In general no, it depends of the type it was before. You could do something
similar to Delphi if you use an unsafe block.
--
Ignacio Machin
machin AT laceupsolutions com
|