Modeless console window for loggin
-
- Posts: 97
- Joined: October 28th, 2012, 8:28 pm
Modeless console window for loggin
did any try to add a modeles console window to your project?
ifso .... please explain how
ifso .... please explain how
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Modeless console window for loggin
See if this helps.
http://msdn.microsoft.com/en-us/library ... deless_box
Never heard of such until you posted this, so this is all I have, perhaps someone else will answer.
http://msdn.microsoft.com/en-us/library ... deless_box
Never heard of such until you posted this, so this is all I have, perhaps someone else will answer.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
-
- Posts: 97
- Joined: October 28th, 2012, 8:28 pm
Re: Modeless console window for loggin
A modeless window .... Is like a external independ window in contrary to the messagebox witch halts the program on top until you close it.
With a modeles dialog you can move it to side and still control the main window.
I knew it from my MFC experiments .... Way back in time.
I was kinda lazy .... And thought maybe someone did it before me.
Thnx for the reply
With a modeles dialog you can move it to side and still control the main window.
I knew it from my MFC experiments .... Way back in time.
I was kinda lazy .... And thought maybe someone did it before me.
Thnx for the reply
Last edited by NaturalDemon on April 29th, 2014, 8:24 pm, edited 1 time in total.
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Modeless console window for loggin
lol, I here ya. Most here are just learning C++, a few have come here from other languages so maybe there is someone here that knows...chili, lux, luis.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
-
- Posts: 97
- Joined: October 28th, 2012, 8:28 pm
Re: Modeless console window for loggin
Currently i'm using a few lines of code to make log files to discover certain errors.albinopapa wrote:lol, I here ya. Most here are just learning C++, a few have come here from other languages so maybe there is someone here that knows...chili, lux, luis.
Using a modeles console dialag would make life so much eaiser.
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Modeless console window for loggin
so you are wanting 2 console windows to run "parallel"? or 1 console 1 win32 window? or 2 win32 windows?
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
-
- Posts: 97
- Joined: October 28th, 2012, 8:28 pm
Re: Modeless console window for loggin
Console is best!
Otherwise you also have to put winform shit to have textedit or maybe rich textbox , i havent digged into to that yet ....
There is so much to read on this world!
Otherwise you also have to put winform shit to have textedit or maybe rich textbox , i havent digged into to that yet ....
There is so much to read on this world!
Re: Modeless console window for loggin
i have definitely done this (have to look for post i made about this)
EDIT: hehe, here it is
http://www.planetchili.net/forum/viewto ... 8842#p8842
(lol, this makes post #777 xD)
EDIT: hehe, here it is
http://www.planetchili.net/forum/viewto ... 8842#p8842
(lol, this makes post #777 xD)
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
-
- Posts: 97
- Joined: October 28th, 2012, 8:28 pm
Re: Modeless console window for loggin
Btw:
Oherwise good info
http://msdn.microsoft.com/en-us/library ... deless_box
I prefer the console as it is just for display lines of information ... The fast way.
Paralel of internal ... Either is good.
Oherwise good info
http://msdn.microsoft.com/en-us/library ... deless_box
I prefer the console as it is just for display lines of information ... The fast way.
Paralel of internal ... Either is good.
Last edited by LuisR14 on May 3rd, 2014, 2:00 pm, edited 2 times in total.
Reason: fixed link
Reason: fixed link
-
- Posts: 97
- Joined: October 28th, 2012, 8:28 pm
Re: Modeless console window for loggin
win32 AttachConsole function
this is the answer ... seams!
http://msdn.microsoft.com/en-us/library ... s.85).aspx
but i still gotta figur out how it works.
this is the answer ... seams!
http://msdn.microsoft.com/en-us/library ... s.85).aspx
but i still gotta figur out how it works.