Hi,
how can I hide an ocx-contorl? the normal ways control show stat and ff_control_showstat don't work?
regards Rainer
?
I just tried the OCX Calendar example that comes with FireFly. The following seems to work:
FF_Control_ShowState HWND_FORM1_OCXCONTROL1, %SW_HIDE
Thanks for your answer. I use ScottsLED.ocx and gave him the name KLED on the form. I use the following:
FF_Control_ShowState HWND_KONFIG_KLED,%SW_HIDE
(The forms name is KONFIG.) but nothing happens. The other functions of the ocx work fine. KONFIG is a form on a Tab-Control. I just tried Disable and Kill nothing happens...
Okay, now it works - I changed nothing at this code. I compiled a few times and suddenly, it does?!?!?!?
But I've an other problem: when I want to set the progid of ocx and call the integratet combrowsaer, I get listet all ocx, bat the text is not readable. all lines are things like: Ö@° ß#%%$ and so on. If I doubleclick on a line I get the right infos of this. So I have to try a lot of lines to find the right ocx. What's that. Some month ago it was okay. The standalone typlibbrowser works okay.
Quote from: Rainer Wiedemann on December 14, 2007, 05:37:49 PM
But I've an other problem: when I want to set the progid of ocx and call the integratet combrowsaer, I get listet all ocx, bat the text is not readable. all lines are things like: Ö@° ß#%%$ and so on. If I doubleclick on a line I get the right infos of this. So I have to try a lot of lines to find the right ocx. What's that. Some month ago it was okay. The standalone typlibbrowser works okay.
Strange. I get all of the text to display. I have attached the TypeLib Browser DLL for you to try. It is the one that I am using.
[attachment deleted by admin]
Thanks for the DLL, but the same error. I attach a screenshot of the typelib.