Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Need Help in add-in

Need Help in add-in

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionc++jsonworkspace
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi, Hope this is the right place to post this question. I'm writing an add-in in the MSVC++ 6.0 Environment. In the add-in I write to the 'macro' tab of the output window( The window where the build info, search info, etc. is displayed.). The content that is written to this window is in the format of the error messages generated by the VC6 compiler. This helps to go to the source line where the error has occured. My problem is that I wish to read from the macro tab of this output window the content of the error message (viz. error number, error description etc.) from the add-in code. Is there any way I can do it? It is easy to write to this window as an API(PrintToOutputWindow) in the IApplication class is provided. didn't find anyway to read from it. Can anyone help me? Thanks in advance. Achyut.

    M 1 Reply Last reply
    0
    • L Lost User

      Hi, Hope this is the right place to post this question. I'm writing an add-in in the MSVC++ 6.0 Environment. In the add-in I write to the 'macro' tab of the output window( The window where the build info, search info, etc. is displayed.). The content that is written to this window is in the format of the error messages generated by the VC6 compiler. This helps to go to the source line where the error has occured. My problem is that I wish to read from the macro tab of this output window the content of the error message (viz. error number, error description etc.) from the add-in code. Is there any way I can do it? It is easy to write to this window as an API(PrintToOutputWindow) in the IApplication class is provided. didn't find anyway to read from it. Can anyone help me? Thanks in advance. Achyut.

      M Offline
      M Offline
      Mike Melnikov
      wrote on last edited by
      #2

      >> In the add-in I write to the 'macro' tab of the output >> window If YOU are writing to 'macro' tab I think you can analyze that text immediately :) Or you want to get something else? Mike.

      A 1 Reply Last reply
      0
      • M Mike Melnikov

        >> In the add-in I write to the 'macro' tab of the output >> window If YOU are writing to 'macro' tab I think you can analyze that text immediately :) Or you want to get something else? Mike.

        A Offline
        A Offline
        Achyut
        wrote on last edited by
        #3

        thanks for replying. Yeah, I can do that then and there. But since I write the warnings generated by compiler to the 'macro' tab, I click on them later when I browse thru each warning. So I want the info of the warning I click on (rather doubleclick on). Is that possible? -Achyut

        M 1 Reply Last reply
        0
        • A Achyut

          thanks for replying. Yeah, I can do that then and there. But since I write the warnings generated by compiler to the 'macro' tab, I click on them later when I browse thru each warning. So I want the info of the warning I click on (rather doubleclick on). Is that possible? -Achyut

          M Offline
          M Offline
          Mike Melnikov
          wrote on last edited by
          #4

          Standart macros window allow you to open any file at any line. As I understand you want something more. I think you can spend several days and write code that subclass macros window, then catch doubleclick, then find selected line, then... I think you should make your own window with your design. And in that window you can do anything you like. Mike

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups