Modeless console window for loggin

The Partridge Family were neither partridges nor a family. Discuss.
NaturalDemon
Posts: 97
Joined: October 28th, 2012, 8:28 pm

Modeless console window for loggin

Post by NaturalDemon » April 29th, 2014, 3:33 pm

did any try to add a modeles console window to your project?

ifso .... please explain how

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Modeless console window for loggin

Post by albinopapa » April 29th, 2014, 8:14 pm

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.
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

NaturalDemon
Posts: 97
Joined: October 28th, 2012, 8:28 pm

Re: Modeless console window for loggin

Post by NaturalDemon » April 29th, 2014, 8:20 pm

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
Last edited by NaturalDemon on April 29th, 2014, 8:24 pm, edited 1 time in total.

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Modeless console window for loggin

Post by albinopapa » April 29th, 2014, 8:22 pm

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

NaturalDemon
Posts: 97
Joined: October 28th, 2012, 8:28 pm

Re: Modeless console window for loggin

Post by NaturalDemon » April 29th, 2014, 8:29 pm

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.
Currently i'm using a few lines of code to make log files to discover certain errors.
Using a modeles console dialag would make life so much eaiser.

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Modeless console window for loggin

Post by albinopapa » April 29th, 2014, 10:55 pm

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

NaturalDemon
Posts: 97
Joined: October 28th, 2012, 8:28 pm

Re: Modeless console window for loggin

Post by NaturalDemon » April 29th, 2014, 11:01 pm

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!

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Modeless console window for loggin

Post by LuisR14 » April 30th, 2014, 6:58 pm

i have definitely done this :) (have to look for post i made about this)

EDIT: hehe, here it is :P
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 :mrgreen: --

NaturalDemon
Posts: 97
Joined: October 28th, 2012, 8:28 pm

Re: Modeless console window for loggin

Post by NaturalDemon » May 2nd, 2014, 10:08 pm

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.
Last edited by LuisR14 on May 3rd, 2014, 2:00 pm, edited 2 times in total.
Reason: fixed link

NaturalDemon
Posts: 97
Joined: October 28th, 2012, 8:28 pm

Re: Modeless console window for loggin

Post by NaturalDemon » May 4th, 2014, 2:54 am

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.

Post Reply