Sign in to follow this  
Trashcann

VB6: Postmessage and Alt+F

Recommended Posts

I am trying to use postmessage to trigger a menu bar (like Alt-F), but no matter how much I search, I keep finding an answer that does not work. I have copied the wparam and lparam from spy++ for the Alt-F, and it still doesn't work. When I click 'postmessage', it just dings the speaker. So far I have gathered that it may be due to fAltDown not being set when I postmessage, but nothing seems to work to set that. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
i'm not big on VB and i don't have it installed right now, but in VC++ you'd want to post wParam = "F" and lParam = 536870912. or setting 30th bit of an integer to one (if you need to AND). let me know if this works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this