In the GUI, sometimes the edges of certain controls (a CRichEditCtrl and a CListCtrl) are not redrawn properly.
Instead of the 3D effect border, there is no border. So the CRichEditCtrl is drawn as a simple white rectangle
on the gray background. Same with the CListCtrl (the border is missing).
Covering the app windows with some other window, then moving it away, makes the missing borders draw. But only in the parts, that were covered. The rest is still missing.
I am not sure how to reproduce this, so I can not make a screenshot. Hopefully this is a well known programmer error
I've been searching the net flat for articles on how to host a Java application within an MFC form / dialog. I have found an article on Code Project on how to host a Java Bean within an MFC dialog, but i am unable to get the same code to work with a full blown Java application.
My question is this:
Is hosting a Java application at all possible within MFC using the JNI? If so, does anyone know any good articles or links that could help assist?
I just need to know that it is possible before i attempt to burn some midnight oil on getting the example of the Java bean to work with a Java application.
What do you mean by "hosting" exactly ? If you simply need to execute it from your MFC program (as a standalone application), then you can simply use CreateProcess. If you need to render the user interface (if any) of your Java application inside an MFC window, I'm afraid this is not possible.