Click here to Skip to main content
15,913,487 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: problem with message handler invocation.. Pin
harishv24-Jul-03 5:25
harishv24-Jul-03 5:25 
GeneralATL OLE DB Consumer Templates and Blobs Pin
User 2237023-Jul-03 4:01
User 2237023-Jul-03 4:01 
GeneralRe: ATL OLE DB Consumer Templates and Blobs Pin
Steve S23-Jul-03 4:41
Steve S23-Jul-03 4:41 
GeneralRe: ATL OLE DB Consumer Templates and Blobs Pin
Ed Gadziemski24-Jul-03 3:53
professionalEd Gadziemski24-Jul-03 3:53 
QuestionHow to prevent binding a Type library to a ATL Attributed DLL ? need help!!! Pin
talhalfon21-Jul-03 22:37
talhalfon21-Jul-03 22:37 
QuestionHow to prevent to write to registry from ActiveX controls? Pin
vgrigor20-Jul-03 22:45
vgrigor20-Jul-03 22:45 
QuestionCOleDocObjectItem::OnPrint(this, pInfo, TRUE) ? Pin
Mardigin19-Jul-03 12:14
Mardigin19-Jul-03 12:14 
AnswerRe: COleDocObjectItem::OnPrint(this, pInfo, TRUE) ? Pin
Mardigin19-Jul-03 13:07
Mardigin19-Jul-03 13:07 
Okay I was able to get the hdc in the following manner

<br />
void CBPReportView::OnPrint(CDC* pDC, CPrintInfo* pInfo)<br />
{<br />
	<br />
	// TODO: add customized printing code here<br />
	if(pInfo->m_bDocObject)<br />
	{<br />
		CDC * pOleDC = this->GetDC();<br />
		pDC->Attach(pOleDC->m_hDC);<br />
		pDC->TextOut(100,100,"Muah ha ha h aa");<br />
		COleDocObjectItem::OnPrint(this, pInfo, TRUE);<br />
		ReleaseDC(pOleDC);<br />
	}<br />
	else<br />
		CView::OnPrint(pDC, pInfo);<br />
}<br />


Only trouble is that "muah ha ha h aa" never shows up on my printed page, only the excel spreadsheet shows up. Any ideas?

Mardigin
GeneralComboBox Error in ATL Pin
TRZ19-Jul-03 0:42
TRZ19-Jul-03 0:42 
QuestionMay i retrieved inner object through outer object Pin
El'Cachubrey16-Jul-03 4:58
El'Cachubrey16-Jul-03 4:58 
AnswerRe: May i retrieved inner object through outer object Pin
valikac17-Jul-03 4:42
valikac17-Jul-03 4:42 
QuestionHow To Embed Excel and Remove Menu Pin
Mardigin15-Jul-03 15:51
Mardigin15-Jul-03 15:51 
QuestionWhat thread type should I use in ATL object if I develop a BHO for IE? Pin
kydfru15-Jul-03 6:58
kydfru15-Jul-03 6:58 
AnswerRe: What thread type should I use in ATL object if I develop a BHO for IE? Pin
El'Cachubrey16-Jul-03 5:03
El'Cachubrey16-Jul-03 5:03 
GeneralDownload ActiveX Pin
Anonymous15-Jul-03 5:35
Anonymous15-Jul-03 5:35 
GeneralRe: Download ActiveX Pin
Anonymous15-Jul-03 5:49
Anonymous15-Jul-03 5:49 
QuestionHow to get pointer to MainFrame window in WTL? Pin
jiang-lei13-Jul-03 16:55
jiang-lei13-Jul-03 16:55 
AnswerRe: How to get pointer to MainFrame window in WTL? Pin
Michael Dunn13-Jul-03 18:55
sitebuilderMichael Dunn13-Jul-03 18:55 
AnswerRe: How to get pointer to MainFrame window in WTL? Pin
El'Cachubrey13-Jul-03 21:26
El'Cachubrey13-Jul-03 21:26 
GeneralWTL and Windows CE Pin
Joshua Nussbaum12-Jul-03 12:51
Joshua Nussbaum12-Jul-03 12:51 
GeneralRe: WTL and Windows CE Pin
Mike Dimmick13-Jul-03 7:18
Mike Dimmick13-Jul-03 7:18 
GeneralRe: WTL and Windows CE Pin
Tim Smith13-Jul-03 15:36
Tim Smith13-Jul-03 15:36 
GeneralATL7 Attributes and Registry Pin
Paul A. Howes12-Jul-03 7:09
Paul A. Howes12-Jul-03 7:09 
GeneralHTML parsing... Pin
nw6031211-Jul-03 6:47
nw6031211-Jul-03 6:47 
GeneralRe: HTML parsing... Pin
Heath Stewart11-Jul-03 8:30
protectorHeath Stewart11-Jul-03 8:30 

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.