Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: JavaScript from ActiveX Control Pin
Sheng Jiang 蒋晟17-Nov-05 12:47
Sheng Jiang 蒋晟17-Nov-05 12:47 
GeneralRe: JavaScript from ActiveX Control Pin
ThatsAlok17-Nov-05 21:44
ThatsAlok17-Nov-05 21:44 
GeneralRe: JavaScript from ActiveX Control Pin
Sheng Jiang 蒋晟18-Nov-05 2:51
Sheng Jiang 蒋晟18-Nov-05 2:51 
QuestionType of an Object Pin
romuzu16-Nov-05 23:20
romuzu16-Nov-05 23:20 
AnswerRe: Type of an Object Pin
Gizzo16-Nov-05 23:49
Gizzo16-Nov-05 23:49 
AnswerRe: Type of an Object Pin
followait17-Nov-05 0:46
followait17-Nov-05 0:46 
AnswerRe: Type of an Object Pin
David Crow17-Nov-05 2:39
David Crow17-Nov-05 2:39 
QuestionStrange Child Windows Pin
Fester_197716-Nov-05 21:18
Fester_197716-Nov-05 21:18 
Hello!

I have a strange problem.
There are a TestApplication and a DLL.

DLL exports one function:
__declspec ( dllexport ) void StartTest (HWND hWnd)<br />
{<br />
	AFX_MANAGE_STATE(AfxGetStaticModuleState());<br />
<br />
	CWnd *pParent = CWnd::FromHandle (hWnd);<br />
	g_pDialog1 = new CDialog1 ( pParent );<br />
	g_pDialog1->Create ( IDD_DIALOG_1, pParent );<br />
	g_pDialog1->ShowWindow ( SW_SHOW );<br />
}

There is only one ListCtrl on the dialog. And when a user doubleclicks on the ListCtrl, thete will be shonw a ExEditBox (inherited from CEditBox)

The TestApplication (Dialog based) calls StartTest:
StartTest ( this->m_hWnd );

The strange is, that when i press ENTER in the pop-up EditBox my TestApplication closes (i'm tring to catch WM_KEYDOWN in ExEditBox's PreTranslateMessage, but there are no messages and all messages are going to the TestApplication). Do you know why?

And it word exelent, if i'd make the same without DLL.
AnswerRe: Strange Child Windows Pin
Arman S.17-Nov-05 1:34
Arman S.17-Nov-05 1:34 
GeneralRe: Strange Child Windows Pin
Fester_197717-Nov-05 2:40
Fester_197717-Nov-05 2:40 
GeneralRe: Strange Child Windows Pin
S Douglas17-Nov-05 19:55
professionalS Douglas17-Nov-05 19:55 
QuestionDisplay text on Lacal language Pin
anilksingh16-Nov-05 18:33
anilksingh16-Nov-05 18:33 
AnswerRe: Display text on Lacal language Pin
Rage17-Nov-05 5:59
professionalRage17-Nov-05 5:59 
QuestionHow to know what are the ports that are currrently being occupied by a particular application? Pin
Owner drawn16-Nov-05 18:19
Owner drawn16-Nov-05 18:19 
QuestionHow come I can not set debug breakpoint? Pin
ewighell16-Nov-05 15:43
ewighell16-Nov-05 15:43 
AnswerRe: How come I can not set debug breakpoint? Pin
User 58385216-Nov-05 17:32
User 58385216-Nov-05 17:32 
AnswerRe: How come I can not set debug breakpoint? Pin
Cool Ju16-Nov-05 17:45
Cool Ju16-Nov-05 17:45 
GeneralRe: How come I can not set debug breakpoint? Pin
ewighell16-Nov-05 20:35
ewighell16-Nov-05 20:35 
Questionsample to read unix file permissions by ftp connection Pin
includeh1016-Nov-05 15:37
includeh1016-Nov-05 15:37 
AnswerRe: sample to read unix file permissions by ftp connection Pin
kakan16-Nov-05 23:03
professionalkakan16-Nov-05 23:03 
QuestionCPen width too big Pin
BuckBrown16-Nov-05 13:07
BuckBrown16-Nov-05 13:07 
QuestionBSTR in sprintf Pin
itkid16-Nov-05 5:45
itkid16-Nov-05 5:45 
QuestionRe: BSTR in sprintf Pin
David Crow16-Nov-05 6:55
David Crow16-Nov-05 6:55 
AnswerRe: BSTR in sprintf Pin
Stephen Hewitt21-Apr-06 2:21
Stephen Hewitt21-Apr-06 2:21 
AnswerRe: BSTR in sprintf Pin
James R. Twine16-Nov-05 7:16
James R. Twine16-Nov-05 7:16 

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.