ActiveX Controls

Discuss PocketC for CE (including Desktop Edition)

Postby Karsten on Sun Apr 15, 2001 10:26 am

Hi Kevin,
another question about the activex-controls.
How can I use the visual controls like the treeview-control ?
I think the comdispatch-function is not enough for the creating of the control.
The properties and methods are usable. But pocketc shows not the control.
Maybe we need a extension to the createctrl function for activex-controls.

Posts: 5
Joined: Fri Feb 23, 2001 5:52 pm
Location: Germany

Postby cao on Thu Apr 19, 2001 4:09 pm

Right now PocketC Com support only works with windowless controls. In order to get S309PictureBox, or Tree ActiveX control to work in current PocketC runtime, that would take quiet of bit work.

I am not an ActiveX expert. From what I read so far....

I went through ActiveX control book inside_out, and found it is too complicate to write it purely in C. The easier way to support the ActiveX control is to borrow classes from MFC.

Or another method might be, wrap the control in a dll and provide simpler mechanism to invoke the control and pass the main hwnd handle to the control to allow it be created in the main window.

right now, Windowless COM objects like FileSystem dlls can be created and used. I will keep researching on how to integrate these window activex controls.

if anyone knows activex well, please give me some feedback or any example code on writing a container class without using MFC or ATL.

Posts: 60
Joined: Tue Dec 05, 2000 4:11 am
Location: USA

Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 2 guests