Author Topic: GetOpenFileName Hook  (Read 52 times)

ragdog

  • Member
  • ****
  • Posts: 538
GetOpenFileName Hook
« on: January 13, 2018, 06:01:51 AM »
Hello

I read by Msdn i can Hook the Common Dialog Box (GetOpenFileName).

I Have look here and found Gunners example (10288_Custom_Open_File_Dialog)
http://www.masmforum.com/archive2012/10288_Custom_Open_File_Dialog.zip

The code is all clear but i need to hook the new Common Dialog Box (Vista or Windows 7)

I make this new look with this flag OFN_EXPLORER .
But if i use both have i no Placesbar (listview) left side with Desktop ,Network etc.

mov   ofn.Flags,OFN_EXPLORER or OFN_ENABLEHOOK

Have you any an idea ?

Regards,