-
About a month or two ago, I was talking to a friend, who happened to be a very good C++ programmer. And he said that use of a Window Procedure can make your application very slow if you use a lot of controls, and most commercial apps don't use it, and my question is, if they don't use the window procedure method, then what do they use?
Thanks,
Dennis
-
No, I'm pretty sure he said apps that use a message loop and window procedure will get very slow if too many controls are added, and I think he was talking about dialogs as well as windows made with createwindowex.
-
I'm not overly sure about that either :confused:
Maybe event handles play a part? As far as I can see, in every system I've programmed for (X, Win32, RISC OS), you always need a message loop to prevent the program from exiting.
-
well, the guy told me they may use their own framework.... whatever the hell that is.. :confused:
-
I expect their framework is like MFC - keeps it's own internal message loop, and delegates the events to specific handlers.
-