Here is the senario:
I have a pbdll exe as a menu.
One of the options calls a pbcc program with shell.
Within the pbcc program, one of the options calls
a dll (written with pbdll using a modal dialog).
Here is the dialog new statment using in the dll
DIALOG NEW 0,dTitle$,,,280,130,%DS_3DLOOK AND %DS_SETFOREGROUND, %WS_EX_TOPMOST AND %WS_EX_LEFT AND %DS_CENTER TO hDlg2
Now, it all works fine. The only problem is, the dll
does not come up on top. It is in the task bar and
I can click on it for it to come up.
After I have used it, if I use it again in the same
session it usually does come up on top (i suppose it
has to do with clicking on it previously in the taskbar.
Is there a way to force it on top of the console app always when
called ?
Thanks
------------------
I have a pbdll exe as a menu.
One of the options calls a pbcc program with shell.
Within the pbcc program, one of the options calls
a dll (written with pbdll using a modal dialog).
Here is the dialog new statment using in the dll
DIALOG NEW 0,dTitle$,,,280,130,%DS_3DLOOK AND %DS_SETFOREGROUND, %WS_EX_TOPMOST AND %WS_EX_LEFT AND %DS_CENTER TO hDlg2
Now, it all works fine. The only problem is, the dll
does not come up on top. It is in the task bar and
I can click on it for it to come up.
After I have used it, if I use it again in the same
session it usually does come up on top (i suppose it
has to do with clicking on it previously in the taskbar.
Is there a way to force it on top of the console app always when
called ?
Thanks
------------------
Comment