CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Belgium
    Posts
    7

    ActiveX not in Run mode

    I try to build a kind of Object Editor.
    I use a RichEdit control where I can store some
    COleControl I've defined.
    The problem is that I don't how to fixe the ActiveX mode to the Run Time mode.
    I'ts always in Design mode in my RichEditControl ...
    How can I do that ?


    UdInI

  2. #2
    Join Date
    May 1999
    Posts
    48

    Re: ActiveX not in Run mode

    See GetAmbientUserMode function. Add to your AX control, new property UserMode with the DISPID_AMBIENT_USERMODE. return TRUE there, if you want run mode.
    Sincerely, Mihai



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured