Re: ListView Mouse Disable
Euhm,
I'm not sure but why not handle all clicks on the HWND yourself? If not all are sended, you could try to send the SetCapture() API.
Hope it helps.
Re: ListView Mouse Disable
Actually Im implementing the thing in NSIS installer where I cant handle this Callbacks.
Im posting here just for API method so that I can implement that in NSIS way.
My simple question is How do I disable mouse click to any window ?.
Re: ListView Mouse Disable
Quote:
Originally Posted by
hypheni
Actually Im implementing the thing in NSIS installer where I cant handle this Callbacks.
Im posting here just for API method so that I can implement that in NSIS way.
My simple question is How do I disable mouse click to any window ?.
The gray color is set by default. you can set its style as owner-draw to change its color.
For your simple question, that needs you to handle mouse clicks on "any windows" you want to control.
Re: ListView Mouse Disable
Quote:
Originally Posted by
hypheni
My simple question is How do I disable mouse click to any window ?.
As mentioned, just handle all the mouse messages and do nothing with them.
Re: ListView Mouse Disable
Quote:
Originally Posted by
Arjay
As mentioned, just handle all the mouse messages and do nothing with them.
What do you mean by "do nothing with them" ?
Re: ListView Mouse Disable
Quote:
Originally Posted by
PumpoBee
What do you mean by "do nothing with them" ?
Don't call the base class message handler for messages you want to discard.