New version of FindFile available

Started by Pelle, February 08, 2005, 09:42:23 PM

Previous topic - Next topic

Pelle

A new version of the FindFile utility is available from the source code section:

http://www.smorgasbordet.com/pellesc/sourcecode.htm

under Contributions. This version includes better sorting facilities.

Pelle
/Pelle

JohnF

Quote from: "Pelle"A new version of the FindFile utility is available from the source code section:

Hello, who did the last changes to findfile?

John

tiwag

Quote from: "JohnF"
...who did the last changes to findfile?
...

hello John,

i did  :shock:

greetings  :D

--
tiwag

JohnF

Quote from: "tiwag"
Quote from: "JohnF"
...who did the last changes to findfile?
...

hello John,

i did  :shock:

greetings  :D

--
tiwag

Thank you.

I'm wondering why there is a default beep when closing the app ??

John

tiwag

Quote from: "JohnF"
...
I'm wondering why there is a default beep when closing the app ??
...

really, there is a beep to hear on my office machine, using WinXP and PellesC 3.00 b3,
when i plug in the loudspeakers  :shock:  (normally i'm working in "silent mode" in the office )

i could swear there was no beep to hear
when i compiled it the last time at home on my laptop using Win98 and PellesC 2.90.1,
where i did all the changes to findfile,

i'll have a look about when i'm at home again,
thanks for reporting

--
tiwag

JohnF

Quote from: "tiwag"
Quote from: "JohnF"
...
I'm wondering why there is a default beep when closing the app ??
...

really, there is a beep to hear on my office machine, using WinXP and PellesC 3.00 b3,
when i plug in the loudspeakers  :shock:  (normally i'm working in "silent mode" in the office )

i could swear there was no beep to hear
when i compiled it the last time at home on my laptop using Win98 and PellesC 2.90.1,
where i did all the changes to findfile,

i'll have a look about when i'm at home again,
thanks for reporting

--
tiwag

After WM_CLOSE: it 'breaks' and jumps to return FALSE - it then beeps.

I can't see why it's happening but there shouldn't be a beep.

John

JohnF

Stephan,

You had changed in findfileres.h

#define IDB_CANCEL    129

to

#define IDB_CANCEL    2

That is the reason for the beep.

John

JohnF

Found the real problem, one should return non-zero after EndDialog()

return EndDialog(hwnd,0);

I was returning FALSE.

John