CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Timbk

Search: Search took 0.03 seconds.

  1. Re: User defined message , exception at handler's return

    Thanks, all code is comented in this handler so now look like this:


    LRESULT CCalibracionDlg::OnMsjGuardarConfig(WPARAM wParam, LPARAM lParam)
    {
    return 0;
    }


    thats way I put "// do...
  2. Added Info: User defined message , exception at handler's return

    Ok thanks for your answer, I'm going to check that.
    However I'd like to add some extra info:
    The ecxeption is a first chance exception :First-chance exception in MyApp.exe (MFC42D.DLL): 0xC0000005:...
  3. User defined message , exception at handler's return

    Hello, Im using a dialog based app (VC++ 6), with a main dialog and his child dialog (modals dialogs).
    And i have to use a user defined message to send a message to the parent dialog. When i'm...
  4. Replies
    10
    Views
    3,828

    Re: Spin Control Notification

    Jejejej , i thought that, well thanks again, and May the Force be with you, oh no no i have to say May the speed be with you.
  5. Replies
    10
    Views
    3,828

    Re: Spin Control Notification

    incredible, even that, your posts come so fast !!!
  6. Replies
    10
    Views
    3,828

    Re: Spin Control Notification

    :) Nice, the message map entry was wrong , now works nicely. 1 day to solve this :( , anyway this is how it looks now
    header file

    afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar*...
  7. Replies
    10
    Views
    3,828

    Re: Spin Control Notification

    Sford or Ovidiucucu:
    I'm trying to do the same thing in VC++6, but till now i can't , Ovidiucucu you said that after sending UDN_DELTAPOS a WM_VSCROLL or WM_VSCROLL is sent , so for spin control...
  8. Replies
    3
    Views
    780

    Re: how to use an array of control's variables?

    I didn't do it yet, there will be 72 main controls in the app(edit boxes and radio btn), i created only a few to test some things. I want to put these 72 controls variables into an array , because...
  9. Replies
    3
    Views
    780

    how to use an array of control's variables?

    Hello, in my application there are 864 variables associated to each control(edit boxes and radio buttons), when the application is started, all this variables must to be updated from a file. So it's...
  10. how to send messages between diferents dialogs?

    Hello, in my aplication there are two dialogs CCalibracionDlg and DlgMap1 both derived from Cdialog, when I press a button in DlgMap1 i have to send a message to CCalibracionDlg, how can i do this?...
  11. Replies
    11
    Views
    1,774

    Re: client area problem

    Ok, thanks. I'm back to work. as you see I'm newbie .Yes, if I folow your suggestion the problem will disapear , but the lines going to be drawn in client area of each three non-main dialogs. This...
  12. Replies
    11
    Views
    1,774

    Re: client area problem

    first of all, i forgot traduce RedibujarRecta is the spanish word for drawLine, so RedibujarRecta=drawLine.
    And answering your second question , yes I'm calling CCalibracionDlg's member...
  13. Replies
    11
    Views
    1,774

    Re: client area problem

    Yes CCalibracionDlg is derived from CDialog, well i already made your instruction, that's what i got:
    when drawLine is called by the main dialog (works fine) i got this at the breakpoint:

    ...
  14. Replies
    11
    Views
    1,774

    Re: client area problem

    Ok , thanks for your suggestions. About your second suggestion , is true , and i will do that, but now is working because my aplication runs over an indrustial pc , and there isn't posibility of move...
  15. Replies
    11
    Views
    1,774

    Re: client area problem

    Besides , if drawLine is called by the main dialog (remember that drawLine it's defined and declared within the main dialog class) , it works fine, let's say, it's draws over client area of main's...
  16. Replies
    11
    Views
    1,774

    Re: client area problem

    Yes that's what i mean.
    this is the call to drawLine ( in one of the nomodal dialos):
    pCalibracionDlg->drawLine(1000,D_Ry,5); // where pCalibracionDlg is a pointer to the main dialog

    this is...
  17. Replies
    11
    Views
    1,774

    client area problem

    I'm using VC++ 6, in my application there are a main dialog and three nomodal dialogs , the thing is this: in the main dialog there is a function 'drawLine' that draws lines in the client area of...
Results 1 to 17 of 17





Click Here to Expand Forum to Full Width

Featured