There is no generic API to perform actions in another app, i.e. to take over its message pump.
A simple way of communication is by ::FindWindow API that uses a class name. It returns the handle to the app with that class name. You can then use WM_COPYDATA to transfer data to the app you want to...
Thanks,
MAKEINTRESOURCE indeed was causing trouble.
I ended up overriding CreateDialogParam to use the template handle with CreateDialogIndirectParam which yielded the proper result.
I am loading multiple language resources and the strings load properly. I am having a problem getting the dialog identifiers. Here is the code:
Code:
LPCTSTR get_dialog(int nResID)
{
LPCTSTR ptcBlock;
HGLOBAL hg;
HRSRC hResourceInfoBlock;
LPCTSTR szTemplate = MAKEINTRESOURCE(nResID)...
Thanks, I think I'm in for a lot more surprises when other customer files show up.:-)
I have installed Chinese (Simplified and Traditional) and Korean. I set the font for the combo box in question to a font with most DONT_CARE parameters and I get a lot less squares (characters incompatible with...
Issue was resolved. The file we received from the Chinese customer had Korean characters that won't display correctly (or at all "???"):) in Chinese locale.
Thanks for reading.
I have an urgent problem on my hands. I looked through the old posts but found nothing.
When I build a list of names (WCHAR) in a ComboBox that include Simplified Chinese, the drop-down displays the chinese characters correctly. However when I select an item containing the said characters it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.