forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 163 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Thu Jul 12, 2018 5:33 pm   Subject:
Eddie,

I'd agree you don't really want to be manually setting the ID for every button. I tend to only use the return code for basic Ok/Cancel/Yes/No buttons, with any other buttons on the window be ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Thu Jul 12, 2018 5:25 pm   Subject:
That's great Paul thanks. No more ?s and dialogs are working. It also feels more responsive on redraw. Very Happy
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Thu Jul 12, 2018 4:11 pm   Subject:
Interesting - I've never had any problem before whether using a callback or not. It is certainly supposed to work otherwise there'd be no way of telling which button caused the window to close without ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Thu Jul 12, 2018 9:09 am   Subject:
This is happening in both the 279 beta and the last download. It's okay with the 8.30 release. Expected 1 for Yes, 2 for No but all winoio ever returns is 0:

winapp
use mswin

integer:&# ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Wed Jul 11, 2018 8:12 pm   Subject:
Paul, I expect that dll is work in progress but in case this is news, I'm finding the return value from winio for a window containing buttons is not returning the index of the clicked button, just 0.
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Wed Jul 11, 2018 7:56 pm   Subject:
Great, thanks Paul. That does appear to fix the example and makes a massive difference to our main app although I am still getting a few ? reasons in the main app and always at startup after the initi ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Wed Jul 11, 2018 1:33 pm   Subject:
Alternatively is there any way I can get access to the underlying message loop, %mg(WM_LBUTTONDOWN) doesn't work, presumably ClearWin gets in there first.

I'm finding that it doesn't really need to ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Wed Jul 11, 2018 1:18 pm   Subject:
Thanks Paul. In this case our large CAD application is based around the message loop to provide lots of click and drag type operations (zoom, select etc.) so relies on the click and release events. It ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Wed Jul 11, 2018 9:45 am   Subject:
The code at the top of the thread is the code I am using to test. I can supply the exe if it helps. ? no longer appears but clicks are missed - my output shows intermittent left mouse click/release if ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Tue Jul 10, 2018 10:03 pm   Subject:
The code is the same code that is at the start of this thread. Mouse moves are filtered so it will generally only show the click & release events. It works fine with FTN 7.1.
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Tue Jul 10, 2018 5:55 pm   Subject:
Thanks Paul. Unfortunately that doesn't seem to make a difference. It's definitely related to moving the mouse at the same time as the click or release. If I keep the mouse still then everything is as ...
  Topic: CALLBACK_REASON response ? in %gr callback
acw

Replies: 31
Views: 2563

PostForum: ClearWin+   Posted: Mon Jul 09, 2018 5:48 pm   Subject:
I've just upgraded to 8.30. In the test program I don't see "?" any more but I'm finding the mouse messages are now very unreliable, in particular when a click is combined with a move (make ...
  Topic: Unstable %eb behaviour with user_colours in FTN 8
acw

Replies: 12
Views: 2402

PostForum: ClearWin+   Posted: Fri Nov 10, 2017 11:05 am   Subject:
Unfortunately the callback return values don't fix the problem - %eb has specific CB return requirements and it's more than just redraw flicker really as I get random apparent mouse clicks, text selec ...
  Topic: Unstable %eb behaviour with user_colours in FTN 8
acw

Replies: 12
Views: 2402

PostForum: ClearWin+   Posted: Wed Nov 08, 2017 5:34 pm   Subject:
Paul,
a) Yes, Win32 compilier, running on Windows 10, 8.1 and 7 x64
b) Yes, delete user_colours and its fine
c) Yes, actually it is only the combination of user_colours and a call to CLEARWIN_STRIN ...
  Topic: Unstable %eb behaviour with user_colours in FTN 8
acw

Replies: 12
Views: 2402

PostForum: ClearWin+   Posted: Wed Nov 08, 2017 3:54 pm   Subject:
Unfortunately this is still a problem with 8.2. On further investigation it appears to occur only on certain mouse hardware (in my case a Logitech G602), with or without specific mouse drivers. It's r ...
 
Page 1 of 11 Goto page 1, 2, 3 ... 9, 10, 11  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group