Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Win32::GUI questions

by Anonymous Monk
on Aug 24, 2012 at 07:04 UTC ( #989436=note: print w/replies, xml ) Need Help??

in reply to Win32::GUI questions

(for which I can't seem to find answers in the documentation):

You're looking in the wrong documentation, you need to look on ddg://GetOpenFileName View Details

Replies are listed 'Best First'.
Re^2: Win32::GUI questions
by HelenCr (Monk) on Aug 24, 2012 at 15:29 UTC
    you need to look on ddg://GetOpenFileName View Details

    Thank you. This is deep. It's the MSDN documentation.

    It seems that (in the GetOpenFileName dialog) in order to switch from the default "List" view to the required "Detail" view, you need to use the "hook function dialog". They only give (naturally) C++ and VBA examples. Can you explain how to apply those examples in Perl?

        I meant these:

        Details of the hook function are at

        Details of the ListView set view are at
        I think you should be able to in the hook function:

        HWND hListView; case WM_INITDIALOG:<br/> hListView=GetDlgItem(hDlg,LISTVIEW_ID); ListView_SetView(hListView,LV_VIEW_DETAILS); return ;

        You could find the value of LISTVIEW_ID, by opening a file open dialog box and spy on on using spy++ to get the id of the control.

        from here: <href></href>

        Can you guide, how to apply this in Perl?

        Many TIA