Is there any advantage (speed, compile size, code complexity) to using a callback per CONTROL ADD verses using a single CallBack for the Dialog?
Announcement
Collapse
No announcement yet.
1 CallBack/CONTROL ADD vs 1 CallBack for All
Collapse
X
-
You know, some of it I believe is coding style..
I put everything in one DialogProc and handle the messages there, simply because otherwise i get 20 or 30 callback functions to manage, BUT, manage you CAN do, so when I have a specific bug and need to isolate it, I use a callback....
That's my opinion, maybe others would differ but I may START with a callback and then put it in the main proc..
Scott
------------------
Scott
mailto:[email protected][email protected]</A>Scott Turchin
MCSE, MCP+I
http://www.tngbbs.com
----------------------
True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
Comment