Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Descriptive File Types with PUTFILE()
Message
De
29/10/2001 17:06:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00574248
Message ID:
00574755
Vues:
47
If user clicks on the vfp main window caption during this dialog,
dialogso disappears (visible only in taskbar). However, VFP window
ignores all mouse clicks. From users point of view, application is hang.
IMHO this bug makes _comdlg class totally useless.

I encountered also the following problems trying to replace putfile() with _comdlg class:

1. _comdlg class moves and hides the mouse cursor. After dialog invocation, user must move the mouse to show mouse cursor again. However, mouse cursor is placed initially to different place without user interaction. This looks VERY stange to users. I need that only user may change mouse cursor placement, not dialog.

2. Dialog is placed to upper left corner to screen, no way to center it.

3. How user can change .ccustomfilter property? It is always empty.

4. Dialog displays always last filter set by .AddFilter(). Is it possible
to display other filter initially ?

5. If file exists, overwrite promp does not occur. There is
#DEFINE OFN_OVERWRITEPROMPT 0x00000002
in dialoghandler, but it seems that it is impossible to use it.


>I think comdlg32.dll and msvcrt.dll are a part of Windows.
>
>>This class uses comdlg32.dll and msvcrt.dll files.
>>
>>How to distribute them to end user ?
>>Is it sufficient to add them to the same directory where my .exe file is installed ?
>>
>>>You can use new _comdlg class from VFP 7 FFC
>< snip >
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform