CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: OCX in .RC file

  1. #1
    Join Date
    Apr 1999
    Posts
    7

    OCX in .RC file

    I have to generate dialog template in the .RC file. For each dialog in this file exists section 'Dialog info'. In this section are included definitions of all OCX controls from the dialog. How can I generate such a control definition. Which of the OCX control inforfaces are used by VC++ to generate this info?


  2. #2
    Join Date
    May 1999
    Posts
    48

    Re: OCX in .RC file

    If I understood your problem well, I am thinking that the LoadLibrary, FindResource, LoadResource APIs can be usefull. After, you load a resource file you can do what you need,
    Sincerely, Mihai



  3. #3
    Join Date
    Apr 1999
    Posts
    7

    Re: OCX in .RC file

    Thanks for response but I need something else. Imagine that you have instance of the ActiveX control and from this instance you have to generate definition of this control in the .RC file (just like VC++ do it). I need to generate definition just like in Dialog info section in .RC file.


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