Click here to Skip to main content
15,909,091 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to load a MFC dll to a WTL project? Pin
Michael Dunn18-Jan-04 19:38
sitebuilderMichael Dunn18-Jan-04 19:38 
GeneralRe: How to load a MFC dll to a WTL project? Pin
freehawk18-Jan-04 19:48
freehawk18-Jan-04 19:48 
GeneralRe: How to load a MFC dll to a WTL project? Pin
Jörgen Sigvardsson19-Jan-04 12:10
Jörgen Sigvardsson19-Jan-04 12:10 
GeneralRe: How to load a MFC dll to a WTL project? Pin
freehawk19-Jan-04 13:34
freehawk19-Jan-04 13:34 
Generalmatching MFC and WTL Pin
lobanovski18-Jan-04 12:37
lobanovski18-Jan-04 12:37 
GeneralRe: matching MFC and WTL Pin
Jörgen Sigvardsson18-Jan-04 13:02
Jörgen Sigvardsson18-Jan-04 13:02 
GeneralSizing an ActiveX control?! Pin
mikewithersone17-Jan-04 2:34
mikewithersone17-Jan-04 2:34 
GeneralRe: Sizing an ActiveX control?! Pin
Jason De Arte19-Jan-04 19:23
Jason De Arte19-Jan-04 19:23 
I can't speak to your exact SetPixelV issues, but you should be sure to limit the area to ATL_DRAWINFO::prcBounds in your OnDraw.

I think that I can provide some insight into the size issue.
Recently I made an ATL ActiveX control for IE & in order to set the default size of the control, I modified _Module.m_sizeExtent in my constructor. When I needed to re-adjust the size of the control, I told IE to do it for me Wink | ;-)
To do that, I had to get the IHTMLDocument that my control was in & find my exact IHTMLObjectElement & then do a put_height to adjust it.
Bad Psudo Code<br />
this->GetClientSite(IOleClientSite)<br />
IOleClientSite::QI(IID_ServiceProvider)<br />
IServiceProvider->QueryService(SID_SWebBrowserApp)<br />
IWebBrowser2->get_Document()<br />
--find the IHTML Object that you want to adjust<br />
IHTMLObjectElement->put_Height(VT_I4)<br />
done

It's probably something similar for the test container - but I've never investigated it.
GeneralactiveX property read only at runtime Pin
Hesham Amin16-Jan-04 6:24
Hesham Amin16-Jan-04 6:24 
GeneralATL object in MFC project Pin
NotBear15-Jan-04 13:21
NotBear15-Jan-04 13:21 
QuestionCComPtr -&gt; CoCreateInstance failes when threaded!? Pin
virtualnik14-Jan-04 0:42
virtualnik14-Jan-04 0:42 
AnswerRe: CComPtr -&gt; CoCreateInstance failes when threaded!? Pin
virtualnik14-Jan-04 2:06
virtualnik14-Jan-04 2:06 
GeneralRe: CComPtr -&gt; CoCreateInstance failes when threaded!? Pin
Lim Bio Liong14-Jan-04 5:08
Lim Bio Liong14-Jan-04 5:08 
GeneralRe: CComPtr -&gt; CoCreateInstance failes when threaded!? Pin
virtualnik14-Jan-04 12:23
virtualnik14-Jan-04 12:23 
GeneralASSERT Trouble Pin
Monty213-Jan-04 23:42
Monty213-Jan-04 23:42 
GeneralRe: ASSERT Trouble Pin
Tim Smith14-Jan-04 16:24
Tim Smith14-Jan-04 16:24 
Questionhow to input file and display the content to different area? Pin
freehawk13-Jan-04 23:11
freehawk13-Jan-04 23:11 
GeneralATL's auto IDL generating is adding A/W to my methods! Pin
Todd Jeffreys13-Jan-04 10:05
Todd Jeffreys13-Jan-04 10:05 
GeneralRe: ATL's auto IDL generating is adding A/W to my methods! Pin
Jörgen Sigvardsson13-Jan-04 10:29
Jörgen Sigvardsson13-Jan-04 10:29 
GeneralClosing all browser windows Pin
Vermithrax12-Jan-04 9:39
Vermithrax12-Jan-04 9:39 
GeneralGlobalMultiUse Objects Pin
Roozbeh6910-Jan-04 19:20
professionalRoozbeh6910-Jan-04 19:20 
GeneralRe: GlobalMultiUse Objects Pin
Vi214-Jan-04 4:58
Vi214-Jan-04 4:58 
GeneralA question for Variant Byref parameter In StdMethodImplementation Pin
eternalme10-Jan-04 0:38
eternalme10-Jan-04 0:38 
QuestionHow can I get WM_SIZE event for the BandObject Pin
saisrinivasaln8-Jan-04 20:37
saisrinivasaln8-Jan-04 20:37 
AnswerRe: How can I get WM_SIZE event for the BandObject Pin
Jörgen Sigvardsson10-Jan-04 0:24
Jörgen Sigvardsson10-Jan-04 0:24 

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.