[SDL] Speed Test...

thebigcheese thebigcheese at jobybednar.com
Mon Jan 27 14:39:01 PST 2003


hi ,
to deal with the mfc window, you have to pass the handle of the window on to which you want to show video, to the SDL
then SDL will manage the event of that window such as paint and button and key messages.

regds
Anupam
  ----- Original Message ----- 
  From: Cullum, Steve 
  To: 'sdl at libsdl.org' 
  Sent: Friday, January 17, 2003 4:25 PM
  Subject: RE: [SDL] SDL with MFC MDI?


  >> Or do we have to create a MFC window first, and feed it's window handle into SDL somehow? 

  I think so - if I remember correctly MFC creates the m->hWnd. I played with this a long time ago and i was able to

  swap the window handle for another one but I had problems with events, and controlling when repaints happened.

   

  I think the area to look at is Attach() and search internet for custom controls.

   

   

   

   

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030117/d0d09838/attachment-0008.htm>


More information about the SDL mailing list