16,016,501 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Hyosoka Poipo (Top 17 by date)
Hyosoka Poipo
4-Aug-15 22:16pm
View
Thanks for your answer Mr.Jose... Btw... I have fixed this problem hehehehehe...:-)
Ummm..... I just move above code Android Studio and everything is good...:-)
So I think the problem was coming from my eclipse ADT, but It doesn't matter now...Hehehe...
Hyosoka Poipo
17-Dec-13 1:29am
View
i'm sorry,,i have changed my VS to 2010 again. so, i hope the problem will not happen again... :-)
it's look like the VS2012 still not so compatible with windows 7
thanks...:-)
Hyosoka Poipo
2-Sep-13 8:58am
View
oooo... i seee... :-)
btw thanks a looot again Jochen Arndt,,,:-)
Hyosoka Poipo
2-Sep-13 8:23am
View
owh.. i almost forget,,i have one more question Jochen. It's about this code :
class child_2; // Forward declaration to avoid including child_2.h
the question is why i have to avoid including child_2.h in my child_1 header then just define class child_2....?
thank you again Jochen... :D
Hyosoka Poipo
2-Sep-13 8:23am
View
Deleted
owh.. i almost forget,,i have one more question Jochen. It's about this code :
<pre lang="c++"> class child_2; // Forward declaration to avoid including child_2.h </pre>
the question is why i have to avoid including child_2.h in my child_1 header then just define class child_2....?
thank you again Jochen... :D
Hyosoka Poipo
2-Sep-13 8:00am
View
owh... Doc/View Structure....?
i don't understand what you mean Nelek....but i have found the solution that provided by Jochen Arndt....thanks so much... :-)
Hyosoka Poipo
2-Sep-13 7:48am
View
amazing....the problem has been solved....
thank you so much Jochen Arndt...
God Bless You... ;-)
Hyosoka Poipo
2-Sep-13 6:22am
View
owh..thanks Jochen Arndt... :-)
Hyosoka Poipo
2-Sep-13 5:41am
View
emmm....may be i have to read win32 programming instead of MFC...but thanks a lot _superman_ :-)
Hyosoka Poipo
2-Sep-13 5:38am
View
waawww... i really don't understand this code, :-(
Hyosoka Poipo
2-Sep-13 5:36am
View
i made an object of child2 in child1 in the header file
{in child1 header file}
#include "Child_2.h"
..
..
Child2 *chld2;
..
..
then in the cpp file:
void child_1::OnBnClickedEnter()
{
CString CSText;
m_EnterTextField.GetWindowText(CSText);
m_View = (CEdit *) chld2->GetDlgItem(CE_Child2);
m_View->SetWindowText(CSText);
}
did I make an invalid step Jochen ?
thanks... :-)
Hyosoka Poipo
2-Sep-13 5:13am
View
i think that the child2 is not created when i wanna set a text in it's CEdit...
but until now i still do not know how to solve this... :-(
Hyosoka Poipo
2-Sep-13 5:10am
View
the error is ASSERT that something like this:
ASSERT(::IsWindow(m_hWnd));//program stop in this line
Hyosoka Poipo
2-Sep-13 5:03am
View
thanks _Superman_,,,em...btw how to send the message from child1 to parent?
i'm not an expert in MFC hehe... :-)
Hyosoka Poipo
2-Sep-13 5:01am
View
Thanks for your answer Jochen Arndt...i have used your suggestion, but when i press enter button,,,there are an error said that "Unhandled exception at 0x50abeb2c(mfc100.dll)......"
then when i hit the break button, VS took me to this :
CWnd* CWnd::GetDlgItem(int nID) const
{
ASSERT(::IsWindow(m_hWnd));//program stop in this line
if (m_pCtrlCont == NULL)
return CWnd::FromHandle(::GetDlgItem(m_hWnd, nID));
else
return m_pCtrlCont->GetDlgItem(nID);
}
Hyosoka Poipo
2-Sep-13 2:53am
View
thanks Oliver, :-)
i have put my question in this link :
http://www.codeproject.com/Questions/646658/How-to-access-the-child-window-control-from-anothe
Hyosoka Poipo
29-Aug-13 0:00am
View
i have the same problem...
i'm using tabcontrol and have some child window....
the question is,,how do I access the child window control from other child window..?
i have read all of this conversation, but still didn't find a solution
thanks..
Show More