[win32] - 我怎样才能获得主窗口? [英] [win32] - how can i get the main window?
本文介绍了[win32] - 我怎样才能获得主窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
想象一下我不知道主窗口hwnd并且没有创建子控件。如何获得主窗口?
imagine that i don't know the main window hwnd and the child control isn't created. how can i get the main window?
推荐答案
主窗口HWND是什么? 这是您的流程或其他流程中的窗口吗? 如果它在你的过程中为什么你不知道呢?
What is the main window HWND? Is this a window in your process or another process? If it is in your process why don't you know it?
你对"孩子"的意思是什么? 这是您创建的窗口还是您希望其他人创建它? 你怎么知道孩子没有被创造?
What do you mean by "the child"? Is this a window you create or are you expecting someone else to create it? How do you know the child isn't created?
这篇关于[win32] - 我怎样才能获得主窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文