Pelles C forum

Pelles C => Announcements => Topic started by: Pelle on February 08, 2005, 09:42:23 PM

Title: New version of FindFile available
Post by: Pelle on February 08, 2005, 09:42:23 PM
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
Title: Re: New version of FindFile available
Post by: JohnF on February 11, 2005, 10:54:57 AM
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
Title: Re: New version of FindFile available
Post by: tiwag on February 11, 2005, 11:06:24 AM
Quote from: "JohnF"

...who did the last changes to findfile?
...


hello John,

i did  :shock:

greetings  :D

--
tiwag
Title: Re: New version of FindFile available
Post by: JohnF on February 11, 2005, 11:16:35 AM
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
Title: Re: New version of FindFile available
Post by: tiwag on February 11, 2005, 11:26:18 AM
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
Title: Re: New version of FindFile available
Post by: JohnF on February 11, 2005, 11:58:31 AM
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
Title: New version of FindFile available
Post by: JohnF on February 12, 2005, 09:27:57 AM
Stephan,

You had changed in findfileres.h

#define IDB_CANCEL    129

to

#define IDB_CANCEL    2

That is the reason for the beep.

John
Title: New version of FindFile available
Post by: JohnF on February 13, 2005, 10:03:46 AM
Found the real problem, one should return non-zero after EndDialog()

return EndDialog(hwnd,0);

I was returning FALSE.

John