|
-
Jan 28th, 2001, 06:03 PM
#1
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, 06:03 AM
#2
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.
-
Jan 29th, 2001, 02:52 PM
#3
Monday Morning Lunatic
I'm not overly sure about that either 
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 29th, 2001, 03:10 PM
#4
well, the guy told me they may use their own framework.... whatever the hell that is..
-
Jan 29th, 2001, 03:19 PM
#5
Monday Morning Lunatic
I expect their framework is like MFC - keeps it's own internal message loop, and delegates the events to specific handlers.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 29th, 2001, 04:18 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|