Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Header drag cursor

0 views
Skip to first unread message

carles

unread,
Oct 2, 2008, 9:19:59 AM10/2/08
to
Hi,

Just solved next issue: avoid from resizing desired header columns. But it
would be nice to also control the cursor. It still appears 'splitter' cursor
on column headers where resizing is restricted. Suggestions on how to deal
with this would be really appreciated.

Thanks in advace.


Sten Westerback (MVP SDK 2005-6 :)

unread,
Oct 10, 2008, 2:28:11 PM10/10/08
to

"carles" <carle...@gmail.com> wrote in message
news:Oe9JbGJJ...@TK2MSFTNGP02.phx.gbl...

Subclassing and aborting the WM_SETCURSOR.


carles

unread,
Oct 14, 2008, 9:29:32 AM10/14/08
to
Thanks

Yes, but only solves half of the problem.
Cursor changes when mouse entering/leaving a range centered on columns
divisions.

Tested next:

on WM_SETCURSOR:
hit test and determine the column mouse is over
if it's on desired column/s AND cursor is not default* then
process (eat) WM_SETCURSOR.

*determining current cursor with GetCursor()
(default cursor handle is MP_DEFAULT = 0x00010011)

And it seems to worlk fine, now.

Carles

"Sten Westerback (MVP SDK 2005-6 :)"
<REMOVE_UPPERCASEe...@nokia.comX> ha escrit al missatge del
grup de discussió: 1223663291.605506@xnews001...

0 new messages