Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView - header's icon alignment
Message
 
 
To
31/08/2005 15:51:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01045162
Message ID:
01045669
Views:
41
>>Forgot to mention, that readme is not updated.
>>
>>>>What is the new function declaration?
>>>
>>>I think the readme file has reflected the new changes, no ??
>
>Yup, somehow I zipped the wrong file. I even missed two more files for the example. It's what I got when do things in rush . I'm sorry for that :-(
>
>The filter files doesn't work like VFP GetFile() but works as standard GetOpenFileName API, here is the filter example:
>
>#Define c0  chr(0)
>
>lc_Filter = ' All Files (*.*)' + c0 + '*.*' + c0 + ;
>   ' Text Files(*.txt)' + c0 + '*.txt' + c0 + ;
>   ' Batch Files (*.bat)' + c0 + '*.bat' + c0 + ;
>   ' Bitmap Files (*.bmp, *.jpg)' + c0 + '*.bmp;*.jpg' + c0 + c0
>
>
>Btw, I tested more on WinME & XP-SP2. I failed to reproduce what you see. Can you post that code ? Also you can see the full example in form "Frm_ComDialog".

Should I get a new Download? I think the form complains about several files.

Bellow is my test code
#DEFINE HTCDF_NOSELECTDIR 0x80000000
#define OFN_EXPLORER      0x00080000     // new look commdlg
#Define c0  chr(0)

lc_Filter = 'All Files (*.*)' + c0 + '*.*' + c0 + ;
   'Text Files(*.txt)' + c0 + '*.txt' + c0 + ;
   'Batch Files (*.bat)' + c0 + '*.bat' + c0 + ;
   'Bitmap Files (*.bmp, *.jpg)' + c0 + '*.bmp;*.jpg' + c0 + c0


Declare String CD_GetFile in HTWindow ;
   String cStartDir, String cStrFilter, Long hWndParent, ;
   Long nPosition, Long nX, Long nY, ;
   Long uFlags, Long uFlagsEx, ;
   String cWndTitle, String cBtnCaption
   
?CD_GetFile("c:\MMVisCollect",lc_Filter,0,0,0,0,0,HTCDF_NOSELECTDIR, "Select file","Select")
The directory has several subdirectories. If I open any of them, I can not any longer return back to the starting point. Not sure, if it was intended.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform