Click here to Skip to main content
15,917,964 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Usage of reference Pin
Richard MacCutchan29-Mar-11 6:54
mveRichard MacCutchan29-Mar-11 6:54 
QuestionWhy more than one picture added into .doc file can't be seen but single can? [modified] Pin
whiteclouds24-Mar-11 21:47
whiteclouds24-Mar-11 21:47 
QuestionHow to replace a '%' character in CComBSTR with "%%" Pin
narayanagvs23-Mar-11 0:31
narayanagvs23-Mar-11 0:31 
AnswerRe: How to replace a '%' character in CComBSTR with "%%" [modified] Pin
Cool_Dev24-Mar-11 2:18
Cool_Dev24-Mar-11 2:18 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 0:08
barneyman22-Apr-11 0:08 
RantRe: How to replace a '%' character in CComBSTR with "%%" Pin
Cool_Dev22-Apr-11 0:41
Cool_Dev22-Apr-11 0:41 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 0:50
barneyman22-Apr-11 0:50 
Questionget focus on ActiveX control in MFC Dialog Pin
MrKBA22-Mar-11 0:01
MrKBA22-Mar-11 0:01 
Hi
I have an MFC Dialog which contains an ActiveX control ( a small grid control developped en C# with DevExpress )

The problem appears when switch to an other application or screen until editing a row in this grid ( the cursor is inside the zone edit ).

i.e : when cursor in the edited row and switching screen -----> problem of crash ( i can't get the dialog again ; i click on the try icon but no result).

I tried to impliment the Onkillfocus()


void CApp_ToolDlg::OnKillFocus(CWnd* pNewWnd)
{
CWnd *pWnd = GetDlgItem(IDC_AXSEE_PLMPC1); // GET THE CWND OF ACTIVEX CONTROL
if( pWnd != NULL)
pWnd->SetFocus(); // TRY TO SET FOCUS ON IT
CDialog::OnKillFocus(pNewWnd);
}
Questionaccessing ActiveX array Pin
opti99921-Mar-11 23:33
opti99921-Mar-11 23:33 
AnswerRe: accessing ActiveX array Pin
Michael Dunn22-Mar-11 20:47
sitebuilderMichael Dunn22-Mar-11 20:47 
QuestionSinging COM Object Pin
Anders Molin21-Mar-11 2:31
professionalAnders Molin21-Mar-11 2:31 
AnswerRe: Singing COM Object Pin
Michael Dunn22-Mar-11 20:51
sitebuilderMichael Dunn22-Mar-11 20:51 
GeneralRe: Singing COM Object Pin
Anders Molin23-Mar-11 8:12
professionalAnders Molin23-Mar-11 8:12 
QuestionCreate my COM object from JScript Pin
Anders Molin21-Mar-11 2:29
professionalAnders Molin21-Mar-11 2:29 
QuestionHow to disable/enable the button on CommandBar in add-in application? Pin
whiteclouds17-Mar-11 22:13
whiteclouds17-Mar-11 22:13 
QuestionHow to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Philipp Kursawe11-Mar-11 2:46
Philipp Kursawe11-Mar-11 2:46 
QuestionRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? [modified] Pin
Cool_Dev11-Mar-11 3:20
Cool_Dev11-Mar-11 3:20 
AnswerRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Alain Rist11-Mar-11 9:47
Alain Rist11-Mar-11 9:47 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Philipp Kursawe17-Mar-11 0:24
Philipp Kursawe17-Mar-11 0:24 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Alain Rist17-Mar-11 9:49
Alain Rist17-Mar-11 9:49 
QuestionUsing CContainedWindowT in a base class causes assert in conrete class Pin
Philipp Kursawe10-Mar-11 20:39
Philipp Kursawe10-Mar-11 20:39 
AnswerRe: Using CContainedWindowT in a base class causes assert in conrete class Pin
Alain Rist11-Mar-11 10:13
Alain Rist11-Mar-11 10:13 
GeneralRe: Using CContainedWindowT in a base class causes assert in conrete class Pin
Philipp Kursawe13-Mar-11 11:14
Philipp Kursawe13-Mar-11 11:14 
QuestionHow to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Philipp Kursawe10-Mar-11 17:57
Philipp Kursawe10-Mar-11 17:57 
AnswerRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Alain Rist13-Mar-11 6:00
Alain Rist13-Mar-11 6:00 

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.