Newbie: How can I combine Windows GUI with SDL image?

I’m enhancing my (Borland) C++ program for WIndows and
encountering some proplems in the graphic. Since I
have to replace many codes with WinAPI I started
thinking of rewrite them with SDL.

Some of my questions:

  1. Can I combine Windows GUI objects with SDL images,
    e.g. to open a ‘Surface’ in a Window, can I pass a
    handle or something like that?
  2. I’m using an EditBox on an image. Will this be a
    problem of putting a GUI object on a SDL surface?
  3. If it’s not possible to combine Windows GUI with
    SDL is there any SDL GUI library which works like
    Windows?

Thanks
Phuoc Can HUA=====
/_/_/_/_/_/_/_/_/_/_ /___/
www.huaonline.com /()_
/()
My Homepage is my Castle | | __ | |
work at huaonline.com | | [] | |
~~~~~~~~~~~~~~

http://mobile.yahoo.com.au - Yahoo! Mobile

  • Exchange IMs with Messenger friends on your Telstra or Vodafone mobile phone.

Phuoc-Can Hua wrote:

I’m enhancing my (Borland) C++ program for WIndows and
encountering some proplems in the graphic. Since I
have to replace many codes with WinAPI I started
thinking of rewrite them with SDL.

Some of my questions:

  1. Can I combine Windows GUI objects with SDL images,
    e.g. to open a ‘Surface’ in a Window, can I pass a
    handle or something like that?
  2. I’m using an EditBox on an image. Will this be a
    problem of putting a GUI object on a SDL surface?
  3. If it’s not possible to combine Windows GUI with
    SDL is there any SDL GUI library which works like
    Windows?

Everything you need should be possible but there arent functions in SDL
to directly cooperate with windows like that, because it is cross
platform of course. But there are many easy work arounds.

EVERYONE:
With the surge lately in people asking this question, I think a good
standard way of doing it should be written up and posted to the docs.