window-handlers on windows

  • Thread starter IOhannes M zmoelnig
  • Start date
I

IOhannes M zmoelnig

hi
(this is my first post to this ng; so if it is the wrong ng, please
direct me to the one i need...)
my problem not necessarily bound to C++ (but could also be C), but since
my application is in C++, i post it here.


i want to draw from application A into a window that has been created by
an application B (in my case: i want to render an openGL-scene into a a
browser-window)
under linux i can get a handle of type "Window" from the Xserver, into
which i can draw (assumed that i have permissions)
under windows the only such handle i have found is HWND, which is a
pointer to a structure and thus can not be shared accross
application-boundaries.

is there a way to get some (numeric, symbolic) ID that identifies a
window unambiguously ?

i have searched the web, but as soon as google seems to understand my
request it spits out sites about how to do it in linux....


any help is appreciated

mfg.a.dsr
IOhannes
 
I

IOhannes M zmoelnig

IOhannes said:
is there a way to get some (numeric, symbolic) ID that identifies a
window unambiguously ?

oh, another attempt via google revealed the EnumWindows() function which
looks (at first glance) exactly like what i was looking for...

(you have probably noticed, that i am not programming for windows a lot...)


mfg.a.sdr
IOhannes
 
I

IOhannes m zmoelnig

none wrote:


oops, sorry for my newsreader-settings.
i hope i have fixed them now
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,175
Messages
2,570,942
Members
47,489
Latest member
BrigidaD91

Latest Threads

Top