Search:
Type: Posts; User: ekhule
Search:
Search took 0.05 seconds.
-
I think I figured it out. I was missing #include "afxwin.h"
-
Hello,
I have a CWnd class, that is a child to another CWnd. The problem is that onPaint() is never invoked. Even when I call UpdateTest(), and the Invalidate() gets called, OnPaint() still does...
-
Hello Philip,
Ok I made some progress. I got it to display if I use dc, but not when I use dcMemory. So this code works:
CPaintDC dc(this);
...
CRgn region;
...
-
Hello Philip,
Is it possible you can zip up your sample project and post it here? For some reason nothing is displaying correctly for me.
I also sent you a private message if you get a chance...
-
Can you post the code that has the changes you made?
I don't have my code here to post those values for the variables, but I will post them as soon as I can.
Thanks!
-
Hello Phillip,
The data I am attempting to plot is coming from a radar, if that helps.
-
What type should I use then to pass to CreatePolygonRgn() ? It takes LPPOINT's which are longs. Can I pass doubles to them?
Thanks
-
Thanks for the response. I took this code, and I tried to make it work, but nothing was displaying on the screen. So I started debugging the points, and here is an example of my 4 points:
(0, 0)...
-
Hello,
I have a circle of data that is represented as:
vector<vector <unsigned char> >* data;
The first dimension of this vector is the angle of the data so there are 360 angles, and the...
-
I fixed this issue by converting my project to unicode.
-
Ok, i have 3 classes involved in the Create() call. I have the View class, which has a handle to the CWnd derived window. In the view's OnCreate() I have:
int...
-
Hello,
My app crashes when I attempt to create a CWnd as shown below. I am attempting to create the CWnd with a a parent of type CFormView. Does anyone know why this might be crashing?
...
-
Hello,
Here is the error I am getting:
1>d:\testproject\gdiplusrenderer.h(61): error C2872: 'Font' : ambiguous symbol
1> could be 'c:\program files (x86)\microsoft visual studio...
-
Hello,
Nevermind I figured this out, and it is not worth answering on here.
-
April 18th, 2013, 08:39 AM
Hello all,
I have a class called Wheel, and I created a boost shared_ptr to this class in the following way:
typedef boost::shared_ptr<Wheel> WheelPtr;
I also have a vector of these...
-
February 11th, 2013, 09:51 AM
Hello,
I am tryign to use the Singleton design patterno on Linux, but it is not working:
in the .h I have:
public:
static ErrorH& Instance();
-
January 18th, 2013, 07:15 AM
How would you fix this code? I am stumped!
-
January 17th, 2013, 10:40 AM
Hello, I have the following code where I use the singleton design pattern, but I get the warning:
warning C4715: 'CM::Instance' : not all control paths return a value
CM& CM::Instance()
{ ...
-
January 14th, 2013, 01:31 PM
Hello,
I have the following code:
char buf[5];
strcpy(buf, "12345678");
When I run this from the IDE in Release mode, it works fine, no crashes. However, when I change "12345678" to...
-
June 15th, 2012, 10:05 AM
Hello Paul,
Do you have any sample code with that function? I can't much about it online.
Regards,
Ellay K.
-
June 15th, 2012, 08:41 AM
Hello,
I have a file path in a wstring like this:
wstring pathName = L"c:\windows\system\test.exe";
I want to be able to geta new wstring that just contains "test" from this wstring.
...
-
April 9th, 2012, 06:55 AM
Figured it out, nevermind!
Ellay K.
-
April 9th, 2012, 06:49 AM
Figured it out, nevermind!\
Thanks!
Ellay K.
-
March 22nd, 2012, 08:57 AM
nevermind.. I missed a sneaky /MD :)
-
March 22nd, 2012, 08:49 AM
Hello all,
I get the following linking errors when trying to compile my exe:
1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: _tolower already defined in libcmt.lib(tolower.obj)...
|
Click Here to Expand Forum to Full Width
|