Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Combo box issue Pin
Chandrasekharan P7-Jan-08 22:35
Chandrasekharan P7-Jan-08 22:35 
GeneralRe: Combo box issue Pin
CPallini7-Jan-08 22:54
mveCPallini7-Jan-08 22:54 
GeneralRe: Combo box issue Pin
Chandrasekharan P7-Jan-08 23:16
Chandrasekharan P7-Jan-08 23:16 
QuestionProblem in subclassing of Combobox Pin
ashtwin7-Jan-08 0:52
ashtwin7-Jan-08 0:52 
QuestionRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 1:12
Nishad S7-Jan-08 1:12 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 1:44
ashtwin7-Jan-08 1:44 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 1:51
Nishad S7-Jan-08 1:51 
GeneralRe: Problem in subclassing of Combobox [modified] Pin
ashtwin7-Jan-08 2:10
ashtwin7-Jan-08 2:10 
Hi, from the function below i am sending the message.
<br />
BOOL MyBaseClass::PreTranslateMessage(MSG *pMsg)<br />
{<br />
  HWND hParent, hChild;<br />
  if(::FindWindow(NULL, _T("My Dialog")))<br />
 {<br />
   if(pMsg->message == WM_KEYDOWN)<br />
   {<br />
     if(pMsg->wParam == VK_TAB)<br />
     {<br />
	hChild = ::GetFocus();<br />
	hParent = ::GetParent(hChild);<br />
	::PostMessage(hParent, WM_MYMESSAGE, /*pMsg->wParam*/0, /*pMsg->lParam*/0); <br />
     }<br />
   }<br />
          <br />
 }<br />
return MyBaseClass::PreTranslateMessage(pMsg);<br />
}<br />

I am doing this because due to some reasons the keyboard messages are going to the above function.
MyBaseclass is the class from the child class of whom i am creating the modeless dialog.

modified on Monday, January 07, 2008 8:31:43 AM

GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 2:18
Nishad S7-Jan-08 2:18 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 2:27
ashtwin7-Jan-08 2:27 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 2:40
Nishad S7-Jan-08 2:40 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 2:51
ashtwin7-Jan-08 2:51 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 3:07
Nishad S7-Jan-08 3:07 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 3:20
ashtwin7-Jan-08 3:20 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 17:23
Nishad S7-Jan-08 17:23 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 21:52
ashtwin7-Jan-08 21:52 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 22:03
Nishad S7-Jan-08 22:03 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin9-Jan-08 23:23
ashtwin9-Jan-08 23:23 
QuestionRe: Problem in subclassing of Combobox Pin
Nishad S9-Jan-08 23:27
Nishad S9-Jan-08 23:27 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin10-Jan-08 1:43
ashtwin10-Jan-08 1:43 
QuestionHow to Get chinese text from rtf in messagebox . Pin
johnalek7-Jan-08 0:14
johnalek7-Jan-08 0:14 
AnswerRe: How to Get chinese text from rtf in messagebox . Pin
Matthew Faithfull7-Jan-08 0:52
Matthew Faithfull7-Jan-08 0:52 
GeneralRe: How to Get chinese text from rtf in messagebox . Pin
Maxwell Chen7-Jan-08 1:09
Maxwell Chen7-Jan-08 1:09 
GeneralRe: How to Get chinese text from rtf in messagebox . Pin
Matthew Faithfull7-Jan-08 1:14
Matthew Faithfull7-Jan-08 1:14 
GeneralThe pre tag issue Pin
Maxwell Chen7-Jan-08 1:19
Maxwell Chen7-Jan-08 1:19 

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.