• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

UserMode in ActiveX?

I have this CWnd derived class I made to basically be a wrapper for all of my ActiveX components I create. I basically pass in a CLSID and It handles displaying them and setting up their properties.. But I'm having trouble with this ambient properties thing..In certain situations I want to load up controls in edit mode like the ActiveX Test Container does where they have hatch marks and you can click on the edges to move them around, and I haven't found away to determine how to get it into edit mode when you call the function CWnd::CreateControl...If anyone has any suggestions or sample code it would be much appreciated...Thanks

Richard
0
rabbott
Asked:
rabbott
  • 2
1 Solution
 
mikeblasCommented:
Look at the source code for Test Container; it does all you want and more.

B ekiM
0
 
rabbottAuthor Commented:
Ok....I'll try to Find the Test Container Code...Do you have any idea where the source code for that is..
0
 
mikeblasCommented:
It's on the product CD. Search for "TSTCON" in the online help, or look at the CD. YourdCD:\SAMPLES\VC98\MFC\OLE\TSTCON, on the MSDN CD that came with your VC++ 6.0 disc(s).

B ekiM


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now