如何防止某个Mdichild形式获得焦点

如何防止某个Mdichild形式获得焦点

本文介绍了使用Ctrl + Tab在其他Mdichild形式之间切换时,如何防止某个Mdichild形式获得焦点/激活?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的mdi应用程序中,我有四种mdichild形式,其中一种被用作背景并包含一些控件.
使用Ctrl + Tab在其他Mdichild形式之间切换时,如何防止背景Mdichild形式获得焦点/激活?

换句话说,如何从Ctrl + Tab序列中跳过此背景mdi子窗体?并使其z顺序成为最后一个,以便在它们之间切换时不会隐藏其他mdichild形式?

In my mdi application i have four mdichild forms, one of them is used as a background and holding some controls..

How to prevent this background mdichild form from getting focus/activation when switching between other mdichild forms using Ctrl+Tab?

In other word how to skip this background mdi child form from the Ctrl+Tab sequence? and also make its z-order to be the last one so that it doesn''t hide other mdichild forms when switching between them?

thanks in advance.

推荐答案



这篇关于使用Ctrl + Tab在其他Mdichild形式之间切换时,如何防止某个Mdichild形式获得焦点/激活?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 06:28