Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalwho had used TSAPI to write a CTI prog,please help me!!!! Pin
tank10258-Apr-04 21:07
tank10258-Apr-04 21:07 
GeneralRe: who had used TSAPI to write a CTI prog,please help me!!!! Pin
GflPower8-Apr-04 22:07
GflPower8-Apr-04 22:07 
GeneralRe: who had used TSAPI to write a CTI prog,please help me!!!! Pin
tank10259-Apr-04 0:34
tank10259-Apr-04 0:34 
Questionhow to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
vividtang8-Apr-04 20:57
vividtang8-Apr-04 20:57 
AnswerRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
gUrM33T8-Apr-04 21:04
gUrM33T8-Apr-04 21:04 
GeneralRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
vividtang8-Apr-04 21:15
vividtang8-Apr-04 21:15 
GeneralRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
Prakash Nadar8-Apr-04 21:50
Prakash Nadar8-Apr-04 21:50 
GeneralRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
2249178-Apr-04 23:43
2249178-Apr-04 23:43 
CCommandLineInfo cmdInfo;
ParseCommandLine (cmdInfo);

use CWinApp::ParseCommandLine to initialize a CCommandLineInfo object with values reflecting the parameters entered on the command line, which often include a document file name. The statements

if (!ProcessShellCommand (cmdInfo))
return FALSE;

"process" the command line parameters. Among other things, ProcessShellCommand calls CWinApp::OnFileNew to start the application with an empty document if no file name was entered on the command line, or CWinApp::OpenDocumentFile to load a document if a document name was specified. It's during this phase of the program's execution that the framework creates the document, frame window, and view objects using the information stored in the document template. (In case you're wondering, the document object is created first, followed by the frame window and then the view.) ProcessShellCommand returns TRUE if the initialization succeeds and FALSE if it doesn't. If initialization is successful, the statements

i dont remember where had i seen this Wink | ;)




greatest thing is to do wot others think you cant
suhredayan@omniquad.com


messenger :suhredayan@hotmail.com

GeneralRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
vividtang9-Apr-04 2:52
vividtang9-Apr-04 2:52 
GeneralRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
2249179-Apr-04 3:11
2249179-Apr-04 3:11 
GeneralRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
Prakash Nadar9-Apr-04 5:56
Prakash Nadar9-Apr-04 5:56 
AnswerRe: how to understand "CCommandLineInfo cmdInfo;ParseCommandLine(cmdInfo);"? Pin
Mike Dimmick9-Apr-04 0:13
Mike Dimmick9-Apr-04 0:13 
Generalloading a bitmap Pin
egafadf8-Apr-04 20:44
egafadf8-Apr-04 20:44 
GeneralRe: loading a bitmap Pin
autodebug8-Apr-04 20:48
autodebug8-Apr-04 20:48 
GeneralRe: loading a bitmap Pin
gUrM33T8-Apr-04 20:56
gUrM33T8-Apr-04 20:56 
GeneralRe: loading a bitmap Pin
autodebug8-Apr-04 21:12
autodebug8-Apr-04 21:12 
GeneralRe: loading a bitmap Pin
gUrM33T8-Apr-04 20:59
gUrM33T8-Apr-04 20:59 
GeneralRe: loading a bitmap Pin
Anonymous8-Apr-04 21:14
Anonymous8-Apr-04 21:14 
GeneralRe: loading a bitmap Pin
schumi19808-Apr-04 21:18
schumi19808-Apr-04 21:18 
GeneralRe: loading a bitmap Pin
gUrM33T9-Apr-04 1:07
gUrM33T9-Apr-04 1:07 
GeneralRe: loading a bitmap Pin
Anonymous9-Apr-04 11:01
Anonymous9-Apr-04 11:01 
GeneralRe: loading a bitmap Pin
gUrM33T9-Apr-04 15:34
gUrM33T9-Apr-04 15:34 
GeneralRe: loading a bitmap Pin
schumi19809-Apr-04 15:42
schumi19809-Apr-04 15:42 
Generalin menu resource ,what's the difference between "IDR_***TYPE"and "IDR_MAINFRAME" Pin
vividtang8-Apr-04 20:44
vividtang8-Apr-04 20:44 
GeneralRe: in menu resource ,what's the difference between "IDR_***TYPE"and "IDR_MAINFRAME" Pin
vividtang9-Apr-04 16:14
vividtang9-Apr-04 16:14 

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.