rejetto forum
Software => HFS ~ HTTP File Server => Bug reports => Topic started by: MasterP on November 15, 2008, 02:20:27 PM
-
i use minimize and close to tray, which do work if i press the 2 buttons.
but if i use Ctrl-F4 or the close-button on my mouse the programm is closed.
this is the only programm on my pc, which really closes the programm if i use Ctrl-F4 or the close-button...
Can you please look at it and change it?
thx
-
The use of ALT-F4 (or still CLOSED by a right-click) is sent to the administrator of programs ( TaskMananger) and is not intercepted by hfs, contrary to a click on the cross of the mainform, so that hfs seem not to contain it correctly even if the option to minimize in start-exit is checked.
Thus this is not absolutely a bug, but a normal use of Microsoft Windows, and regrettably for you, there is nothing to change in the programming of hfs for landing that.
The question had its answer ;)
-
everytime i accidentally close hfs, because i press my leftest mouse button
some other programms i use, can do that... my list:
(µtorrent, anydvd, styler, speedfan, ati tray tools, sandboxie, taskbar shuffle, antivir, and realvnc)
it seems, that you can change it, somehow (i have no prgramming skills)
-
i use minimize and close to tray, which do work if i press the 2 buttons.
what buttons?
but if i use Ctrl-F4 or the close-button on my mouse the programm is closed.
this is the only programm on my pc, which really closes the programm if i use Ctrl-F4 or the close-button...
yes, alt+f4 (you meant ALT, didn't you?) actually quits the program. if this is not the standard practice i will try to change it. anyone can confirm?
everytime i accidentally close hfs, because i press my leftest mouse button
isn't your "leftest" just the left mouse button?
because the left mouse button works to me (it sends to tray).
-
I looked for a solution, but I did not find. >:(
He can be interressant to spread the 'minimize to tray...' to the use of ALT-F4 ???
-
maybe he has an extra mouse button with just sends the ALT+F4, that would explain it all...
anyway, if other programs do it, it can be done, although i don't know how hard it is having not even tried that
-
i use minimize and close to tray, which do work if i press the 2 buttons. --> on every window in the upper right corner...
yes, i mean ALT+F4, sorry (you can look at my said programms)
i have 2 Thumb-buttons (thanks google for the word ;)) --> one is for closing the active window form everywhere on the screen (logitech-driver)
Do you understand what i mean, its a little problem for me, to write understandable :)
-
yes, that's exactly what i supposed in my last post ;)
i'll put your request in my to-do list.
can't grant for it anyway.
anyway, it's not a bug since the feature is named "Minimize to tray clicking the close button [ X ]"
that clearly doesn't ALT+F4 ;)
-
I managed so-so to find the solution:
main.pas
.....
IMPLEMENTATION
...
// global variables
var
allowedExit:boolean;
......
procedure TmainFrm.Exit1Click(Sender: TObject);
begin
allowedExit:=true;
close()
end;
......
procedure TmainFrm.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
if not allowedExit and trayInsteadOfQuitChk.checked then
begin
canclose:=false;
minimizetotray();
exit;
end;
queryingClose:=TRUE;
...
......
INITIALIZATION
allowedExit:=false; //This line by security measure only
......
Here is for you, Rejetto, a little of work less. In the buid 215? ;)
It will be in the next French versions, there is not to doubt it :D :D
-
a big thanks for you 2 !!!
i'm on now 2.2d, so i'll update to the next beta
big big thanks :) :) :)
(but i wonder, that i'm the only person, who uses such mouse-functions)
-
anyway, it's not a bug since the feature is named "Minimize to tray clicking the close button [ X ]"
that clearly doesn't ALT+F4
sorry, for its the same thing
-
thanks mars, i'll test your solution
-
can you please delete my email-adress from my mails? these are shown directly, i hate spam
-
ok, but i had to edit all your messages.
next time use a fake address.
(or use gmail ;) )
-
Best is that he joins the forum and that he masks email in his configuration.
Two or three a little bit binding pages of pub or then a passage inescapable by one charter of manners for guests, would oblige them to join for an access without pub when they want to make posts. That would dissuade some of spammer on the forum
I do not speak here about MasterP, but about the other already met cases.
Here is it is everything, I think that that deserved to be evoked at least once. :)