[aplusdev] Handle of A+ window
smith
smith at panix.com
Thu May 16 18:56:05 EDT 2002
This gets the X WIndow ID...
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <iostream.h>
#include <new.h>
#include <math.h>
#include <MSGUI/MSApplication.H>
#include <MSGUI/MSLayoutManager.H>
#include <MSGUI/MSBusy.H>
#include <MSGUI/MSGC.H>
#include <MSGUI/MSMenuItem.H>
#include <MSIPC/MSChannel.H>
#include <MSTypes/MSTime.H>
extern "C"
long g_xWindowId(const MSWidgetView *pWidget_)
{
return (pWidget_ ? pWidget_->window() : 0);
}
On Thursday, May 16, 2002, at 01:29 PM, Alexei Zalivin wrote:
> Hello,
>
> Is there way to get the X handle of A+ GUI window?
> For example:
> w<-()
> `w is `window
> show `w
> `HWD of `w
>
> Thank you,
> Alexei.
>
>
>
More information about the apluslist
mailing list