Click here to Skip to main content
15,867,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Accessing vector in another class?? Pin
Richard MacCutchan16-Nov-10 1:40
mveRichard MacCutchan16-Nov-10 1:40 
GeneralRe: Accessing vector in another class?? Pin
AmbiguousName16-Nov-10 2:14
AmbiguousName16-Nov-10 2:14 
QuestionCan i use Property Page as a dialog Box? Pin
Le@rner15-Nov-10 20:11
Le@rner15-Nov-10 20:11 
AnswerRe: Can i use Property Page as a dialog Box? Pin
Cedric Moonen15-Nov-10 20:33
Cedric Moonen15-Nov-10 20:33 
GeneralRe: Can i use Property Page as a dialog Box? Pin
Le@rner15-Nov-10 20:49
Le@rner15-Nov-10 20:49 
GeneralRe: Can i use Property Page as a dialog Box? Pin
Cool_Dev15-Nov-10 21:27
Cool_Dev15-Nov-10 21:27 
GeneralRe: Can i use Property Page as a dialog Box? Pin
Le@rner15-Nov-10 23:09
Le@rner15-Nov-10 23:09 
GeneralRe: Can i use Property Page as a dialog Box? Pin
Cool_Dev15-Nov-10 23:30
Cool_Dev15-Nov-10 23:30 
Option is, when you are using property page as a dialog,let the messages be handled by CDialog rather than cPropertyPage. Over-ride PreTranslateMessage for this purpose.

BOOL CMyPropPage::PreTranslateMessage(MSG* pMsg) 
{
  // when using as a propery page,	
  //return CPropertyPage::PreTranslateMessage(pMsg);

  // when using as dialog
  return CDialog::PreTranslateMessage(pMsg);
}


seems crazy Cool | :cool:

If you are overriding OnCancel(), call CDialog::OnCancel() to dismiss the dialog on escape key.
AnswerRe: Can i use Property Page as a dialog Box? Pin
Alain Rist16-Nov-10 5:21
Alain Rist16-Nov-10 5:21 
AnswerRe: Can i use Property Page as a dialog Box? Pin
David Crow16-Nov-10 3:55
David Crow16-Nov-10 3:55 
QuestionHow can use it in List Ctrl? Pin
Le@rner15-Nov-10 18:10
Le@rner15-Nov-10 18:10 
AnswerRe: How can use it in List Ctrl? Pin
Cool_Dev15-Nov-10 21:34
Cool_Dev15-Nov-10 21:34 
GeneralRe: How can use it in List Ctrl? Pin
Le@rner15-Nov-10 21:38
Le@rner15-Nov-10 21:38 
GeneralRe: How can use it in List Ctrl? Pin
Cool_Dev15-Nov-10 22:23
Cool_Dev15-Nov-10 22:23 
AnswerRe: How can use it in List Ctrl? Pin
Code-o-mat15-Nov-10 21:38
Code-o-mat15-Nov-10 21:38 
GeneralRe: How can use it in List Ctrl? Pin
Le@rner15-Nov-10 21:40
Le@rner15-Nov-10 21:40 
QuestionHow to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Paul Belikian15-Nov-10 9:28
Paul Belikian15-Nov-10 9:28 
AnswerRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Code-o-mat15-Nov-10 10:05
Code-o-mat15-Nov-10 10:05 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Paul Belikian15-Nov-10 11:14
Paul Belikian15-Nov-10 11:14 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Code-o-mat15-Nov-10 11:40
Code-o-mat15-Nov-10 11:40 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Paul Belikian15-Nov-10 13:04
Paul Belikian15-Nov-10 13:04 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Code-o-mat15-Nov-10 21:33
Code-o-mat15-Nov-10 21:33 
Question_unresolved external symbol error?? Pin
AmbiguousName15-Nov-10 9:20
AmbiguousName15-Nov-10 9:20 
AnswerRe: _unresolved external symbol error?? Pin
«_Superman_»15-Nov-10 9:26
professional«_Superman_»15-Nov-10 9:26 
AnswerRe: _unresolved external symbol error?? Pin
Stephen Hewitt15-Nov-10 18:34
Stephen Hewitt15-Nov-10 18:34 

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.