Search:
Type: Posts; User: pavankn18
Search:
Search took 0.03 seconds.
-
March 9th, 2013, 08:02 AM
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...
-
March 7th, 2013, 10:07 AM
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...
-
February 4th, 2013, 09:28 PM
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...
-
February 4th, 2013, 12:50 PM
Thanks a lot sir.igor.
feeling better now.
-
February 4th, 2013, 10:40 AM
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....
-
February 4th, 2013, 09:31 AM
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...
-
February 4th, 2013, 08:02 AM
To simplify the question : any guess why a button in dialog box may not create "WM_COMMAND" message upon clicking it?
-
February 3rd, 2013, 08:22 PM
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...
-
February 3rd, 2013, 10:54 AM
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...
-
February 3rd, 2013, 08:53 AM
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...
-
January 29th, 2013, 10:27 AM
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...
-
January 29th, 2013, 07:33 AM
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...
-
January 28th, 2013, 08:52 AM
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...
-
January 28th, 2013, 05:49 AM
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...
-
January 27th, 2013, 04:54 AM
-
January 26th, 2013, 11:16 PM
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
...
-
January 26th, 2013, 06:07 AM
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 :)
-
January 26th, 2013, 02:33 AM
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...
-
January 25th, 2013, 11:05 PM
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>...
|
Click Here to Expand Forum to Full Width
|