replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - CALLBACK_REASON response ? in %gr callback
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 

CALLBACK_REASON response ? in %gr callback
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
acw



Joined: 04 Nov 2005
Posts: 165
Location: Darkest Devon

PostPosted: Thu Jul 12, 2018 5:33 pm    Post subject: Reply with quote

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 being handled by a callback. So assigning a few specific IDs for those buttons would allow you to add and remove buttons elsewhere (and use constants rather than magic numbers) without having to recode your end of dialog handling every time something changes. As you say, using some bigger numbers is the sensible way to go.

The return value problem was only with the recent beta dlls Paul has been generating, but everything in the garden looks rosy with his latest.

Alan
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group