Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing _SCREEN resizing
Message
From
16/11/2001 13:04:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581389
Message ID:
00582821
Views:
34
Adding code to _Screen events is safe. I'm developing an app that has an Outlook-style vertical bar (it is an activex in a VFP toolbar) so I needed to resize the bar when the VFP desktop was resized and it worked. I used an FLL library (vfpevents.fll) but in some machines when I exit the app it gave me ab C0005 error, once I removed it from my app that error dissapeared. It's safe to use method for _screen events.

Luis




>Hi Sergey,
>
>I've recently heard about using this approach for having own code fired in _screen events. But that person didn't recommend using it without further explanation.
>
>I think this feature is undocumented, isn't ist? Do you (or has anyone else) have made any bad (or good) experiences with that? I'm asking since we're currently using an SDI form (which has some disadvantages) due to the single reason, that we have an "Outlook-Style" UI that needs resizing.
>
>Since we are switching to another framework now and this means some changes in the frontend (the system is still under construction), this would be a good point to go back to the VFP main window. But before using the main window, I would like to make really sure, that hooking in the _screen events is save.
>
>Thanks for any advice.
>Armin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform