just out of curiousity.. i spied on dreamweaver while i clicked the save all menu item. to be sure of which was which, i wagged the mouse between Revert and Save All several time.. this can be seen at the top of the trace. then i clicked save all.. now is wher ei have a couple of questions:
we see a WM_MENUSELECT command issued.. what is this? what is it selecting? it all seems rather uninteresting until:
WM_SYSCOMMAND ; should i be sending this?
WM_COMMAND (no indentation.. are the ....... a call stack indication of some kind?) wNotifyCode 0 (sent from a menu) wID: 27956
is 27956 anythinng to do with the menu entry?
how about wID: 30249? that is on the same indentation level
what are the P and R in the 3rd column
- im basically after something concrete that i can try sending to the application, to make it save all (thanks to chay luna and cimperiali for the ctrl+S keybd event code.. it works great, im just now trying to avoid irritating the user as a result of having to pop the dreamweaver window to the front
if i were to settle on one of these WM_COMMANDs with the relevant wID.. could i be guaranteed that the wID would not change?
P= PostMessage was used
S= SendMessage was used
s= sendmessage was used, but security restrictions prevent all info from being returned
R=return value froma sendmessage call
because all S are dealt with immediately, they have an R right after. P are dealt with when the app feels like it, so the R cannot be gained reliably...
and further to my investigations, it appears that wID 27956 is always sent when doing a saveall, so i might try posting that message to the queue
has anyone got a full list of the constants? i had to scrat around the web for the few i pasted there, would be nice to put all of them in the list (all 849 of them )
That is a big piece of job, cjard. You should really write something around it and submit it for publication here in Codeguru.
I think it is most interesting, and not well known by the most of us...
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.