15,888,116 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 Python 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 Tonex247 (Top 15 by date)
Tonex247
4-Nov-15 19:23pm
View
No help from anyone?
Tonex247
28-Oct-15 2:04am
View
When I open the file with MS wordpad, the image in it is displayed, but when I open it with my RichEdit control, the image doesn't display. I feel it may have something to do with OLE RichEdit interface. Am I right?
Tonex247
22-Aug-14 13:53pm
View
@Richard thanks, I have heard of some object serialization, maybe i should look into it. it should be easier. Thanks.
Tonex247
22-Aug-14 12:15pm
View
I dont think its that simple. So if you are sending Name, Address, as string, and Amount as integer in one record, you just pack them together? I know it should have something to do with objects of a class
Tonex247
11-Jan-14 10:35am
View
Looks like a dead end here! The concept is that when i click the login button i want the welcome screen window with its controls to disappear and the login window with its controls shown. I just cant call
ShowWindow()
for every control on the welcomeScreen window and on the login Screen window. Since when a window is hidden its children are hidden with it, it becomes easy to call
ShowWindow()
on the child window which contains the welcome screen controls, and call it again on the login child window. I just hope its not a dead end this time.
Tonex247
11-Jan-14 6:07am
View
You are wonderful, Thanks. I think you understand my JAVA app. perfectly, but the problem in the C++ is that in JAVA we have JPanenl which is a container that carries buttons and other controls, and this container is usually fit into the client area of the main window. this container can also contain other containers(like the ones with orange border on the menuScreen of my JAVA app), this containers can then contain buttons... But in C++, the first container(Child window) refused to display the second container(grand child window) on restore of the main window. It seems that the parent window takes care of the repaint of its child automatically, but the child cannot repaint its child. I've tried alot of ways to do this including sending paint messages to each window, redraw... but didn't work. I'm try to trace how and when the repaint message is send to the main window so i can try forwarding it if possible. And, as for every other part, including image painting with GDI, i have taken care of that. And as for beginners tutorials, i've done that including Petzol and many others about a year ago. Once again Thank you for your help so far
Tonex247
10-Jan-14 9:31am
View
I've tried alot of ways but so long as it is specified to be a child of a child (grand child) it gives the same problem. As for ID, thats not a problem, as soon as I get this working, every other thing goes in smoothly. And Thanks for your effort.
Tonex247
10-Jan-14 9:21am
View
Here is the JAVA app
http://wikisend.com/download/448658/PrisonMan.zip
[
^
]
Tonex247
10-Jan-14 9:00am
View
Separating the codes into different classes is really not the problem, i've tried everything in one module and its still the same. I tried using
CreateWindow()
instead but that was worse, the grand child didn't even appear in the first place. My Project is about prison management system, I've written it fully in JAVA but I was asked to translate to C++. I battled with MFC but that was a headache with its Documents and Views. I figured out WinAPI was easier and better (IMO). I'll try and upload the JAVA app so u can understand what i intend doing. Thanks to you all.
Tonex247
4-Mar-13 21:20pm
View
This means messages will be handled in the win32 api native way. Its going to be too much load for my level of knowledge for what i intend to do with it. But they (MSDN) say by using subclasswindow, messages can be rerouted to other classes. Thanks all thesame. Still searching.
Tonex247
3-Mar-13 10:00am
View
Can someone help with info about SubclassWindow() function. That is, where to put the code (MainFrame or CChildView), what to attach to the function (framwndObject.SubclassWindow( childViewObjectHandle )). please help. Thanks
Tonex247
2-Mar-13 9:13am
View
I wish i could get the implementation of CButton, maybe i'll be able to figure out how they transfer messages from CButton class to the CChildView class.
Tonex247
27-Feb-13 5:21am
View
I want to use different objects of the CChildView to create many views which i can switch at runtime, but when i test the second view, it doesnt work because of the ID. See updated post.
Tonex247
27-Feb-13 1:23am
View
@Andrew thanks but i've done a deep search and heavy reading on this before asking this question. Its only command messages (from menu and toolbar) that are routed that way. Windows messages (from buttons and edits) are sent to their owners which is the CChildView. I want to reroute this to mainFrm.
Tonex247
26-Feb-13 16:58pm
View
@Richard, thanks for the post but my app is not a document/view app.
Show More