Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Now what???/
Message
From
27/06/2000 14:17:21
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Now what???/
Miscellaneous
Thread ID:
00385272
Message ID:
00385272
Views:
37
In answer to my post about auto droping the calendar in the date time picker Paul M sent this code....

#DEFINE WM_KEYDOWN 0x0100
#DEFINE VK_F4 0x73

hWnd = THISFORM.OleControl1.hWnd
=SendMessage(hWnd, WM_KEYDOWN, VK_F4, 0)

.... in main prg

DECLARE INTEGER SendMessage IN WIN32API ;
INTEGER hWnd, ;
INTEGER Msg, ;
INTEGER wParameter, ;
INTEGER lParameter

IT WORKS GREAT! The calendar pops up automaticaly just as I want.

Except for one problem. Code that I had in the closeup event of the control now does not work at all.

Do I need to reset or "unset" something? Thanks for any thoughts.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Next
Reply
Map
View

Click here to load this message in the networking platform