Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: ch@siet02.sietec.de (Chitty) Newsgroups: comp.windows.x Subject: Its a funny problem Message-ID: <9104041501.AA18670@siet02.sietec.de> Date: 4 Apr 91 15:01:46 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 28 Hi Xperts, I have 2 strange problems. 1) I create a pixmap for an icon using XCreatePixmapFromBitmapData and then I try setting this pixmap using the XSetArg( args[0], XmNiconPixmap, icon_pixmap ) ; XtSetValues( TopLevel, args, 1 ) ; using the Motif Widgets. The Problem is that the icon works only when the user interface is displayed on a remote machine. If it is displayed on the local machine the std mwm icon comes up. Could some one give me a hint about this. 2) I create my TopLevel Widget with the XtInitialize call. Even though it parses the command line it does not invoke all the required options. For e.g. UserInterface -fn 8x13bold -iconic does not start my program as desired. Does anyone have an idea. =================================================================== Name : Chittaranjan Keswani Sietec, West Berlin Address : ch@siet02.sietec.de (Internet) ..!sietec1!siet02!ch@unido.uucp (UUCP) ===================================================================