Click here to Skip to main content
15,886,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer23-Mar-09 3:34
Iain Clarke, Warrior Programmer23-Mar-09 3:34 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan23-Mar-09 18:45
salimhassan23-Mar-09 18:45 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer23-Mar-09 22:50
Iain Clarke, Warrior Programmer23-Mar-09 22:50 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 3:05
salimhassan24-Mar-09 3:05 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer24-Mar-09 3:08
Iain Clarke, Warrior Programmer24-Mar-09 3:08 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 4:25
salimhassan24-Mar-09 4:25 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer24-Mar-09 5:23
Iain Clarke, Warrior Programmer24-Mar-09 5:23 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan25-Mar-09 1:56
salimhassan25-Mar-09 1:56 
Hey I was trying with getting the DIALOG Box Handle which comes when I open a password protected word file.
I found that below message is generated for the processess for word and the related dialog box.

"Password" "bosa_sdm_Microsoft Office Word12.0'
"Microsoft Word" 'OpusApp'

I am not sure which one is for what....
I used a tree control to list all the process running and getting the related handle.

::GetWindowText(hwnd, wndtext, sizeof(wndtext)/sizeof(TCHAR));
::GetClassName(hwnd, classname,
sizeof(classname)/sizeof(TCHAR));
str.Format (_T("%08Xh \"%s\" \'%s\' "), hwnd, wndtext,
classname);

getting some poblem with the comparisons..
CString a;
a.Format(_T("%08Xh "),hwnd);
CString temp = _T("\"TF_FloatingLangBar_WndTitle\" 'CiceroUIWndFrame' ");
a.Append(temp);

//if(str.Find(_T("\"Password\" 'bosa_sdm")))
if (!str.Compare(a))

never compares to true for the strings.
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer25-Mar-09 2:35
Iain Clarke, Warrior Programmer25-Mar-09 2:35 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan25-Mar-09 2:51
salimhassan25-Mar-09 2:51 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow25-Mar-09 2:48
David Crow25-Mar-09 2:48 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan25-Mar-09 2:58
salimhassan25-Mar-09 2:58 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow23-Mar-09 4:06
David Crow23-Mar-09 4:06 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
skamaal23-Mar-09 6:09
skamaal23-Mar-09 6:09 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow24-Mar-09 4:57
David Crow24-Mar-09 4:57 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 6:31
salimhassan24-Mar-09 6:31 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow24-Mar-09 6:47
David Crow24-Mar-09 6:47 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 6:54
salimhassan24-Mar-09 6:54 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow24-Mar-09 7:03
David Crow24-Mar-09 7:03 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 21:21
salimhassan24-Mar-09 21:21 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
David Crow25-Mar-09 2:51
David Crow25-Mar-09 2:51 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan25-Mar-09 3:12
salimhassan25-Mar-09 3:12 
QuestionC/C++, doubt on Friend function Pin
Pankaj D.Dubey23-Mar-09 3:11
Pankaj D.Dubey23-Mar-09 3:11 
AnswerRe: C/C++, doubt on Friend function Pin
Cedric Moonen23-Mar-09 3:23
Cedric Moonen23-Mar-09 3:23 
AnswerRe: C/C++, doubt on Friend function Pin
Eytukan23-Mar-09 3:39
Eytukan23-Mar-09 3:39 

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.