Skip to main content
gamedev.net
🔒 Locked

CEditView

Started by kuharh Oct 17, 2005 at 3:19 PM 0 replies 600+ views
Original Post
kuharh
kuharh
In CEditView the cursor position can be changed by left clicking the mouse in the view. Does anyone know how to stop this? I am using the view for a EIA232 terminal and want to prevent the mouse from moving the cursor. H
Zipster
Zipster
I would override the CWnd::OnLButtonDown() message handler and simply not do anything inside it. That way the base class implementation isn't called and it doesn't respond to left-button clicks.

Topic Locked

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

Sign in to reply to this topic.