Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Form reference by hwnd number
Message
From
26/05/2003 09:43:59
 
 
To
26/05/2003 09:00:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00792791
Message ID:
00792812
Views:
12
Hi Cetin,

my application uses TDI (Tree Document Interface), and uses many API function for control these schema.
For skip the need of the HwndToObj() function, i must reply all the tree of the hwnd with a equal tree of the reference to the vfp window.

Example:

GetWindow(m.tophWnd,GW_CHILD) is fast, and uses sure windows parent-child internal structure.

Any replication schema, it is a source of possible bugs, caused from syncronization errors.

-----

I uses GetActiveWindow() in order to cover the phase in which
_SCREEN.ActiveForm it is not defined.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform