Re: Add messaging for SB_CTL bars to scroll.c

2003-03-06 Thread Andrew Johnston
On Thursday 06 March 2003 11:49, Dimitrie O. Paun wrote: Please use inline functions for this sort of thing. Also, it's typically better to ask the positive question: This patch when applied to the previous patch makes the requested change. Changelog: Remove Macro for detecting invalid

Re: Add messaging for SB_CTL bars to scroll.c

2003-03-05 Thread Dimitrie O. Paun
On March 5, 2003 09:22 pm, Andrew Johnston wrote: +/* Determine if the info is valid */ +#define SCROLL_INFO_INVALID(info) \ +((info-fMask ~(SIF_ALL | SIF_DISABLENOSCROLL)) || \ +((info-cbSize != sizeof(*info)) \ +(info-cbSize != sizeof(*info) - sizeof(info-nTrackPos Please