Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by josphin

  1. josphin

    drawing on picture box

    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!
  2. josphin

    serialize probs...

    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...
  3. josphin

    Int to String

    CString str; str.Format("%i", IntVar); or str.Format("%lf", DoubleVar);
  4. josphin

    $-respond in dialog based app

    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...
  5. josphin

    $-respond in dialog based app

    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...
  6. josphin

    $-respond in dialog based app

    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...
  7. josphin

    Accelerator problem

    i'm not sure if this wil help but, i'm working in a dialog based app now and allso work with accell keys, but as follows: BOOL CKassaDlg::PreTranslateMessage(MSG* pMsg) { switch(pMsg->message) { case WM_KEYDOWN: switch(pMsg->wParam) { case VK_ESCAPE: OnButtonsluiten(); return TRUE...
  8. josphin

    unselection state of a listbox

    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.
  9. josphin

    Weird error messages!

    ahum, i deleted the file, recompiled the project, same prob when i press ctrl+w. the prob at first occured with two classes, now only with one (i really don't get it, as usual ;-) )here is the declaration of that class: http://users.skynet.be/josphin/naamloos.jpg thanx in advance ! jos.
  10. josphin

    Weird error messages!

    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.
  11. josphin

    Writing to files ...

    thank you very, very much !
  12. josphin

    Writing to files ...

    can you give me a little bit more explanation about this please ???
  13. josphin

    HELP! I'm losing it !

    i don't think it's right either. i think i must create some public member functions to acces the CArray. But that ain't easy at all, i guess. I don't get the whole pointer and reference stuff, and isn't that what you need when working with arrays ??? Thanks for your help you guys !
  14. josphin

    HELP! I'm losing it !

    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...
  15. josphin

    HELP! I'm losing it !

    it don't work... changed the name to ProdArray ==> same errors. Thx anyway!

Part and Inventory Search

Back
Top