控件隐藏在“对话框最小化"对话框中最大化 [英] Controls hide on Dialog Minimize & Maximize

查看:79
本文介绍了控件隐藏在“对话框最小化"对话框中最大化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在开发一个具有多个选项卡的应用程序,这些选项卡具有不同的对话框,并且很少有控件绑定到这些选项卡.
我面临的问题是每当我在对话框隐藏上执行Alt + Tab我的控件(ListControl)时(我是说它们不可见).
但是,当我再次通过鼠标选择特定的TAB时,一切正常显示.

我注意到的一件事是,仅在执行ALT + TAB之前单击列表控件一次后,该问题才会发生.

我已经尝试过各种方法,例如在ParentDialogs onActivate方法上为当前选择的Tabs对话框调用showWindow.

需要一些帮助...

Hi,

Im developing a application which has multiple tabs with different dialogs having few controls binded to those tabs.
The problem im facing is whenever i do a ALT+TAB my controls(ListControl) on the dialog hide (i mean they are not visible).
But when i select the specific TAB again by a mouse click everything appears normally.

One thing i have noticed is the issue occurs only after i click on the List control once before doing ALT + TAB.

I have tried various things like calling showWindow for the currently selected Tabs Dialog on ParentDialogs onActivate method.

Need some help...

推荐答案

尝试controlName-> Show()和controlName-> Hide()例程...
try controlName->Show() and controlName->Hide() routines...


大家好,谢谢,
我找到了解决方案,包装程序中有一个错误...
Hey Guys Thanks a lot,
I found the solution, there was a bug in my wrapper...


这篇关于控件隐藏在“对话框最小化"对话框中最大化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆