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

ATL / WTL / STL

 
GeneralRe: TextOut a BSTR Pin
SiddharthAtw11-Feb-04 1:17
SiddharthAtw11-Feb-04 1:17 
GeneralRe: TextOut a BSTR Pin
Steve S11-Feb-04 6:12
Steve S11-Feb-04 6:12 
GeneralRe: TextOut a BSTR Pin
Anonymous11-Feb-04 10:42
Anonymous11-Feb-04 10:42 
GeneralRe: TextOut a BSTR Pin
SiddharthAtw11-Feb-04 17:39
SiddharthAtw11-Feb-04 17:39 
GeneralRe: TextOut a BSTR Pin
Steve S11-Feb-04 22:32
Steve S11-Feb-04 22:32 
GeneralRe: TextOut a BSTR Pin
Brigsoft12-Feb-04 8:35
Brigsoft12-Feb-04 8:35 
GeneralGeting Main brower window corridnates Pin
macattack10-Feb-04 10:29
macattack10-Feb-04 10:29 
GeneralCWindow* to CWnd* Pin
Member 4085619-Feb-04 23:53
Member 4085619-Feb-04 23:53 
Hi.

I have a ATL inproc server that manages CWindowImpl derived window* internally.

The client need to get the internal window pointer, but I wanna return CWnd* instead ,because the client just need the basic windows behaviors of my control.

My control derived like this.

class CChartChildWnd : public CWindowImpl<cchartchildwnd,cwindow,ccontrolwintraits>,public CObject...


CChartChildWnd* pChartWnd = NULL; This is my actual control window.

and find the required window pointer.
if(!m_mapChartWnds->Lookup(strKey, (CObject*&)pChartWnd))
return E_FAIL;


VariantInit(varWnd);
varWnd->vt = VT_R4 | VT_BYREF;

And.. finally I need to set CWnd* as a return...
varWnd->byref = ?;

Thanks for..
GeneralRe: CWindow* to CWnd* Pin
_Magnus_10-Feb-04 1:36
_Magnus_10-Feb-04 1:36 
GeneralRe: CWindow* to CWnd* Pin
Jörgen Sigvardsson11-Feb-04 8:50
Jörgen Sigvardsson11-Feb-04 8:50 
GeneralRestricting a BHO Pin
macattack9-Feb-04 12:39
macattack9-Feb-04 12:39 
GeneralRe: Restricting a BHO Pin
Jason De Arte10-Feb-04 7:04
Jason De Arte10-Feb-04 7:04 
GeneralRe: Restricting a BHO Pin
macattack10-Feb-04 7:18
macattack10-Feb-04 7:18 
QuestionHow to add a help file into a wtl dialog? Pin
freehawk8-Feb-04 19:27
freehawk8-Feb-04 19:27 
GeneralError in wizard Pin
SiddharthAtw8-Feb-04 18:16
SiddharthAtw8-Feb-04 18:16 
GeneralRe: Error in wizard Pin
Simon.W9-Feb-04 1:12
Simon.W9-Feb-04 1:12 
QuestionIdentical methods/properties in separate interfaces ? Pin
Alwin756-Feb-04 0:16
Alwin756-Feb-04 0:16 
AnswerRe: Identical methods/properties in separate interfaces ? Pin
_Magnus_6-Feb-04 2:43
_Magnus_6-Feb-04 2:43 
AnswerRe: Identical methods/properties in separate interfaces ? Pin
Jörgen Sigvardsson7-Feb-04 23:01
Jörgen Sigvardsson7-Feb-04 23:01 
QuestionHow can i get properties of com object dynamically Pin
Inam5-Feb-04 19:46
Inam5-Feb-04 19:46 
AnswerRe: How can i get properties of com object dynamically Pin
Jörgen Sigvardsson5-Feb-04 21:37
Jörgen Sigvardsson5-Feb-04 21:37 
GeneralAbout CString Pin
freehawk5-Feb-04 18:48
freehawk5-Feb-04 18:48 
GeneralRe: About CString Pin
Jörgen Sigvardsson5-Feb-04 21:35
Jörgen Sigvardsson5-Feb-04 21:35 
QuestionHow to get a double-click message? Pin
freehawk4-Feb-04 21:35
freehawk4-Feb-04 21:35 
AnswerRe: How to get a double-click message? Pin
_Magnus_5-Feb-04 0:11
_Magnus_5-Feb-04 0:11 

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.