Click here to Skip to main content
15,909,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to disable "Show window content while dragging" style to my CDialog Window Pin
sudhir_Kumar8-Jun-08 23:55
sudhir_Kumar8-Jun-08 23:55 
AnswerRe: How to disable "Show window content while dragging" style to my CDialog Window Pin
James R. Twine9-Jun-08 1:08
James R. Twine9-Jun-08 1:08 
GeneralRe: How to disable "Show window content while dragging" style to my CDialog Window Pin
Nyil14-Jul-08 1:32
Nyil14-Jul-08 1:32 
QuestionCommunication between TreeView and FormView Pin
Maxim Zarus8-Jun-08 23:31
Maxim Zarus8-Jun-08 23:31 
AnswerRe: Communication between TreeView and FormView Pin
Paresh Chitte8-Jun-08 23:37
Paresh Chitte8-Jun-08 23:37 
AnswerRe: Communication between TreeView and FormView Pin
sudhir_Kumar8-Jun-08 23:48
sudhir_Kumar8-Jun-08 23:48 
GeneralRe: Communication between TreeView and FormView Pin
Maxim Zarus9-Jun-08 0:02
Maxim Zarus9-Jun-08 0:02 
GeneralRe: Communication between TreeView and FormView Pin
sudhir_Kumar9-Jun-08 0:18
sudhir_Kumar9-Jun-08 0:18 
Try to run this code.
CFrameWnd * pFrame = (CFrameWnd *)(AfxGetApp()->m_pMainWnd);
CView* pFrmView = pFrame->GetActiveView ();

CRightView *rView = NULL;


if (pFrmView->IsKindOf (RUNTIME_CLASS (CRightView)))
rView = (CRightView *)pFrmView;

(Your Doc Class Name) * pDoc = GetDocument()

if(rView == NULL)
{
POSITION pos = pDoc->GetFirstViewPosition();
while (pos)
{
CView* pView = GetNextView (pos);
if (pView->IsKindOf (RUNTIME_CLASS (CFormView)))
{
rView = (CRightView *)pFrmView;
}
}
}

if(rView!=NULL)
{
rView->m_Edit1.SetWindowText(_T("ok"));
}

-@SuDhIrKuMaR@-

GeneralRe: Communication between TreeView and FormView Pin
Maxim Zarus9-Jun-08 0:42
Maxim Zarus9-Jun-08 0:42 
QuestionProblem with variables Pin
pl_kode8-Jun-08 23:18
pl_kode8-Jun-08 23:18 
AnswerRe: Problem with variables Pin
Naveen8-Jun-08 23:24
Naveen8-Jun-08 23:24 
AnswerRe: Problem with variables Pin
CPallini8-Jun-08 23:24
mveCPallini8-Jun-08 23:24 
AnswerRe: Problem with variables Pin
_AnsHUMAN_ 8-Jun-08 23:26
_AnsHUMAN_ 8-Jun-08 23:26 
AnswerRe: Problem with variables Pin
Paresh Chitte8-Jun-08 23:27
Paresh Chitte8-Jun-08 23:27 
AnswerRe: Problem with variables Pin
David Crow9-Jun-08 7:08
David Crow9-Jun-08 7:08 
QuestionHi i am getting linker error LNK2001:unresolved external symbol Pin
Member 46556858-Jun-08 22:49
Member 46556858-Jun-08 22:49 
AnswerRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
toxcct8-Jun-08 22:53
toxcct8-Jun-08 22:53 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Member 46556858-Jun-08 23:05
Member 46556858-Jun-08 23:05 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
toxcct8-Jun-08 23:10
toxcct8-Jun-08 23:10 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Member 46556858-Jun-08 23:20
Member 46556858-Jun-08 23:20 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Member 46556858-Jun-08 23:22
Member 46556858-Jun-08 23:22 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Cedric Moonen8-Jun-08 23:46
Cedric Moonen8-Jun-08 23:46 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Member 46556858-Jun-08 23:24
Member 46556858-Jun-08 23:24 
AnswerRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Naveen8-Jun-08 23:17
Naveen8-Jun-08 23:17 
GeneralRe: Hi i am getting linker error LNK2001:unresolved external symbol Pin
Member 46556858-Jun-08 23:43
Member 46556858-Jun-08 23:43 

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.