Click here to Skip to main content
15,915,869 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening and Displaying TIFF images Pin
Marc Richarme1-Jul-02 11:07
Marc Richarme1-Jul-02 11:07 
Questionstr to double? Pin
briefcase1-Jul-02 7:36
briefcase1-Jul-02 7:36 
AnswerRe: str to double? Pin
Chris Losinger1-Jul-02 7:46
professionalChris Losinger1-Jul-02 7:46 
GeneralRe: str to double? Pin
David Viggiano1-Jul-02 9:21
David Viggiano1-Jul-02 9:21 
AnswerRe: str to double? Pin
Stuart Dootson1-Jul-02 13:24
professionalStuart Dootson1-Jul-02 13:24 
GeneralActiveX Woes Pin
1-Jul-02 7:09
suss1-Jul-02 7:09 
QuestionWhy can't I draw a triangle to the screen? Pin
Alan Chambers1-Jul-02 7:01
Alan Chambers1-Jul-02 7:01 
Generalhelp writing add-in... Pin
RenGirion1-Jul-02 6:59
RenGirion1-Jul-02 6:59 
I'm trying to write a visual studio add-in and I need help doing what I think should be a relatively simply task: writing to the visual studio's build or output window.

I have seen add-ins that do this, but can't find source code to show how it is done. I am unexperienced with COM so I find it difficult to understand the IApplication class provided by DevStudio Add-in Wizard generated code to see if it provides such a function (which I don't think it does). I am using the Workspace Whiz Interface, but it also does not seem to present such a function. I have downloaded source code to add-ins that supposedly write to the output or build windows in MSVC++, but I can't find the code chunks where it does it, and many of them won't compile to test them further.

I have read about the "undocumented visual C++" which is an article on this site somewhere, but it only makes vague references to the fact that this can be done, without explaining how it is done. Well, it implies that you have to set up window hooks, but it doesn't give any more specifics than that.

Can somebody with experience in the matter just implement this function for me, or point me to some documentation on how I can implement this function?

void WriteToBuildWindow(const CString& sMessage)
{
//TODO: write the contents of sMessage to the build window of MSVC++
// or output window if the build window can't be done
// or any other equivalent window as applicable
}
GeneralBeginner question: Limit number of MDI pages open at one time... Pin
John Soares1-Jul-02 6:42
John Soares1-Jul-02 6:42 
GeneralRe: Beginner question: Limit number of MDI pages open at one time... Pin
Chad Koehler1-Jul-02 6:50
Chad Koehler1-Jul-02 6:50 
GeneralExporting template based class from a Dll Pin
PinkPanter1-Jul-02 6:17
PinkPanter1-Jul-02 6:17 
GeneralRe: Exporting template based class from a Dll Pin
Mike Nordell2-Jul-02 7:17
Mike Nordell2-Jul-02 7:17 
GeneralCArchiveRxception : badClass Pin
Olivier REIX1-Jul-02 6:07
Olivier REIX1-Jul-02 6:07 
GeneralRe: CArchiveException : badClass Pin
Olivier REIX2-Jul-02 21:32
Olivier REIX2-Jul-02 21:32 
GeneralRe: CArchiveException : badClass Pin
zebbedi15-Dec-03 10:47
zebbedi15-Dec-03 10:47 
GeneralRe: CArchiveException : badClass Pin
Olivier REIX15-Dec-03 20:20
Olivier REIX15-Dec-03 20:20 
GeneralRe: CArchiveException : badClass Pin
zebbedi15-Dec-03 20:44
zebbedi15-Dec-03 20:44 
GeneralProbelm regarding cpp Pin
SamirSood1-Jul-02 4:44
SamirSood1-Jul-02 4:44 
GeneralRe: Probelm regarding cpp Pin
[James Pullicino]1-Jul-02 5:06
[James Pullicino]1-Jul-02 5:06 
GeneralCEdit Control Co-Ordinates Pin
Chavez1-Jul-02 4:18
Chavez1-Jul-02 4:18 
GeneralRe: CEdit Control Co-Ordinates Pin
dazinith1-Jul-02 4:41
dazinith1-Jul-02 4:41 
GeneralNeed a DialogBar HOWTO Pin
bisserke1-Jul-02 3:56
bisserke1-Jul-02 3:56 
GeneralRe: Need a DialogBar HOWTO Pin
[James Pullicino]1-Jul-02 4:00
[James Pullicino]1-Jul-02 4:00 
GeneralRe: Need a DialogBar HOWTO Pin
bisserke1-Jul-02 4:07
bisserke1-Jul-02 4:07 
GeneralRe: Need a DialogBar HOWTO Pin
[James Pullicino]1-Jul-02 5:15
[James Pullicino]1-Jul-02 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.