DC_WaitOn() with a retractable window
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
DC_WaitOn() with a retractable window
Is it possible to run the DC_WaitOn() function so that the progress bar can move, hide behind opening Windows, or collapse? Or maybe there is a similar function that can do this?
Re: DC_WaitOn() with a retractable window
Privjet Mr. Lutsenko
You will need to
a) remove 'ALWAYSONTOP' parameter for DCGETOPTIONS inside dc_waiton() source
or b) modify dc_waiton() with additional parameter that turns on/off ALWAYSONTOP
express\Source\Dclipx\_dcexpl.prg ; line 564
Currently it is hardcoded as fair i see it in source
You will need to
a) remove 'ALWAYSONTOP' parameter for DCGETOPTIONS inside dc_waiton() source
or b) modify dc_waiton() with additional parameter that turns on/off ALWAYSONTOP
express\Source\Dclipx\_dcexpl.prg ; line 564
Currently it is hardcoded as fair i see it in source
Eugene Lutsenko wrote:Is it possible to run the DC_WaitOn() function so that the progress bar can move, hide behind opening Windows, or collapse? Or maybe there is a similar function that can do this?
Re: DC_WaitOn() with a retractable window
DC_WaitOn() is a very old function written before I even started writing eXpress++.
I'll see what I can do about giving you ALWAYSONTOP as an option.
I'll see what I can do about giving you ALWAYSONTOP as an option.
The eXpress train is coming - and it has more cars.
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: DC_WaitOn() with a retractable window
This is old, bad code so don't cringe when you see it. It is about 30 years old.
Here is an updated _DCEXPL.PRG with an additional parameter you can pass to DC_WaitOn().
The 12th parameter is lAlwaysOnTop. It defaults to TRUE. You would pass it FALSE.
Example:
Copy _DCEXPL.PRG to your \exp20\source\dclipx folder and run build20.bat or build19_sl1.bat to rebuild dclipx.dll.
Here is an updated _DCEXPL.PRG with an additional parameter you can pass to DC_WaitOn().
The 12th parameter is lAlwaysOnTop. It defaults to TRUE. You would pass it FALSE.
Example:
Code: Select all
FUNCTION Main()
LOCAL oScrn, i
oScrn := DC_WaitOn('Building Data...',,,,,,,,,,,.f.)
FOR i := 1 TO 10
Sleep(100)
NEXT
DC_Impl(oScrn)
RETURN nil
- Attachments
-
- _dcexpl.zip
- (6.86 KiB) Downloaded 684 times
The eXpress train is coming - and it has more cars.
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: DC_WaitOn() with a retractable window
Thank you very much, Roger! Health and well-being to you!