That would depend on whatever application that is the receipient of the mouse clicks, and I would imagine that a programmer won't think of a situation in which the mouse button can go up without going down first. Just because it "works" in certain cases doesn't mean it's correct. If you had tried simulating keyboard input with keys going up without coming down first you get fantastic results.
Have your taskbar be on the bottom of your primary monitor and visible and run this snippet. Does the start menu pop up? Works for me...
I am a beginner, trying to make an application in Borland C++ builder that can monitor the chat communication(openned port as file using windows API) going on serial port, I read different funcitons but couldn't understand. it will be so kind of you to guide me how to create a hook to sniff the in and out traffic on serial port thanks
I am coding an application in vc++6, mfc. I have some sort of bar graph in which when I click on one of the bars a small dialog pops up giving information about that bar. I want the dialog to close automatically when I click anywhere outside it and not when an OK button is pressed. I tried with OnKillFocus and EndDialog but it is not working.
void CChartInfoDisplay::OnKillFocus(CWnd* pNewWnd)
// TODO: Add your message handler code here
Please can you tell me how to make a dialog box close when the user click anywhere outside it?
Is there any registry path where all the installed components in the system are listed?
I found that components to be uninstalled are listed in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. Just like that i want to know whether any place is there where all the installed components are listed.
If they did not use MSI, then there is almost no chance of locating everything.
If they were installed using MSI, then you can use the MSI API to get lists of installed 'packages'. A product does not necessarily have to be installed using MSI to end up in the 'add/remove programs' list.
I've seen better runs in my shorts! - Patches O'Houlihan