Well, I tried to create a small example and reproduce the problem and the example compiles just fine, so, I think your right in that it must be something else causing the issue. I will keep plugging...
I am trying to create an MFC Regular DLL. I followed a couple of tutorials on the net, and although my program builds, it crashes with an access violation when trying to debug or test. I have...
I wanted to add grouping to my CListCtrl and according to MSDN, CListCtrl has an InsertGroup(...) method. When I try to use this method, intellisense is not showing it and if I try to use it anyway I...
It is the OnPaint handler. I would expect that it would be quicker and easier to throw the code into any window controls OnPaint handler. The project I am working with is an AutoCad arx extension dll...
Although the code below works, I cannot understand why. Can someome try the code and explain to me why it works. It is the BitBlt function that I am most confused about because in the MSDN...
Well, as you have pointed out, not only is it the top left corner, but it should be specified in "Logical Units". The width and height also need to be specified in logical units. I have tried every...
I have a static derived class which I want to implement custom drawing in MM_ISOTROPIC mapping mode. For the life of me, I cannot figure out how to do this using a memory dc. I have reviewed and...
I have a method which retrieves a IDataReader and attempts to load object data using this reader. The problem is, before it gets to the next record using IDataReader.Read(), it is closing. Nothing in...
I am using late binding to call a method in a COM object. There are three ref arguments in this function. I used ParameterModifier class to indicate this. The problem is that I am expecting the third...
I am using Visual Studio 2008 for development. I am trying to decide what reporting tool to use. Do you use Windows Report or Crystal or some other reporting tool.
Alright, well, I thought I found the solution, but it doesn't work...... I should have searched for ContentPresenter then I would have known that this is actually a place holder for the content and...
Creating multi-line text is not the problem. Creating multi-line button text is not the problem. The problem is creating a button template in a resource file where the content presenter...
That was unexpected from you and uncool...... Anyway, I did search google first, I also looked through my Pro WPF in C# 2008 book and I could not find the answer.
I cannot stand the look of a standard windows menu. In my application I want to separate the menus into a context bar and options pain. The context bar, which would be docked to the top of the...
Thanks for the reply. So, this is simply to change the views correct? How do you create the views to show? Do you use a UserControl or form without border, or....