Expose envdte dte in a ToolWindow1 button_click handler VS2022 #445
troglobytor
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
|
Two methods illustrated, one static, one instance: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Now how to get those "$(macros)" like a project's "(IntDir)"? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I am getting the DTE object in the InitializeAsync of my package and hold on to it in the package. Later when I need something from the DTE object then I use this reference to DTE. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to display various things in the ToolBoxWindow1 after a button is clicked that need a DTE dte instance accesible by the button_click handler. My first use was to show macros and expansions in the tool window for a project. None of the old examples seem to work or get the dte non null in the handler.
Beta Was this translation helpful? Give feedback.
All reactions