If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

Desactived all windows unless ONE.

In my aplication I have some type of windows showed in an instance of time, and an action shows a new one that i want have the focus all the time , in the way that i canīt works with noone of the others. THey all are windows, child windows an modeless dialogs, but i donīt know how to do. I try use EnableWindow(FALSE) that all the others windows and dialogs, but not works. Can someone help me?

Re: Desactived all windows unless ONE.

Originally Posted by pererm

In my aplication I have some type of windows showed in an instance of time, and an action shows a new one that i want have the focus all the time , in the way that i canīt works with noone of the others. THey all are windows, child windows an modeless dialogs, but i donīt know how to do.

The situation like this most probably indicates certain (or huge) problem in UI design. Having a pile of disabled windows on my desktop would look messy and annoying to me. Having one super modal window popping up when a second before I was working with modeless dialogs would annoy me even more. Your app must be of really high value to stay installed on my workstation.

I try use EnableWindow(FALSE) that all the others windows and dialogs, but not works. Can someone help me?

You need to demo us about what "not works." As Victor already said, it does work when used proper way.

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.