Click here to Skip to main content
15,919,245 members
Home / Discussions / COM
   

COM

 
General2D arrays in ATL 7 Pin
Urban Olars20-Oct-03 1:13
Urban Olars20-Oct-03 1:13 
GeneralRe: 2D arrays in ATL 7 Pin
Giles6-Nov-03 1:06
Giles6-Nov-03 1:06 
GeneralControl of ActiveX objects opened in IE Pin
Ed0119-Oct-03 23:50
Ed0119-Oct-03 23:50 
GeneralNotifying Multiple Instances of Changes to One Pin
Heath Stewart16-Oct-03 14:23
protectorHeath Stewart16-Oct-03 14:23 
GeneralWin32 DLL wrapped into COM object Pin
RedZenBird16-Oct-03 11:25
RedZenBird16-Oct-03 11:25 
GeneralRe: Win32 DLL wrapped into COM object Pin
Mike Pulice11-Nov-03 8:25
Mike Pulice11-Nov-03 8:25 
GeneralIHTMLWindow2::open() related question Pin
16-Oct-03 6:58
suss16-Oct-03 6:58 
GeneralRe: IHTMLWindow2::open() related question Pin
Heath Stewart17-Oct-03 9:35
protectorHeath Stewart17-Oct-03 9:35 
In order to do that, you have to QI for the IWebBrowser2 interface, but I don't think you can get that from IHTMLWindow2 (not saying you can't, just that I don't remember if you can). You could possibly QI window.external, which returns an IDispatch. The host control (in this case, the Internet Explorer client executable) supplies an IDispatch that is used to resolve the window.external reference, but it doesn't necessarily mean that it is an instance of the IWebBrowser2 implemenation. You'll just have to try a couple of these things out. Smile | :)

One you get the IWebBrowser2 interface, the width and height properties are there.

Why this isn't accessible from the window object, I don't know. It allows you get move and resize the window, or even set its location, but you can't get the current width and height! Weird. Confused | :confused:

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralHashtable Pin
Jajco15-Oct-03 4:41
Jajco15-Oct-03 4:41 
QuestionGUID is undefined ??? Pin
Saurabh_Delhi15-Oct-03 4:11
Saurabh_Delhi15-Oct-03 4:11 
AnswerRe: GUID is undefined ??? Pin
Saurabh_Delhi15-Oct-03 19:46
Saurabh_Delhi15-Oct-03 19:46 
GeneralIHTMLElement & put_innerHTML update problem Pin
Ceri14-Oct-03 23:21
Ceri14-Oct-03 23:21 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks15-Oct-03 0:23
Neville Franks15-Oct-03 0:23 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri15-Oct-03 1:00
Ceri15-Oct-03 1:00 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks15-Oct-03 1:51
Neville Franks15-Oct-03 1:51 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Steve S15-Oct-03 2:22
Steve S15-Oct-03 2:22 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks15-Oct-03 2:35
Neville Franks15-Oct-03 2:35 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri15-Oct-03 23:37
Ceri15-Oct-03 23:37 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks16-Oct-03 1:52
Neville Franks16-Oct-03 1:52 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri16-Oct-03 2:00
Ceri16-Oct-03 2:00 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri16-Oct-03 3:03
Ceri16-Oct-03 3:03 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks16-Oct-03 9:16
Neville Franks16-Oct-03 9:16 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri16-Oct-03 21:15
Ceri16-Oct-03 21:15 
GeneralDCOM RPC vulnerability Pin
yeeck13-Oct-03 17:09
yeeck13-Oct-03 17:09 
GeneralRe: DCOM RPC vulnerability Pin
Mike Dimmick15-Oct-03 4:51
Mike Dimmick15-Oct-03 4:51 

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.