Hello,
how can I achieve that any tooltip-window I created within an CScrollView-derived class updates it's position while scrolling horizontal or vertical? At this time when I scroll, the tooltips screen coordinates are not updated and it's always shown on the same place on the screen (doesn't...
Hello,
I just wanted to make an MFC-extension DLL out of some source code that was included in a common SDI-project. I put the files to the new DLL-project an exported the classes via AFX_EXT_CLASS (don't know if this is the best solution but it works).
I also added the old ressources (some...
Hello guys,
I have build an application with an Rich Edit Control in it. Formatting and showing text works fine, but now I need to draw borders/boxes around pieces of text. Can anyone help me to achieve this?
I'm not really familiar with the RT-format, so one or two small examples would be...
Hello guys,
is there any option in MS Visual C++ 6.0 to view the code how it looks like after the preprocessor has done all macro replacements?
I want to debug a project where the original programmer inserted a lot of macros, especially for declaring types and maps in the header files. So the...
Hello guys,
I have a question about waiting for a COM message in a function:
I set up an event-sink for COM events from another application in my function. Then I want the function to stop until the sink signalises that a COM message is received. The problem is that when i call...
I have a question to the COM/ATL experts: how can I handle events fired by an application I created via a smart pointer ("CreateInstance")?
I know that in the namespace of the imported DLL from the program (which I created with "CreateInstance") there is an abstract base...
Hi guys,
I want to create a CStatic in a dialog form. This CStatic should only display a given COLORREF in a small rectangle.
I tried to create it with SS_SIMPLE and retrieved the CDC* of the CStatic with GetDC() but I'm not able to draw on this DC (I don't see anything).
Can anyone help me...
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.