Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing LPCSTR from C++ Dll to VB Pin
Matthew Faithfull7-Jan-08 2:23
Matthew Faithfull7-Jan-08 2:23 
GeneralRe: Passing LPCSTR from C++ Dll to VB Pin
Chris Losinger7-Jan-08 7:25
professionalChris Losinger7-Jan-08 7:25 
GeneralRe: Passing LPCSTR from C++ Dll to VB Pin
Maxwell Chen7-Jan-08 7:45
Maxwell Chen7-Jan-08 7:45 
QuestionRe: Passing LPCSTR from C++ Dll to VB Pin
CPallini7-Jan-08 2:53
mveCPallini7-Jan-08 2:53 
GeneralRe: Passing LPCSTR from C++ Dll to VB Pin
CrocodileBuck7-Jan-08 3:14
CrocodileBuck7-Jan-08 3:14 
GeneralI got it! Pin
CPallini7-Jan-08 11:12
mveCPallini7-Jan-08 11:12 
GeneralRe: Passing LPCSTR from C++ Dll to VB Pin
Chris Meech7-Jan-08 7:59
Chris Meech7-Jan-08 7:59 
GeneralRe: Passing LPCSTR from C++ Dll to VB Pin
CrocodileBuck8-Jan-08 0:07
CrocodileBuck8-Jan-08 0:07 
QuestionMemory Table Pin
Programm3r7-Jan-08 1:20
Programm3r7-Jan-08 1:20 
GeneralRe: Memory Table Pin
Nishad S7-Jan-08 1:58
Nishad S7-Jan-08 1:58 
GeneralRe: Memory Table Pin
Programm3r7-Jan-08 2:24
Programm3r7-Jan-08 2:24 
GeneralRe: Memory Table Pin
toxcct7-Jan-08 3:10
toxcct7-Jan-08 3:10 
GeneralRe: Memory Table Pin
CPallini7-Jan-08 9:09
mveCPallini7-Jan-08 9:09 
GeneralCombo box issue Pin
Chandrasekharan P7-Jan-08 1:02
Chandrasekharan P7-Jan-08 1:02 
QuestionRe: Combo box issue Pin
CPallini7-Jan-08 1:51
mveCPallini7-Jan-08 1:51 
GeneralRe: Combo box issue Pin
Chandrasekharan P7-Jan-08 21:42
Chandrasekharan P7-Jan-08 21:42 
QuestionRe: Combo box issue Pin
CPallini7-Jan-08 22:00
mveCPallini7-Jan-08 22:00 
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

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.