Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Linker Error PinmemberAndrew Cherednik15-Oct-12 11:27 
QuestionCALLBACK function MFC PinmemberD.Manivelan15-Oct-12 2:33 
AnswerRe: CALLBACK function MFC Pinmembersirama200415-Oct-12 2:44 
AnswerRe: CALLBACK function MFC PinmemberMaximilien15-Oct-12 2:59 
AnswerRe: CALLBACK function MFC PinmemberJochen Arndt15-Oct-12 3:05 
QuestionHow can I find the crash line of code from stack? PinmemberFalconapollo14-Oct-12 4:58 
AnswerRe: How can I find the crash line of code from stack? PinmvpRichard MacCutchan14-Oct-12 8:06 
QuestionPattern Abstract Factory PinmemberPahanuch14-Oct-12 3:45 
AnswerRe: Pattern Abstract Factory PinmemberRichard Andrew x6414-Oct-12 6:53 
QuestionHow to enable re-sizing window without using WS_THICKKFRAME PinmemberAdarapu Harikrishna12-Oct-12 11:18 
AnswerRe: How to enable re-sizing window without using WS_THICKKFRAME PinmemberRichard Andrew x6412-Oct-12 12:25 
GeneralRe: How to enable re-sizing window without using WS_THICKKFRAME PinmemberAdarapu Harikrishna14-Oct-12 15:51 
SuggestionRe: How to enable re-sizing window without using WS_THICKKFRAME PinmemberDavidCrow13-Oct-12 9:11 
QuestionProblem on modeless dialog on Excel PinmemberMember 311342211-Oct-12 7:23 
Hi Team,
 
I have create modeless dialog, which contain Edit Box, and put it in Excel.

The problem is every time I enter a text to my edit, the text disappear in Edit Box instead it show in a active cell in Excel.
 
Does someone has any suggestion?
 
Below is a code snipped
<pre lang="c++">BOOL CALLBACK ToolDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
switch(Message)
{
case WM_COMMAND:
break;
case WM_GETDLGCODE:
return TRUE;
case WM_SETFOCUS:
return TRUE;
case WM_KILLFOCUS:
return TRUE;
default:
return FALSE;
}
return TRUE;
}
 
void CWPFInDialog::CreateMyDialog(HWND a_hwnd)
{
 
//a_hwnd is an excel handle get from Excel::_Application::get_Hwnd() funcrtion

m_dialogHwnd = CreateDialog(g_hinstDLL, MAKEINTRESOURCE(IDD_DIALOGHOST), a_hwnd, ToolDlgProc);
 
if(m_dialogHwnd == NULL)
 
{
ShowWindow(m_dialogHwnd, SW_SHOW);
}
}
 
Thanks,
 
PS
AnswerRe: Problem on modeless dialog on Excel PinmvpRichard MacCutchan11-Oct-12 11:26 
GeneralRe: Problem on modeless dialog on Excel PinmemberMember 311342211-Oct-12 17:54 
GeneralRe: Problem on modeless dialog on Excel PinmvpRichard MacCutchan11-Oct-12 21:03 
GeneralRe: Problem on modeless dialog on Excel PinmemberMember 311342211-Oct-12 21:20 
GeneralRe: Problem on modeless dialog on Excel PinmvpRichard MacCutchan11-Oct-12 22:17 
GeneralRe: Problem on modeless dialog on Excel PinmemberDavidCrow12-Oct-12 10:26 
QuestionFatal Error C1902 Pinmemberpix_programmer10-Oct-12 22:42 
AnswerRe: Fatal Error C1902 PinmemberJochen Arndt10-Oct-12 22:51 
GeneralRe: Fatal Error C1902 Pinmemberpix_programmer10-Oct-12 22:59 
GeneralRe: Fatal Error C1902 PinmemberJochen Arndt10-Oct-12 23:05 
GeneralRe: Fatal Error C1902 Pinmemberpix_programmer10-Oct-12 23:18 
GeneralRe: Fatal Error C1902 PinmemberJochen Arndt10-Oct-12 23:27 
GeneralRe: Fatal Error C1902 Pinmemberpix_programmer10-Oct-12 23:43 
GeneralRe: Fatal Error C1902 PinmemberJochen Arndt10-Oct-12 23:52 
QuestionCRichEditCtrl halt any visual updates for a sec !! Pinmembersdancer7510-Oct-12 4:59 
AnswerRe: CRichEditCtrl halt any visual updates for a sec !! PinmemberJochen Arndt10-Oct-12 5:39 
AnswerRe: CRichEditCtrl halt any visual updates for a sec !! PinmemberAndrew Cherednik10-Oct-12 11:27 
GeneralRe: CRichEditCtrl halt any visual updates for a sec !! Pinmembersdancer7510-Oct-12 21:38 
QuestionHow to get which Radio button is Checked? PinmemberAnurag Kela10-Oct-12 2:14 
AnswerRe: How to get which Radio button is Checked? Pingroup_AnsHUMAN_ 10-Oct-12 2:29 
QuestionRe: How to get which Radio button is Checked? PinmemberDavidCrow10-Oct-12 2:38 
AnswerRe: How to get which Radio button is Checked? Pinmember«_Superman_»10-Oct-12 19:48 
Questionfile is getting deleted Pinmembersarfaraznawaz10-Oct-12 0:29 
AnswerRe: file is getting deleted Pinmembersirama200410-Oct-12 0:33 
GeneralRe: file is getting deleted Pinmembersarfaraznawaz10-Oct-12 2:06 
QuestionRe: file is getting deleted PinmemberDavidCrow10-Oct-12 2:40 
AnswerRe: file is getting deleted Pinmembersarfaraznawaz10-Oct-12 3:17 
GeneralRe: file is getting deleted PinmemberAndrew Cherednik10-Oct-12 11:32 
GeneralRe: file is getting deleted Pinmembersarfaraznawaz10-Oct-12 19:28 
QuestionMenu Items Not Displaying Pinmemberyogeshs10-Oct-12 0:09 
QuestionRe: Menu Items Not Displaying PinmemberDavidCrow10-Oct-12 2:43 
AnswerRe: Menu Items Not Displaying Pinmemberyogeshs10-Oct-12 2:58 
QuestionHow to capture a Key Press from other softwave which has e.handle=true? [modified] Pinmembertrandinhnam9-Oct-12 23:54 
QuestionFind sub-url [modified] Pinmemberjeff69-Oct-12 22:40 
AnswerRe: Find sub-url [modified] PinmemberJochen Arndt9-Oct-12 22:55 
AnswerRe: Find sub-url Pinmemberpasztorpisti10-Oct-12 0:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 30 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid