What can I do in 5.02 that is the equivalent of dropping it on the
form in cbuilder? I can't put it in a dialog.
Thanks
Jeff Kish
I'm also learning something about ActiveX/OCX.
I also downloaded the OLEWizard. Since I was hurried, i switched to VC++ 6,
but after that I'm coming back to implement some ActiveX in BC502+OWL.
I was also considering to extend my resource Workshop addon to support some
ActiveX.
Currently the easiest way to insert an ActiveX control is to open the .RC
file in text mode and add it manually.
For example for adding a ShocWave control just add:
CONTROL "",IDC_SHOCKWAVEFLASH1, "{D27CDB6E-AE6D-11CF-96B8-444553540000}",
WS_TABSTOP,192,7,237,148
in your dialog definition.
When i have a more completed example I will push in my personal page
(www.solidyne1.com/sebas)
Saludos
Sebastian
"Jeff Kish" <jeff...@mro.com> escribió en el mensaje
news:mf6nm19dbfn4mr2qc...@4ax.com...
>Hi Jeff:
>
>I'm also learning something about ActiveX/OCX.
>I also downloaded the OLEWizard. Since I was hurried, i switched to VC++ 6,
>but after that I'm coming back to implement some ActiveX in BC502+OWL.
>I was also considering to extend my resource Workshop addon to support some
>ActiveX.
>Currently the easiest way to insert an ActiveX control is to open the .RC
>file in text mode and add it manually.
>For example for adding a ShocWave control just add:
>
> CONTROL "",IDC_SHOCKWAVEFLASH1, "{D27CDB6E-AE6D-11CF-96B8-444553540000}",
>WS_TABSTOP,192,7,237,148
>in your dialog definition.
>
>When i have a more completed example I will push in my personal page
>(www.solidyne1.com/sebas)
>
>Saludos
<snip>
Thanks.
Can I get this displayed in a Window rather than a dialog?
Not sure how to associate it to a window.. I mean I think you use
these:
Function Action
FormatMessage Loads and formats a message-table entry.
LoadAccelerators Loads an accelerator table.
LoadBitmap Loads a bitmap resource.
LoadCursor Loads a cursor resource.
LoadIcon Loads an icon resource.
LoadImage Loads an icon, cursor, bitmap, or enhanced metafile
resource.
LoadMenu Loads a menu resource.
LoadString Loads a string-table entry.
How could I use this to load an OCX in a window rather than a dialog?
Jeff Kish
As I pointed out in another answer, why not create a DLL in C++Builder. A
DLL that acts as an interface to the ActiveX.
You can then call that DLL from your Borland 5.02 application.
/Ivar
"Jeff Kish" <jeff...@mro.com> skrev i meddelandet
news:mf6nm19dbfn4mr2qc...@4ax.com...
heh heh... yes it was a while since this was last posted!
I have put the code in a cbuilder form, and hashed out most of the
problems, and called it from borland.
thanks.
Oh.. I'd like to be able to communicate between the interface and the
rest of the app (cbuilder and 5.02). I was thinking about using char*
parameters that are xml.
Any comments?
Thanks again
and if you celebrate, have a happy holiday.
Jeff Kish
I think it would be ok if you find that you can benefit of XML.
Builder has an XML handler, under the Internet tab, that I use. If you do
not like that one there are more out there.
/Ivar
"Jeff Kish" <jeff...@mro.com> skrev i meddelandet
news:edf3q1tfmqg6if0vv...@4ax.com...