Hi,
I am having a little trouble finding information on window handles, I have been using borland builder for 4 years now and have worte some pretty complex apps however as unbelivable as it may sound I have never had to mess around with windows handles.. Until now that is..
I am using (or more to the point trying to use)
BOOL RegisterHotKey( HWND hWnd,
int id,
UINT fsModifiers,
UINT vk
);
I want to do this so that if the hot key is pressed my application comes into focus, however I do not know how to get the handle of my app for the first parameter, and secondly so I dont intefere with other apps I need to use
ATOM GlobalAddAtom( LPCTSTR lpString
);
to get a good id..... Any help on this or links to some basic information on any of this would be greatly appriciated.
Thanks,
Paul J....
I am having a little trouble finding information on window handles, I have been using borland builder for 4 years now and have worte some pretty complex apps however as unbelivable as it may sound I have never had to mess around with windows handles.. Until now that is..
I am using (or more to the point trying to use)
BOOL RegisterHotKey( HWND hWnd,
int id,
UINT fsModifiers,
UINT vk
);
I want to do this so that if the hot key is pressed my application comes into focus, however I do not know how to get the handle of my app for the first parameter, and secondly so I dont intefere with other apps I need to use
ATOM GlobalAddAtom( LPCTSTR lpString
);
to get a good id..... Any help on this or links to some basic information on any of this would be greatly appriciated.
Thanks,
Paul J....