Click here to Skip to main content
11,484,640 members (60,492 online)

C / C++ / MFC

 
AnswerRe: Linker Error Pin
Andrew Cherednik15-Oct-12 12:27
memberAndrew Cherednik15-Oct-12 12:27 
QuestionCALLBACK function MFC Pin
D.Manivelan15-Oct-12 3:33
memberD.Manivelan15-Oct-12 3:33 
AnswerRe: CALLBACK function MFC Pin
sirama200415-Oct-12 3:44
membersirama200415-Oct-12 3:44 
AnswerRe: CALLBACK function MFC Pin
Maximilien15-Oct-12 3:59
memberMaximilien15-Oct-12 3:59 
AnswerRe: CALLBACK function MFC Pin
Jochen Arndt15-Oct-12 4:05
memberJochen Arndt15-Oct-12 4:05 
QuestionHow can I find the crash line of code from stack? Pin
Falconapollo14-Oct-12 5:58
memberFalconapollo14-Oct-12 5:58 
AnswerRe: How can I find the crash line of code from stack? Pin
Richard MacCutchan14-Oct-12 9:06
mvpRichard MacCutchan14-Oct-12 9:06 
QuestionPattern Abstract Factory Pin
Pahanuch14-Oct-12 4:45
memberPahanuch14-Oct-12 4:45 
AnswerRe: Pattern Abstract Factory Pin
Richard Andrew x6414-Oct-12 7:53
memberRichard Andrew x6414-Oct-12 7:53 
QuestionHow to enable re-sizing window without using WS_THICKKFRAME Pin
Adarapu Harikrishna12-Oct-12 12:18
memberAdarapu Harikrishna12-Oct-12 12:18 
AnswerRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Richard Andrew x6412-Oct-12 13:25
memberRichard Andrew x6412-Oct-12 13:25 
GeneralRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Adarapu Harikrishna14-Oct-12 16:51
memberAdarapu Harikrishna14-Oct-12 16:51 
SuggestionRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
DavidCrow13-Oct-12 10:11
memberDavidCrow13-Oct-12 10:11 
QuestionProblem on modeless dialog on Excel Pin
Member 311342211-Oct-12 8:23
memberMember 311342211-Oct-12 8: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 Pin
Richard MacCutchan11-Oct-12 12:26
mvpRichard MacCutchan11-Oct-12 12:26 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 18:54
memberMember 311342211-Oct-12 18:54 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 22:03
mvpRichard MacCutchan11-Oct-12 22:03 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 22:20
memberMember 311342211-Oct-12 22:20 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 23:17
mvpRichard MacCutchan11-Oct-12 23:17 
GeneralRe: Problem on modeless dialog on Excel Pin
DavidCrow12-Oct-12 11:26
memberDavidCrow12-Oct-12 11:26 
QuestionFatal Error C1902 Pin
pix_programmer10-Oct-12 23:42
memberpix_programmer10-Oct-12 23:42 
AnswerRe: Fatal Error C1902 Pin
Jochen Arndt10-Oct-12 23:51
memberJochen Arndt10-Oct-12 23:51 
GeneralRe: Fatal Error C1902 Pin
pix_programmer10-Oct-12 23:59
memberpix_programmer10-Oct-12 23:59 
GeneralRe: Fatal Error C1902 Pin
Jochen Arndt11-Oct-12 0:05
memberJochen Arndt11-Oct-12 0:05 
GeneralRe: Fatal Error C1902 Pin
pix_programmer11-Oct-12 0:18
memberpix_programmer11-Oct-12 0:18 
GeneralRe: Fatal Error C1902 Pin
Jochen Arndt11-Oct-12 0:27
memberJochen Arndt11-Oct-12 0:27 
GeneralRe: Fatal Error C1902 Pin
pix_programmer11-Oct-12 0:43
memberpix_programmer11-Oct-12 0:43 
GeneralRe: Fatal Error C1902 Pin
Jochen Arndt11-Oct-12 0:52
memberJochen Arndt11-Oct-12 0:52 
QuestionCRichEditCtrl halt any visual updates for a sec !! Pin
sdancer7510-Oct-12 5:59
membersdancer7510-Oct-12 5:59 
AnswerRe: CRichEditCtrl halt any visual updates for a sec !! Pin
Jochen Arndt10-Oct-12 6:39
memberJochen Arndt10-Oct-12 6:39 
AnswerRe: CRichEditCtrl halt any visual updates for a sec !! Pin
Andrew Cherednik10-Oct-12 12:27
memberAndrew Cherednik10-Oct-12 12:27 
GeneralRe: CRichEditCtrl halt any visual updates for a sec !! Pin
sdancer7510-Oct-12 22:38
membersdancer7510-Oct-12 22:38 
QuestionHow to get which Radio button is Checked? Pin
Anurag Kela10-Oct-12 3:14
memberAnurag Kela10-Oct-12 3:14 
AnswerRe: How to get which Radio button is Checked? Pin
_AnsHUMAN_ 10-Oct-12 3:29
group_AnsHUMAN_ 10-Oct-12 3:29 
QuestionRe: How to get which Radio button is Checked? Pin
DavidCrow10-Oct-12 3:38
memberDavidCrow10-Oct-12 3:38 
AnswerRe: How to get which Radio button is Checked? Pin
«_Superman_»10-Oct-12 20:48
member«_Superman_»10-Oct-12 20:48 
Questionfile is getting deleted Pin
sarfaraznawaz10-Oct-12 1:29
membersarfaraznawaz10-Oct-12 1:29 
AnswerRe: file is getting deleted Pin
sirama200410-Oct-12 1:33
membersirama200410-Oct-12 1:33 
GeneralRe: file is getting deleted Pin
sarfaraznawaz10-Oct-12 3:06
membersarfaraznawaz10-Oct-12 3:06 
QuestionRe: file is getting deleted Pin
DavidCrow10-Oct-12 3:40
memberDavidCrow10-Oct-12 3:40 
AnswerRe: file is getting deleted Pin
sarfaraznawaz10-Oct-12 4:17
membersarfaraznawaz10-Oct-12 4:17 
GeneralRe: file is getting deleted Pin
Andrew Cherednik10-Oct-12 12:32
memberAndrew Cherednik10-Oct-12 12:32 
GeneralRe: file is getting deleted Pin
sarfaraznawaz10-Oct-12 20:28
membersarfaraznawaz10-Oct-12 20:28 
QuestionMenu Items Not Displaying Pin
yogeshs10-Oct-12 1:09
memberyogeshs10-Oct-12 1:09 
QuestionRe: Menu Items Not Displaying Pin
DavidCrow10-Oct-12 3:43
memberDavidCrow10-Oct-12 3:43 
AnswerRe: Menu Items Not Displaying Pin
yogeshs10-Oct-12 3:58
memberyogeshs10-Oct-12 3:58 
QuestionHow to capture a Key Press from other softwave which has e.handle=true? [modified] Pin
trandinhnam10-Oct-12 0:54
membertrandinhnam10-Oct-12 0:54 
QuestionFind sub-url [modified] Pin
jeff69-Oct-12 23:40
memberjeff69-Oct-12 23:40 
AnswerRe: Find sub-url [modified] Pin
Jochen Arndt9-Oct-12 23:55
memberJochen Arndt9-Oct-12 23:55 
AnswerRe: Find sub-url Pin
pasztorpisti10-Oct-12 1:25
memberpasztorpisti10-Oct-12 1: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
Web03 | 2.8.150520.1 | Last Updated 25 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid