cliff@ficc.uu.net (cliff click) (04/07/89)
I recently bought Smalltalk V/286 for my PC. What fun! Then I decided it would be more fun *with* a mouse. I bought a no-name clone mouse, plugged it in and *presto!* Nothing. No cursor, nada. Sigh. I removed the mouse driver and tried again. After toying around I discovered that "Cursor reset" uses mouse primitive 17; not implemented on my clone mouse driver. This value is used to determine how many times the mouse is nested hidden - this many display calls are needed to force the cursor to show. I also discovered that the "NoCursorManager"'s method for "reset" uses a instance variable called "level" which is counted up and down by "Cursor show" and "Cursor hide". No problem, I thought, this is Smalltalk. I went into the instance variables for "CursorManager" and added an instance variable "level". Then I saved - !BOOM! - "Has instances". Oops, I do something wrong? Of course "CursorManager" has instances, that's how I'm using the user interface. So, how do I hack the user interface if I can't hack what I'm using? Help! Cliff Click - uunet.uu.net!ficc!cliff, cliff@ficc.uu.net