windows.h without the mouse support

This is a discussion on windows.h without the mouse support within the C++ Programming forums, part of the General Programming Boards category; I made a console application that starts in fullscreen. windows.h is a required header file, but when in fullscreen the ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    6

    windows.h without the mouse support

    I made a console application that starts in fullscreen. windows.h is a required header file, but when in fullscreen the block from the mouse gets in the way.....is there a way to include windows.h and also not have the annonying mouse getting in the way of important things?

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136

    The ShowCursor function displays or hides the cursor.

    int ShowCursor(

    BOOL bShow // cursor visibility flag
    );
    Parameters

    bShow

    Specifies whether the internal display counter is to be incremented or decremented. If bShow is TRUE, the display count is incremented by one. If bShow is FALSE, the display count is decremented by one.

    Return Values

    The return value specifies the new display counter.

    Remarks

    This function sets an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is -
    1.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 02:49 PM
  2. Dev-cpp - compiler options
    By tretton in forum C Programming
    Replies: 7
    Last Post: 01-06-2006, 05:20 PM
  3. Mouse support in Dos
    By sp00k in forum C Programming
    Replies: 5
    Last Post: 05-17-2002, 10:46 PM
  4. Mouse support in console mode
    By GaPe in forum C Programming
    Replies: 1
    Last Post: 04-17-2002, 05:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21