Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get the handle of a Popup Menu for a window? Pin
Xiangyang Liu 刘向阳24-Jan-06 9:38
Xiangyang Liu 刘向阳24-Jan-06 9:38 
AnswerRe: How to get the handle of a Popup Menu for a window? Pin
Laxman924-Jan-06 17:33
Laxman924-Jan-06 17:33 
AnswerRe: How to get the handle of a Popup Menu for a window? Pin
Ryan Binns24-Jan-06 17:58
Ryan Binns24-Jan-06 17:58 
GeneralRe: How to get the handle of a Popup Menu for a window? Pin
Xiangyang Liu 刘向阳25-Jan-06 13:56
Xiangyang Liu 刘向阳25-Jan-06 13:56 
AnswerRe: How to get the handle of a Popup Menu for a window? Pin
Hans Ruck24-Jan-06 22:30
Hans Ruck24-Jan-06 22:30 
QuestionMRU in a popup submenu Pin
manosza24-Jan-06 9:17
manosza24-Jan-06 9:17 
QuestionPassword protect a document Pin
arnoldkempt24-Jan-06 8:41
arnoldkempt24-Jan-06 8:41 
AnswerRe: Password protect a document Pin
Maximilien24-Jan-06 8:47
Maximilien24-Jan-06 8:47 
do all of this work before actually loading the file; you can do a lot of things before calling serialization.

you first do a "pre-read" (hidden from the user ) to see if the document is protected, then if it's not protected, you load it, if it's protected, read the password, compare it with the one in the document, if password is ok, read the file.

or simply ask for the password, then call the serialization and check there if the password is valid, and exit from the serialization.




Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: Password protect a document Pin
arnoldkempt25-Jan-06 7:27
arnoldkempt25-Jan-06 7:27 
AnswerRe: Password protect a document Pin
sps-itsec4624-Jan-06 12:56
sps-itsec4624-Jan-06 12:56 
QuestionMS Access ODBC Compact and Repair Pin
Anfernius24-Jan-06 6:20
Anfernius24-Jan-06 6:20 
QuestionWTF: std::string.find_first_of woes Pin
Sebastian Schneider24-Jan-06 5:25
Sebastian Schneider24-Jan-06 5:25 
AnswerRe: WTF: std::string.find_first_of woes Pin
Christian Graus24-Jan-06 14:20
protectorChristian Graus24-Jan-06 14:20 
GeneralRe: WTF: std::string.find_first_of woes Pin
Sebastian Schneider25-Jan-06 2:07
Sebastian Schneider25-Jan-06 2:07 
Question__gc* equivalent in VC++ 2005 Pin
madhusri24-Jan-06 4:32
madhusri24-Jan-06 4:32 
AnswerRe: __gc* equivalent in VC++ 2005 Pin
toxcct24-Jan-06 4:34
toxcct24-Jan-06 4:34 
GeneralRe: __gc* equivalent in VC++ 2005 Pin
madhusri24-Jan-06 4:44
madhusri24-Jan-06 4:44 
GeneralRe: __gc* equivalent in VC++ 2005 Pin
Christian Graus24-Jan-06 14:34
protectorChristian Graus24-Jan-06 14:34 
GeneralRe: __gc* equivalent in VC++ 2005 Pin
Ryan Binns24-Jan-06 17:59
Ryan Binns24-Jan-06 17:59 
QuestionHello Pin
nne-vitamin24-Jan-06 4:06
nne-vitamin24-Jan-06 4:06 
AnswerRe: Hello Pin
toxcct24-Jan-06 4:32
toxcct24-Jan-06 4:32 
GeneralRe: Hello Pin
nne-vitamin24-Jan-06 4:42
nne-vitamin24-Jan-06 4:42 
GeneralRe: Hello Pin
toxcct24-Jan-06 4:45
toxcct24-Jan-06 4:45 
GeneralRe: Hello Pin
nne-vitamin24-Jan-06 5:00
nne-vitamin24-Jan-06 5:00 
GeneralRe: Hello Pin
toxcct24-Jan-06 5:03
toxcct24-Jan-06 5:03 

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.