Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable the close button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00810350
Message ID:
00811017
Vues:
22
Anatoliy, thanks.


>Hi Yuri,
>
>One way is to hook the WindowProc for a particular window and then monitor window messages like
>WM_SYSKEYDOWN
>WM_SYSCHAR
>WM_KEYDOWN
>...
>blocking those messages from passing to the original windows procedure. It can be done with an external library (FLL, DLL, ActiveX) only.
>
>After that I would look into SetWindowLong API function. May be setting window attributes can do the trick.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform