PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD19] Accessing window controls from library callback
[WD19] Accessing window controls from library callback
Iniciado por guest, 20,abr. 2015 09:34 - 2 respuestas
Publicado el 20,abril 2015 - 09:34
Hi all,

I am developing an windev windows application. In that I have only one window with some controls in it. In my application I am loading an external library written in C. Now I am getting a callback to my application form library. At this time I want to access my window controls. Any help in this regard?
NOTE: My callback is an global procedure. So is there any way to make my window controls global?

Thanks and Regards,
Naveen Rathan
Publicado el 20,abril 2015 - 13:53
Hi

I'm not sure I understand the question... let's see

- windev application
- calls a C dll and define a callback procedure
- this callback procedure is therefore a windev procedure
- a windev global procedure can access any control of any windev window (if it is open) with the basic syntax windowname.controlname

So, if the answser is not the basic syntax windowname.controlname, then I do not understand the question

Best regards
Publicado el 20,abril 2015 - 14:15
Oops, I blame myslef seriously for not trying this. It is just that I am very new to WinDev.

Anyways Thanks Fabrice, you saved my day.

Regards,
Naveen Rathan