[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1635.0. "Removing system cursor for particular widget" by RABBET::FARRELL (Money, there is no substitute!) Fri Oct 27 1989 15:05

I was wondering if you could get rid of the system cursor, over a particular
widget.  (i.e. Like setting the watch cursor).

I want my application to handle the cursor, and just not see the system cursor,
but only over that widget.

Is this possible?  Is it similar to setting the cursor to another pattern?

thanks in advance,

		$$$$ ted $$$$

T.RTitleUserPersonal
Name
DateLines
1635.1Look at the cursor routines in XLIBGR8FUL::HERBERTOrwell was only off by a few yearsFri Oct 27 1989 16:218
Look at the cursor routines in the XLIB documentation. Basically, you create a
cursor in a variety of ways (from a pixmap, or from a cursor font), and then
associate that cursor with the window you want it displayed in. After you have
the cursor created, just do XDefineCursor(XtDisplay(widget),XtWindow(widget),
cursor).

Kevin

1635.2exitRABBET::FARRELLMoney, there is no substitute!Thu Nov 09 1989 10:5913
    
    RE: .1 - Thank you for your response, but I know how to define a
    different cursor, what I want to do is get rid of the cursor all 
    together for a particular widget.  I will have my program handle the
    cursor stuff.
    
    Is there a way to do this?  If not, what is the best cursor to use
    for least visibility.  (i.e. is there a tiny dot cursor?  Dot itself is
    too big).?
    
    advTHANKSance,
    
    		$$$$ ted $$$$
1635.3null cursorTOOLEY::B_WACKERThu Nov 09 1989 11:462
Just make your own ursor with a stipple that doesn't let anything 
appear.