If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
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.

Overlapped dialog that is not overlapped

Hi !!

I´m facing a problem that simple said is "the dialog is not overlaped, it keeps at topmost". I´ve checked all creation parameters in the resource wizard and it is in overlapped mode. I have also checked if I´m changing something on creation and found nothing out of the normal. also I changed the the paternity (with/without) and nothing changes, the parent windows get overlaped and the dialog keeps on top. Any hint how can this happen?

Re: Overlapped dialog that is not overlapped

I found that it is because the dialog is non modal. Non modal dialogs are allways visible.

The explanation is:

This dialog shoud appear only when a certain window is with the focus and it must appear at topmost (like a toolbar) but when this window is overlapped it shoud be overlapped too but the way it is it is remaining on top.

Re: Overlapped dialog that is not overlapped

I guess you are mading some confusion with hide window and overlapped window. ShowWindow with SW_HIDE simply hide the window but maintain it on its order. If it is the topmost window it will be hide but it still will be the topmost window. Modeless dialog box are created at topmost´of its parent window. Hide it don´t change it.