# SDL + ActiveX?

**URL:** <https://discourse.libsdl.org/t/sdl-activex/12759>\
**Category:** SDL Development\
**Created:** [November 17, 2005, 11:44pm UTC](https://discourse.libsdl.org/t/sdl-activex/12759 "2005-11-17T23:44:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Gambetta](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/gabriel_gambetta/32/4004_2.png) [@Gabriel\_Gambetta](https://discourse.libsdl.org/u/Gabriel_Gambetta)\
**Post date:** [November 17, 2005, 11:44pm UTC](https://discourse.libsdl.org/t/sdl-activex/12759/1 "2005-11-17T23:44:58Z")

</div>

I want to use SDL inside a browser window via an ActiveX component. I  
guess this should be possible using the WindowID hack and getting the  
HWND of the control somehow.

Since I have zero experience developing ActiveX controls, does anyone  
have a barebones example of SDL + ActiveX (or at least a barebones  
ActiveX sample that doesn’t use MFC, if possible)?

Thanks in advance,

```
--Gabriel-- 

```

Gabriel Gambetta  
Mystery Studio - [http://www.mysterystudio.com](http://www.mysterystudio.com)  
Gabriel on Graphics - [http://gabrielongraphics.blogspot.com](http://gabrielongraphics.blogspot.com)
