Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CoInitializeEx() [modified] Pin
shadrach_india6-Nov-06 3:34
shadrach_india6-Nov-06 3:34 
GeneralRe: CoInitializeEx() Pin
shadrach_india6-Nov-06 3:49
shadrach_india6-Nov-06 3:49 
QuestionWindow Text title bar Pin
_tasleem6-Nov-06 1:59
_tasleem6-Nov-06 1:59 
AnswerRe: Window Text title bar Pin
benjymous6-Nov-06 3:09
benjymous6-Nov-06 3:09 
AnswerRe: Window Text title bar Pin
Hamid_RT6-Nov-06 18:53
Hamid_RT6-Nov-06 18:53 
GeneralRe: Window Text title bar Pin
_tasleem6-Nov-06 22:34
_tasleem6-Nov-06 22:34 
GeneralRe: Window Text title bar Pin
Hamid_RT6-Nov-06 23:39
Hamid_RT6-Nov-06 23:39 
QuestionI'm MFC newbie, Where is Winmain() in MFC ? Pin
kumyim6-Nov-06 1:49
kumyim6-Nov-06 1:49 
i have tried to search the answer myself, and found an beginner's article "MFC under the hood" by Nishant Sivakumar. He explained Winmain() was defined in appmodul.cpp which can find in MFC\SRC directory :

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


i understand that winmain() simply call AfxWinMain, but the code above is _tWinMain() not usual Winmain(). What is _tWinMain(), and where is Winmain()? help me please.
AnswerRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
led mike6-Nov-06 4:28
led mike6-Nov-06 4:28 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
Waldermort6-Nov-06 4:35
Waldermort6-Nov-06 4:35 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
led mike6-Nov-06 4:56
led mike6-Nov-06 4:56 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
Waldermort6-Nov-06 5:27
Waldermort6-Nov-06 5:27 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
led mike6-Nov-06 5:41
led mike6-Nov-06 5:41 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
toxcct6-Nov-06 5:09
toxcct6-Nov-06 5:09 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
Waldermort6-Nov-06 5:36
Waldermort6-Nov-06 5:36 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
toxcct6-Nov-06 5:48
toxcct6-Nov-06 5:48 
GeneralRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
Waldermort6-Nov-06 6:33
Waldermort6-Nov-06 6:33 
AnswerRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
Waldermort6-Nov-06 4:30
Waldermort6-Nov-06 4:30 
QuestionRe: I'm MFC newbie, Where is Winmain() in MFC ? Pin
David Crow6-Nov-06 5:29
David Crow6-Nov-06 5:29 
AnswerThx every one. Pin
kumyim7-Nov-06 19:32
kumyim7-Nov-06 19:32 
Questionhi,iam intersted to lear Windows CE and eVC++ plz tell which books are good to learn Pin
premkamalg6-Nov-06 1:23
premkamalg6-Nov-06 1:23 
QuestionHow an I add tooltip for the buttons on the Dialog box? Pin
Sameer_Thakur6-Nov-06 0:59
Sameer_Thakur6-Nov-06 0:59 
AnswerRe: How an I add tooltip for the buttons on the Dialog box? Pin
Nibu babu thomas6-Nov-06 1:06
Nibu babu thomas6-Nov-06 1:06 
AnswerRe: How an I add tooltip for the buttons on the Dialog box? Pin
Hamid_RT6-Nov-06 8:42
Hamid_RT6-Nov-06 8:42 
Questionrtc clock change summer/winter time Pin
faladrim6-Nov-06 0:38
faladrim6-Nov-06 0:38 

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.