|
-
February 18th, 2003, 07:37 AM
#1
Chid window within console window
Child window of console application. When WriteConsole(), their contents are overwritten. The only way I found of avoid this was to create it with GetDesktopWindow() as parent and, for always seeing it, use HWND_TOPMOST. Very, very, very ugly and nasty. Child window, of course, with WS_CLIPCHILDEN and WS_CLIPSIBLINGS.
How can I avoid this without these bad methods?
Thanks
-
February 21st, 2003, 04:48 PM
#2
Console applications are not supposed to have windows. You are breaking the metaphor; either it's a windows-based application or it's a console application. Mixing the two is bound to create problems.
Henri Hein
Principal Engineer, Propel
Do not credit Propel with my views or opinions.
-
February 24th, 2003, 03:58 AM
#3
Perhaps you are right, but my philosophy is to do things as easily and efficiently as possible in order to minimize time and effort. In this case, I chose that way although there was others, of course.
After all, console window is a window and it would to behave as such. If not, the problem comes from that environment creators.
I hope there was a way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|