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

Search:

Type: Posts; User: pavankn18

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    3,268

    Re: Problem registering windowsclass

    Thanks i got it, what if i have to call a member function from a dialog windproc? I am surprised to see, adding a case WM_CREATE to dialog windproc will make the program to crash; I have no clue why...
  2. Replies
    9
    Views
    3,268

    Re: Problem registering windowsclass

    Thank you,
    Now i have learnt how to do it for main windowProc, But can you please help me to make non static member function calls from a dialog windproc? I tried googling but did not get much...
  3. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    I had working code with me, one from msdn and as saidfrom i had no problem when a start from win32 template. I wasn't looking at msg pump as dialogue box was receiving "WM_INITDIALOG". I never...
  4. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    Thanks a lot sir.igor.

    feeling better now.
  5. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    Thanks sir,

    Though i could not solve the problem, i can move on now because that reason is convincing but i am still a little sad that i failed to write such simple application from an empty file....
  6. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    When a dialog is created only dialog window is active so only all msgs now received by dialog proc,
    1. soon a dialog window is created case "WM_INITDIALOG" is entered.
    2. even if i click the only...
  7. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    To simplify the question : any guess why a button in dialog box may not create "WM_COMMAND" message upon clicking it?
  8. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    i'm not using mfc, i have not touched mfc yet, i am a beginner, i don't know why, if i do the same things with win32 template everything works smoothly, for now i badly want to know what is really...
  9. Replies
    14
    Views
    2,585

    Re: Dialogue box button not working

    Yes i used Breakpoints at 2 locations
    1. at switch statement


    2. at WM_COMMAND of Dialog1Proc

    case WM_COMMAND:


    switch statement is executed and WM_COMMAND is never reached (verified by...
  10. Replies
    14
    Views
    2,585

    [RESOLVED] Dialogue box button not working

    Dialogue box in the program is displayed but button will not respond.

    I created dialogue box using resource wizard,
    code in Resource.rc for dialogue box is generated as below


    IDD_DIALOG1...
  11. Replies
    4
    Views
    1,567

    Re: Error in registering windowsclass

    Ok sorry i understand,

    Actually i studied c++, but soon i started to learn vc++ i am encountering many problems which i did not face while learning c++ in console application, that time i used...
  12. Replies
    4
    Views
    1,567

    Re: Error in registering windowsclass

    Hey thanks, that was the problem,

    i dont copy the code as it is, instead i will study once and write it so that i can traceback what went wrong, in this problem i was looking only at app.cpp, so...
  13. Replies
    4
    Views
    1,567

    Error in registering windowsclass

    The following code it taken from msdn library but it is failing to compile.
    the following code has a header where all the variables used here are stored in header App.h.
    please help me with this, i...
  14. Replies
    9
    Views
    3,268

    Problem registering windowsclass

    The following code it taken from msdn library but it is failing to compile.
    the following code has a header where all the variables used here are stored in header App.h.
    please help me with this, i...
  15. Replies
    10
    Views
    2,262

    Re: starter app not responding

    Thank you :)
  16. Replies
    10
    Views
    2,262

    Re: starter app not responding

    Thank you,

    please help me with the following,

    1.when i write a function with a return type and no return value it will result in compile time error, but why compiler did not complain
    ...
  17. Replies
    10
    Views
    2,262

    Re: starter app not responding

    Thank you sir i got it.

    adding a line Msg = new MSG; do make the program stable, will try to be careful :)
    feeling really nice now :)
  18. Replies
    10
    Views
    2,262

    Re: starter app not responding

    Thanks paul for your suggestions,

    1. adding a return statement did not solve the problem.
    2.comparing with example code in msdn, difference is i used LPMSG and did not use & when passing to...
  19. Replies
    10
    Views
    2,262

    [RESOLVED] starter app not responding

    The following code results in simple window which stops responding as soon as it is executed.
    i really have no idea what is happening, i am just starting visual c++


    #include<windows.h>...
Results 1 to 19 of 19





Click Here to Expand Forum to Full Width

Featured