Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get VFP-Form active in W2K
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00546080
Message ID:
00546151
Vues:
19
Vlad, _ShowWindow does not exist, but Declare DLL is ...

>Hi!
>
>You can make window as foreground also by using ShowWindow API function with SW_SHOW as second parameter. Is it available in VFP5? I also wondered, is DECLARE-DLL command not avauilable in VFP5?
>
>
>
>>>Hi!
>>>
>>>These two could be a problem. After forms are shown, use SetForegroundWindow() API function to make it active manually. You can find the HWND value for this API function using the FindWindow API function.
>>>
>>>>
  • During startup _SCREEN is made visible and invisible;
    >>>>
    >>>>
  • During startup another task is created (all in same datasession);
    >>>>
    >>
    >>Vlad, I followed the discussion with Chris (Setting Focus to Top Level Form) and though I have a code-example now, I don't think I can get this to work;
    >>In VFP5 there seems no _SetForehandWindow API.
    >>BTW, if another task is at the taskbar (so, minimized), my input is in this other task. I guess if no task is there, my input is at the desktop ? (didn't check that).
    >>I just tried for another hour, but can't get around this anoying thing...
    >>
    >>I can resize the forms, maximize them etc., perform a SetFocus on the Control of the form, but it remains inactive.
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform