Solved

UserMode in ActiveX?

Posted on 1998-11-09
3
294 Views
Last Modified: 2013-11-20
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
Comment
Question by:rabbott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 1324416
Look at the source code for Test Container; it does all you want and more.

B ekiM
0
 

Author Comment

by:rabbott
ID: 1324417
Ok....I'll try to Find the Test Container Code...Do you have any idea where the source code for that is..
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 1324418
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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Looking for a specific application/software 2 124
VBA "SendKeys" Syntax for Multiple Keystrokes 7 133
Excel file not created as expected 7 109
I could not set window to top 4 62
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question