Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
GeneralColumn Name wrapping in Listview ! Pin
pahluwalia22-Oct-03 8:19
pahluwalia22-Oct-03 8:19 
GeneralRe: Column Name wrapping in Listview ! Pin
Heath Stewart22-Oct-03 9:40
protectorHeath Stewart22-Oct-03 9:40 
GeneralRe: Column Name wrapping in Listview ! Pin
pahluwalia22-Oct-03 10:26
pahluwalia22-Oct-03 10:26 
GeneralRe: Column Name wrapping in Listview ! Pin
Heath Stewart22-Oct-03 10:29
protectorHeath Stewart22-Oct-03 10:29 
GeneralRe: Column Name wrapping in Listview ! Pin
Stephane Rodriguez.22-Oct-03 11:50
Stephane Rodriguez.22-Oct-03 11:50 
GeneralSimplest of Things are Hard Pin
antoine@orchus-tech22-Oct-03 6:35
antoine@orchus-tech22-Oct-03 6:35 
GeneralRe: Simplest of Things are Hard Pin
leppie22-Oct-03 7:02
leppie22-Oct-03 7:02 
GeneralRe: Simplest of Things are Hard Pin
Philip Fitzsimons22-Oct-03 7:57
Philip Fitzsimons22-Oct-03 7:57 
GeneralRe: Simplest of Things are Hard Pin
antoine@orchus-tech22-Oct-03 18:36
antoine@orchus-tech22-Oct-03 18:36 
GeneralRe: Simplest of Things are Hard Pin
antoine@orchus-tech23-Oct-03 9:49
antoine@orchus-tech23-Oct-03 9:49 
GeneralIcon for EXE file Pin
Khang Nguyen22-Oct-03 6:12
Khang Nguyen22-Oct-03 6:12 
GeneralRe: Icon for EXE file Pin
Daniel M. Edwards22-Oct-03 8:33
Daniel M. Edwards22-Oct-03 8:33 
GeneralRe: Icon for EXE file Pin
Khang Nguyen22-Oct-03 9:31
Khang Nguyen22-Oct-03 9:31 
QuestionCreating Event ID's for Eventlog ? Pin
LongRange.Shooter22-Oct-03 6:11
LongRange.Shooter22-Oct-03 6:11 
GeneralCombobox index Pin
Mike Osbahr22-Oct-03 4:56
Mike Osbahr22-Oct-03 4:56 
GeneralWindows services Pin
Hambi22-Oct-03 2:37
Hambi22-Oct-03 2:37 
GeneralRe: Windows services Pin
Heath Stewart22-Oct-03 5:27
protectorHeath Stewart22-Oct-03 5:27 
GeneralPainting the title bar Pin
wangier21-Oct-03 23:41
wangier21-Oct-03 23:41 
Generalcontrol on Desktop Pin
vikramlinux21-Oct-03 22:19
vikramlinux21-Oct-03 22:19 
GeneralRe: control on Desktop Pin
Heath Stewart22-Oct-03 5:23
protectorHeath Stewart22-Oct-03 5:23 
GeneralRe: control on Desktop Pin
Bo Hunter22-Oct-03 12:35
Bo Hunter22-Oct-03 12:35 
GeneralRe: control on Desktop Pin
Heath Stewart22-Oct-03 12:52
protectorHeath Stewart22-Oct-03 12:52 
GeneralInternet Explorer` Pin
Srikar Y21-Oct-03 19:31
Srikar Y21-Oct-03 19:31 
GeneralRe: Internet Explorer` Pin
Heath Stewart22-Oct-03 4:11
protectorHeath Stewart22-Oct-03 4:11 
First, wrong forum.

Second, when writing COM clients, there's really no such things as classes that you can access. Everything is done through interfaces. If you're writing a COM server, you of course use classes but they implement the interface through which clients access the classes. This is one of the fundamentals of COM.

Finally, when the host (Internet Explorer) calls IObjectWithSite::SetSite(IUnknown*), you QI (QueryInterface) for the IWebBrowser2 interface. That's your web browser. Later, call IWebBrowser2::get_Document(IDispatch**) and QI the IDispatch for IHTMLDocument2 (or a newer interface, depending on your browser requirements).

Next time, though, there is a forum for ATL and COM. This would be a more suitable place. If you are using C# to do this, instead of QI'ing for an interface, you simply do a type-cast. The CLR treats this the same.

 

-----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-----
GeneralRe: Internet Explorer` Pin
Philip Fitzsimons22-Oct-03 8:01
Philip Fitzsimons22-Oct-03 8:01 

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.