Hi everyone,
Is it possible to add a gadget to another window? i.e i get window handle of another window using findwindow, is it now possible for me to add controls to that window which can be controlled from within my pb program?
Thanx
It is possible to add Gadgets to a window that was not created with PB's
window functions. For that, you just use CreateGadgetList(WindowHandle).
But it is not possible to add a Gadget to a window of another application.
That won't work.
What do you mean by a window not created in pb? isnt that another apps window?
Could i create a panel control in vb, and then draw a control on it from PB by getting the hWnd?
I know something like that is possible - as the little monitor in screen saver settings works something like it.
Ok - ive managed to draw controls on a panel control running in a vb app - but is it possible to recieve any events from these controls? or do the events get sent to the vb app instead?
So is it possible to create a panel gadget and get the window handle of the panel gadget, then set that as the current window and set up a call back function associated with the panel?