Change colour of screen and disable mouse

This is a discussion on Change colour of screen and disable mouse within the C Programming forums, part of the General Programming Boards category; I am an amateur in C programming. I need to create functions fo rthe below: Can anyone help me with ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    1

    Change colour of screen and disable mouse

    I am an amateur in C programming. I need to create functions fo rthe below: Can anyone help me with the below functions ASAP?

    1. To enable/disable mouse in the C application I'm developing. On clicking one radio button Disable, i should have the mouse disabled in the application and on clicking the Enable radio button, it should get enabled.

    2. To change the colour of the screen on clicking a radio button

    Thanks a lot in advance

    Regards
    Meesa

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    i think you may have the wrong forum

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    I see a few distinct problems with your question.

    1) C doesn't support graphics, color, or a mouse. So radio buttons, clicking, and enabling/disabling the mouse is difficult without knowing what system and implementation you're using. You have no choice but to rely on something nonstandard. If it's Windows (most likely I think) then the Windows Programming board would be more topical.

    2) If the mouse is disabled, how do you click on a radio button to enable it?
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. console screen (Windows)
    By hakan in forum C++ Programming
    Replies: 1
    Last Post: 03-12-2008, 07:35 AM
  2. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM

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