Minor bug - can't restore from minimised during a transfer

For user who dont speak german please use this part of my forum
Antworten
myxiplx
Beiträge: 9
Registriert: Mi 28. Feb 2007, 17:32

Minor bug - can't restore from minimised during a transfer

Beitrag von myxiplx »

While doing a long transfer over bluetooth (12MB), I minimised the program and it's transfer window.

If I now try to restore the program from the notification icon, I can only restore the transfer progress window, I can't get back to the main program.

I noticed that when minimising, I had to minimise the two windows separately. I think it may be possible to overcome both of these problems by setting the transfer window form's "owner" property. That will make it minimise both windows together (I think), and should restore them together too.

I think with VB 6 the syntax is still to use Me.AddOwnedForm(transfer_form).

Ross
FJ
Site Admin
Beiträge: 32113
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

This is correct - and i coded it this way. During a file-transfer its not possible to do anything other operations on the phone. Cause this reason the main-window is either generally locked or it is hidden up to the transfer ends.
myxiplx
Beiträge: 9
Registriert: Mi 28. Feb 2007, 17:32

Beitrag von myxiplx »

In that case, a better way to achieve this is to show the file transfer as a dialog window, or set the owner as I suggested.

That means that both windows restore and maximise together, and means that so long as the file transfer window is open, the main window cannot be used.
FJ
Site Admin
Beiträge: 32113
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

If you have MyPhoneExplorer maximized and then you start the transfer and minimize to tray -> if you would restore the whole window then the complete desktop is locked. This is the reason why i made this on this way. The mainwindow is senseless since you cannot work with it during the transfer
Antworten