Page 1 of 1

Wie DDEVENT_ON_CH_BROWSE nutzen?

Posted: Thu Mar 06, 2008 5:36 pm
by djmaba
Erstmal hoffe ich das es nicht schlimm ist das ich auf Deutsch frage da ich nicht so gut Englisch kann :?

Wie der Titel schon sagt weiß ich leider nicht so ganz wie ich DDEVENT_ON_CH_BROWSE nutzen soll.

Als kleines Beispiel:

Code: Select all

extern "C" _stdcall int OnDDEvent(DWORD EventType, void *EventParams)
{
switch( EventType )
{
case DDEVENT_ON_CH_BROWSE:

break;
}
return 0;
}
Wie komme ich nun bei DDEVENT_ON_CH_BROWSE an den gewählten Kanalnamen usw. bevor er gewechselt wird?

Ich hoffe das mir jemand helfen kann.
Gruß DJ!

Posted: Sat Mar 08, 2008 4:55 am
by saentist
Use THIS

translated text
First, I hope that it is not bad at the German I ask because I am not so good in English can

As the title suggests, unfortunately, I do not know quite how I DDEVENT_ON_CH_BROWSE use.

As a small example:

Code: Select all

extern "C" _stdcall int OnDDEvent(DWORD EventType, void *EventParams)
{
switch( EventType )
{
case DDEVENT_ON_CH_BROWSE:

break;
}
return 0;
}
How do I now DDEVENT_ON_CH_BROWSE elected to the channel name, etc. before he changed?

I hope someone can help me.
Greeting DJ!

Posted: Sat Mar 08, 2008 9:49 am
by djmaba
The solution:

Code: Select all

extern "C" _stdcall int OnDDEvent(DWORD EventType, void *EventParams)
{
switch( EventType )
{
case DDEVENT_ON_CH_BROWSE:
SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_CHL_GET_POINTER, (LPARAM)&CHL);
break;
}
return 0;
}