BTN_97 mouse over feature in 32bit (OpenInsight 32-bit Specific)
At 23 FEB 2003 06:09:07PM atef wrote:
hello fellow OI developers,
Is the BTN97 mouse over feature fully compatible with 32 bit OI? I have used it to get a "mouse over" feature on my buttons. There is a problem in that the buttons "stick" in the mouse over state sometimes. This happens if you move the mouse away from the button very fast.
Am i doing something wrong? they work fine in the 16bit version.
Thanks for your help.
At 23 FEB 2003 06:36PM atef wrote:
may i also add that i'm calling the method with the 3rd parameter as 0, to avoid the buttons shaking when the mouse goes over.
Void=BtnWin97('INITIALISE',@Window,0)
The doco says to call it as
Void=BtnWin97('INITIALISE',@Window,1)
but the buttons shake if you use this.
At 23 FEB 2003 10:08PM Donald Bakke wrote:
Since it appears that you received Btn_97 from Sprezzatura I recommend that you direct your questions to them via their [email protected]. Most of us are probably not familiar with their utility and cannot comment.
We use a slightly different technique for creating floatover buttons. However, I suspect the underlying logic is very similar. OI32 is compatible as long as the differences between 16-bit and 32-bit pointers are resolved. I am certain Sprezz would have coded their utility to work universally between both versions but it is possible that it was coded specifically for 16-bit. In this scenario the fix is very trivial.
At 24 FEB 2003 05:45AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Atef,
As Don has pointed out BTNWIN97 was indeed one our utilities that was developed for S/List. If you are using code that was supplied for OI16 then you may come across problems as MS changed the WM_SETCURSOR message slightly in Win32.
We do have an updated version so please contact us directly to resolve this.
Regards
World leaders in all things RevSoft