本文介绍了通过子进程处理子窗口:好的或不好的做法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.
我是新来的论坛,是C ++的新手,也是Windows原始编程的新手,通过Win32.我想知道处理子窗口消息的最佳方法是什么:注册单个子窗口的效率有多低? proc,以便我可以将整个处理程序封装在一个包中?还是做一些变通的操作,然后将开关添加到已注册的父窗口proc并调用每个子消息处理程序,是否更好?
Hi all.
I''m new to the forum, new to C++ and new to windows raw programming, through win 32. I would like to know what is the best way to handle child window messages: is it any how less efficient to register individual child window proc so that i can encapsulate the whole handler in a package? Or is it better to do a little work around and add a switch to the registered parent window proc and call each child message handler?
推荐答案
这篇关于通过子进程处理子窗口:好的或不好的做法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!