Skip to main content
GameDev.net gamedev.net
🔒 Locked

Window beeps when clicked.

Started by CodaKiller Nov 28, 2009 at 1:43 PM 1 replies 1.3k views
Original Post
CodaKiller
CodaKiller
I have a dummy window which I am using to hide the mouse cursor, I'm using DefWindowProc to process the messages for the window since I don't need to do anything with the messages but when I click the mouse buttons my computer beeps which is not acceptable for my game, how do I fix this?
Remember Codeka is my alternate account, just remember that!
DrYap
DrYap
Why are you covering the cursor with a window? Just use ShowCursor.
CodaKiller
CodaKiller
Quote:
Original post by DrYap
Why are you covering the cursor with a window? Just use ShowCursor.


I am quite aware of the ShowCursor since I am using it to hide the cursor, I am trying to hide the cursor without a visible window, the window I speak of is 1x1 pixels, transparent and I'm using ClipCursor to keep the cursor over the window.

This works exactly how I want but I don't understand why the cursor is beeping when I click a button?
Remember Codeka is my alternate account, just remember that!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.