Annoyances.org
Home » Windows XP Discussion Forum » Message 1143570377 Search | Help | Home
  
re: Question about 'Customize Common Dialogs'
Tuesday, March 28, 2006 at 10:26 am
Windows XP Annoyances Discussion Forum
Posted by Ryan Mooney (1 messages posted)


Thanks Luke, Thats exactly what i was looking for... Opens in the way i want it to... Suprising that this is not built into XP already... =]


On Sunday, April 10, 2005 at 7:16 pm, Falcon wrote:
>OK, sounds familiar. I play around with those hooks quite frequently. One current
>project involves a CBT hook to get my DLL loaded, then I patched the IAT of the GetOpenFilename
>and GetSaveFilename functions to point to me instead. Then, I modified the hook function
>part of the OPENFILENAME structure. Sort of another way in, so to speak. Unfortunately,
>it has its problems, but your method won't work for what I want to do.
>

(My goal was to be able to add a button to the toolbar which places a named pipe
>in the application's buffer. Then, the application will usually assume this pipe
>is a regular file and writes its data directly through to my app. ;)
>

The problem with this approach is that I am unable to hook calls to this function
>that reside in shared DLL's, such as MFC. Now, if only I could write a stack unwinder
>and a bit of assembler, I could return to the correct place without needing to patch
>the IAT... Might be risky, though.
>




Written in response to:
re: Question about 'Customize Common Dialogs' (Falcon: Sunday, April 10, 2005 at 7:16 pm)

There are presently no replies to this message.

All messages in this thread [show all]
-Question about 'Customize Common Dialogs' (Josh: Mon, Mar 25, 2002, 7:22 am)
-re: Question about 'Customize Common Dialogs' (Sonnie Parker: Mon, Mar 25, 2002, 6:45 pm)
-re: Question about 'Customize Common Dialogs' (Bill: Thu, May 2, 2002, 7:31 am)
*re: Question about 'Customize Common Dialogs' (Sonnie Parker: Thu, May 2, 2002, 10:27 am)
*re: Question about 'Customize Common Dialogs' (csv7: Thu, Apr 17, 2003, 11:33 am)
*re: Question about 'Customize Common Dialogs' (Michael Fitzpatrick: Thu, Oct 2, 2003, 6:41 pm)
-re: Question about 'Customize Common Dialogs' (robert: Mon, Nov 10, 2003, 7:33 pm)
*re: Question about 'Customize Common Dialogs' (tom: Wed, Feb 4, 2004, 12:18 am)
-re: Question about 'Customize Common Dialogs' (Luke Hudson: Mon, Apr 4, 2005, 11:17 pm)
-re: Question about 'Customize Common Dialogs' (Falcon: Tue, Apr 5, 2005, 6:07 am)
-re: Question about 'Customize Common Dialogs' (Luke Hudson: Sat, Apr 9, 2005, 6:56 pm)
-re: Question about 'Customize Common Dialogs' (Falcon: Sun, Apr 10, 2005, 7:16 pm)
*re: Question about 'Customize Common Dialogs' (Ryan Mooney: Tue, Mar 28, 2006, 10:26 am)
Return to the Windows XP Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.