Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: dialog box Pin
vikas amin5-Oct-05 22:19
vikas amin5-Oct-05 22:19 
AnswerRe: dialog box Pin
FarPointer7-Oct-05 1:21
FarPointer7-Oct-05 1:21 
QuestionMFC application does not open up Pin
Boaz V5-Oct-05 20:56
Boaz V5-Oct-05 20:56 
AnswerRe: MFC application does not open up Pin
Marc Soleda5-Oct-05 21:12
Marc Soleda5-Oct-05 21:12 
GeneralRe: MFC application does not open up Pin
Boaz V5-Oct-05 21:16
Boaz V5-Oct-05 21:16 
GeneralRe: MFC application does not open up Pin
Marc Soleda5-Oct-05 21:58
Marc Soleda5-Oct-05 21:58 
GeneralRe: MFC application does not open up Pin
Boaz V5-Oct-05 22:42
Boaz V5-Oct-05 22:42 
AnswerRe: MFC application does not open up Pin
vikas amin5-Oct-05 22:26
vikas amin5-Oct-05 22:26 
press F10
u will go to

extern "C" int WINAPI
_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
// call shared/exported WinMain
return AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
}

no press F10 again and then F11 to go to the defination of afxwinmain

check out the afxwinmain function in "Winmain.cpp" by pressing "F10"
find out from which function call the program exit
int AFXAPI AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)

Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
GeneralRe: MFC application does not open up Pin
Boaz V5-Oct-05 22:44
Boaz V5-Oct-05 22:44 
AnswerRe: MFC application does not open up Pin
Boaz V5-Oct-05 22:59
Boaz V5-Oct-05 22:59 
GeneralRe: MFC application does not open up Pin
Marc Soleda5-Oct-05 23:26
Marc Soleda5-Oct-05 23:26 
GeneralRe: MFC application does not open up Pin
vikas amin5-Oct-05 23:40
vikas amin5-Oct-05 23:40 
QuestionHow to change the Icon of my EXE ? Pin
Amarelia5-Oct-05 20:32
Amarelia5-Oct-05 20:32 
AnswerRe: How to change the Icon of my EXE ? Pin
Boaz V5-Oct-05 20:59
Boaz V5-Oct-05 20:59 
AnswerRe: How to change the Icon of my EXE ? Pin
Achim Klein6-Oct-05 10:42
Achim Klein6-Oct-05 10:42 
QuestionHow to Enable/Disable Hardware Devices Like,Soundcard, Modem, USB devices Pin
chiragpatel_mca5-Oct-05 20:14
chiragpatel_mca5-Oct-05 20:14 
QuestionAbout database in vc++ : Plz Help : urgent Pin
parims5-Oct-05 20:12
parims5-Oct-05 20:12 
AnswerRe: About database in vc++ : Plz Help : urgent Pin
Boaz V5-Oct-05 21:02
Boaz V5-Oct-05 21:02 
QuestionError encountered while displaying TIF Image with CXImage Library Pin
asifrogers5-Oct-05 19:59
asifrogers5-Oct-05 19:59 
QuestionNamespace Pin
Rajesh match5-Oct-05 19:51
Rajesh match5-Oct-05 19:51 
QuestionMultiple modeless Dialog Boxes Z-Order Pin
bgray905-Oct-05 19:41
bgray905-Oct-05 19:41 
QuestionWindows Movie Maker Timeline control Pin
Member 15698255-Oct-05 19:29
Member 15698255-Oct-05 19:29 
QuestionCBitmap on Top of other control Pin
fjlv20055-Oct-05 16:06
fjlv20055-Oct-05 16:06 
Question++Variable or Variable++ Pin
kenexcelon5-Oct-05 15:55
kenexcelon5-Oct-05 15:55 
AnswerRe: ++Variable or Variable++ Pin
Tim Smith5-Oct-05 16:12
Tim Smith5-Oct-05 16:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.