PDA

Click to See Complete Forum and Search --> : WindowProc & Windows Apps


denniswrenn
Jan 28th, 2001, 05:03 PM
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

Jan 29th, 2001, 05:03 AM
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.

parksie
Jan 29th, 2001, 01:52 PM
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.

Jan 29th, 2001, 02:10 PM
well, the guy told me they may use their own framework.... whatever the hell that is.. :confused:

parksie
Jan 29th, 2001, 02:19 PM
I expect their framework is like MFC - keeps it's own internal message loop, and delegates the events to specific handlers.

Jan 29th, 2001, 03:18 PM
huh?