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