Delphi to C++
Moderators: SDS, support, admin
Delphi to C++
Hi,
I'm trying to convert the Edirot Delphi example to C++.
I couldn't find where TWMCommand is defined. I couldn't write Delphi equivalent snippet.
1) Could you give the details of TWMCommand.
2) Could you write the following Delphi Code in C++.
Thanks.
Sabetay
procedure TfmEntityInspector.ComboBoxWndProc(var Message: TMessage);
begin
case TWMCommand(Message).NotifyCode of
CBN_CLOSEUP:
I'm trying to convert the Edirot Delphi example to C++.
I couldn't find where TWMCommand is defined. I couldn't write Delphi equivalent snippet.
1) Could you give the details of TWMCommand.
2) Could you write the following Delphi Code in C++.
Thanks.
Sabetay
procedure TfmEntityInspector.ComboBoxWndProc(var Message: TMessage);
begin
case TWMCommand(Message).NotifyCode of
CBN_CLOSEUP:
This property was added for compatibility with previous Delphi versions. We recommend to replace it by the following:
TComboBox - class(TComboBoX)
...
published
...
property OnCloseUp: TNotifyEvent;
...
end;
Sergey.
Please post questions to the forum or write to support@cadsofttools.com
TComboBox - class(TComboBoX)
...
published
...
property OnCloseUp: TNotifyEvent;
...
end;
Sergey.
Please post questions to the forum or write to support@cadsofttools.com