By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,408 Members | 945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,408 IT Pros & Developers. It's quick & easy.

window-handlers on windows

P: n/a
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
Jul 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
IOhannes M zmoelnig wrote:
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
Jul 22 '05 #2

P: n/a

"IOhannes M zmoelnig" <zm******@iem.at> wrote in message
news:41***********************@aconews.univie.ac.a t...
hi
(this is my first post to this ng; so if it is the wrong ng, please
direct me to the one i need...)


news:comp.os.ms-windows.programmer.win32

john
Jul 22 '05 #3

P: n/a
John Harrison wrote:
news:comp.os.ms-windows.programmer.win32


aye.
thanks a lot

mfg.a.sdr
IOhannes
Jul 22 '05 #4

P: n/a
none wrote:
oops, sorry for my newsreader-settings.
i hope i have fixed them now
Jul 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.