Virtual functions but no virtual variables in classes?

Pages: 12
closed account (z05DSL3A)
I have to ask because I can't see the code, do you create an IImagingFactory? and I can't see ImgCoords() what dose it do?

You could try to use some coodinates that you know are on screen, somthing like: RECT coords = { 0, 0, 100,100};

You could also try some basic drwing code in Image::render, such as
Ellipse(widgHDC, -50, 50,50 -50);
just to check Image::render is being called.




Thanks Wolf
I know how to use imagingfactory - when I wrote that, I could actually get my app to do what I wanted it to do, but only without using the classes.
As soon as I try to use the Widget class and it's subclasses, the whole thing stops working. I can make all the variables I need to use imagingfactory global, and then try to replace each one of them with one stored inside the classes, and it fails. I think I am at the point with this one where I need to find a windows mobile related forum, as for what I am doing, normal windows code is not guaranteed to work.

Thanks for all the help so far anyway peeps.
closed account (z05DSL3A)
You could try @:
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=35&SiteID=1

Sorry I could not be of more help.
Topic archived. No new replies allowed.
Pages: 12