Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate Window using hWnd
Message
 
To
05/01/2005 14:07:53
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974484
Message ID:
00974586
Views:
57
>Is there a way to activate a child IDE window (code window, etc.) using a Win32 API call? I have the hWnd, but for some reason I can't get it to activate from a toolbar button. I've tried SetWindowPos(), ShowWindow(), SetActiveWindow(), and SetForegroudWindow(), but none of these seem to work. Will VFP allow activating a window in this manner?

Joel,

While I know you have your answer, an altenative is the SetActiveWindow() function. You only need to pass the window handle as a parameter.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform