Xref: utzoo alt.msdos.programmer:1772 comp.sys.ibm.pc.programmer:2011 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!noose.ecn.purdue.edu!orchestra.ecn.purdue.edu!boerio From: boerio@orchestra.ecn.purdue.edu (Jeff Boerio) Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.programmer Subject: Mouse Programming problem Keywords: mouse, graphics applications Message-ID: <1990Jun17.164657.17112@ecn.purdue.edu> Date: 17 Jun 90 16:46:57 GMT Sender: news@ecn.purdue.edu (USENET news) Organization: Purdue University Engineering Computer Network Lines: 41 I am trying to write my own package that uses a mouse. I've picked up Microsoft's Mouse Programmer's Guide, and sat down to work. Here's the general following of my program: _setvideomode (_HRESBW); . . . m1 = 1; m2 = 0; m3 = m4 = 100; cmousem (&m1, &m2, &m3, &m4); m1 = 3; m2 = 0; while (m2 != 1) { cmousem (&m1, &m2, &m3, &m4); . . } Now, I compiled it using the medium model (since I used cmousem), and everything worked fine. The only problem is, I cannot see the cursor. Now, the first cmousem call should show the cursor, and the second just retrieves the position of the mouse until the left mouse button is pressed. The second call works fine. It retrieves the position, as best I can tell without seeing the cursor (I have _outtext() tell me the position of the mouse cursor. Can someone tell me how to display the cursor?! I can't seem to figure it out. If I use _displaycursor(_GCURSORON), that doesn't help. All help is appreciated! - Jeff -- Jeff Boerio (boerio@orchestra.ecn.purdue.edu) Purdue University ECN Software Support Programmer Rush Bitmap Mail Service Available: Send mail with subject of "rush bitmaps", with body containing the word help for more info to above address