hi all,
i'm trying to draw circles on a picture box as follows:
Graphics dc = this.CreateGraphics();
Pen redPen = new Pen(Color.Red, 10);
dc.DrawEllipse(redPen,100,100,50,50);
of course the ellipse (in this case circle) is under the picture. how can i fix this ?
thanx!
Hi all,...
i'm building a dialog app, and now i want to write a CArray to a file and load it from one.
The problem is that the CArray is initialized in the main class (CKassaDlg) and it contains object from another class i made myself (CProducten). I can't figure out in wich one of the two...
hi,
i'm writing a dialog based app. I use some keyboard shortcuts with PreTranslateMessage, this all works with (euh) "keys that start with VK_" like the function keys, escape, delete, ... but not with normal letters. I'd like to redirect to a function when the dollar key is pressed...
hi, i'm writing a dialog based app. i use some keyboard shortcuts with PreTranslateMessage, this all works with (euh) "keys that start with VK_" like the function keys, escape, delete, ... but not with normal letters. I'd like to redirect to a function when the dollar key is pressed...
hi, i'm writing a dialog based app. i use some keyboard shortcuts with PreTranslateMessage, this all works with (euh) "keys that start with VK_" like the function keys, escape, delete, ... but not with normal letters. I'd like to redirect to a function when the dollar key is pressed...
hi all,
i would like to check if any string in a listbox is selected (in an if statement) before i perform any operation to it, if no string is selected, i just want to put up an AfxMessageBox!
thx in advance !
josphin.
hi peepz,
i'm working on a prog that needs urgent finishing. When i compile everthing seems to be just fine, but when i start the class wizzard (ctrl+w) i can read the following message: http://users.skynet.be/josphin/naamloos.jpg.
can someone show me the light please ???
greets en props, jos.
Hi,
I declare the CArray variable array as follows in the KassaDlg.h file:
class CKassaDlg : public CDialog
{
// Construction
public:
CKassaDlg(CWnd* pParent = NULL); // standard constructor
CArray <CProducten, CProducten&> array; //declaration of array variable
// Dialog Data...
Another fairly easy problem for you experts out there, i guess. In the MSDN library stands an example for writing an array to files, now i want to write/read a CArray to/from a file. How, please ???
THX!
hi,
i want to declare a CArray in my prog. The array is meant to contain elements of the type CProducten (a class that i made myself) Am i doing this correct :
CArray <CProducten, CProducten> array[100];
???
Thx!
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.