Windows 10 progress bar api
Re: Windows 10 progress bar api
Hi all
Thanks for your contributions.
Greatly appreciated.
Joe
Thanks for your contributions.
Greatly appreciated.
Joe
Re: Windows 10 progress bar api
Furthermore
I am still having issues with postgresql backup which I posted under postgresql topic
Thanks
Joe
I am still having issues with postgresql backup which I posted under postgresql topic
Thanks
Joe
Re: Windows 10 progress bar api
hi,
here are the *.EXE from DEMO CODE compiled by "Microsoft Visual Studio\2022\Community" (free) under Fivewin/harbour.
harbour can use "C" CODE "direct" in a *.PRG so it i easy to use "C" CODE Sample like from ShlObj_core.h
here are the *.EXE from DEMO CODE compiled by "Microsoft Visual Studio\2022\Community" (free) under Fivewin/harbour.
harbour can use "C" CODE "direct" in a *.PRG so it i easy to use "C" CODE Sample like from ShlObj_core.h
greetings by OHR
Jimmy
Jimmy
Re: Windows 10 progress bar api
Hi,
I created a new function ProgDlg() in my PowerUtl library, using Alaska CAPI and WinAPI interface IProgressDialog. This interface doesn't has a graph display option. Here is an example on Windows 8.
@Jimmy. I can't run your demo PPROGRES.EXE on Windows 8, what could be a problem?
I created a new function ProgDlg() in my PowerUtl library, using Alaska CAPI and WinAPI interface IProgressDialog. This interface doesn't has a graph display option. Here is an example on Windows 8.
@Jimmy. I can't run your demo PPROGRES.EXE on Windows 8, what could be a problem?
Slavoljub Damnjanovic
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
Re: Windows 10 progress bar api
hi,
i have never try to run it under Windows 8, only under Windows 10 /11
greetings by OHR
Jimmy
Jimmy
Re: Windows 10 progress bar api
Hi SlavkoDam and Jimmy
Thanks a lot for your contributions, great.
I was just thinking that Progress bar with graphs could be done.
Once more thanks for your time.
Joe
Thanks a lot for your contributions, great.
I was just thinking that Progress bar with graphs could be done.
Once more thanks for your time.
Joe
Re: Windows 10 progress bar api
Hi Joe,
If you are looking for the following progress display with graph, it is achieved with WinAPI function SHFileOperation(). It is used for file operations copy, move, rename, delete. It has the same outlook on Windows 8, as well.
If you are looking for the following progress display with graph, it is achieved with WinAPI function SHFileOperation(). It is used for file operations copy, move, rename, delete. It has the same outlook on Windows 8, as well.
Slavoljub Damnjanovic
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
Re: Windows 10 progress bar api
Hi Slavkodam
Great to hear from you. That's the progressbar I am talking about. You are very correct.
The winapi you mentioned is it easy to implement.
Once again thanks for your contributions.
Joe
Great to hear from you. That's the progressbar I am talking about. You are very correct.
The winapi you mentioned is it easy to implement.
Once again thanks for your contributions.
Joe
Re: Windows 10 progress bar api
This winapi is easy to implement in Xbase++. I implemented it in function FileOper() in my PowerUtl library. If you have problem with that, let me know.The winapi you mentioned is it easy to implement.
Slavko
Slavoljub Damnjanovic
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs
Re: Windows 10 progress bar api
Hi Slavkodam
Thanks for your response.
I am using ot4Xb library and I am aware that I have to pass a STRUCTURE to the api SHFileOperation(). Therefore the structure will look as follows:
BEGIN STRUCTURE oFileOperation
MEMBER BOOL hWind
MEMBER BYTE wFunc
MEMBER WORD pFrom
MEMBER DWORD pTo
MEMBER DWORD64 fFlags
MEMBER DOUBLE fAnyOperationAborted
MEMBER FLOAT hMappings
MEMBER BINSTR lpzProgressTitle SIZE 100
END STRUCTURE
Then I will have
Local oFParam := oFileOperation():New()
oFParam:hWind := CurrentWindowHandle()
oFParam:wFunc := I don't know
oFParam:pFrom := "C:\My_Documents\0\0"
oFParam:pTo := "E:\My_Documents\0\0"
oFParam:fFlags := I don't know
oFParam:fAnyOperationAborted := 0
oFParam:hMappings := I don't know
oFParam:lpzProgressTitle := "Coping Files..."
@Shell32:SHFileOperation(oFParam)
Now I dont know if my inputs are correct and some values, I dont know.
Need help on that
Thanks
Joe
Thanks for your response.
I am using ot4Xb library and I am aware that I have to pass a STRUCTURE to the api SHFileOperation(). Therefore the structure will look as follows:
BEGIN STRUCTURE oFileOperation
MEMBER BOOL hWind
MEMBER BYTE wFunc
MEMBER WORD pFrom
MEMBER DWORD pTo
MEMBER DWORD64 fFlags
MEMBER DOUBLE fAnyOperationAborted
MEMBER FLOAT hMappings
MEMBER BINSTR lpzProgressTitle SIZE 100
END STRUCTURE
Then I will have
Local oFParam := oFileOperation():New()
oFParam:hWind := CurrentWindowHandle()
oFParam:wFunc := I don't know
oFParam:pFrom := "C:\My_Documents\0\0"
oFParam:pTo := "E:\My_Documents\0\0"
oFParam:fFlags := I don't know
oFParam:fAnyOperationAborted := 0
oFParam:hMappings := I don't know
oFParam:lpzProgressTitle := "Coping Files..."
@Shell32:SHFileOperation(oFParam)
Now I dont know if my inputs are correct and some values, I dont know.
Need help on that
Thanks
Joe