Jump to content
  • Advertisement
Sign in to follow this  
Rajveer

W32 Console Application pasting

This topic is 3658 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In VS C++ I've created a W32 console application which I want to be able to paste a string into, just like you can in cmd. I haven't been able to find anything on the net showing me how to allow right-click so the menu comes up, is this possible?

Share this post


Link to post
Share on other sites
Advertisement
i don't think that it's possible, thats why it's a consol application ... or do you mean the "copy & past" context ? that should shown by default on right click ...

Share this post


Link to post
Share on other sites
Yep I mean the context-menu when you right-click just like on a command prompt, it doesn't show up in console applications that I make.

Share this post


Link to post
Share on other sites
As in cmd, click on the window icon in the top left corner, select "Properties" and turn on "QuickEdit Mode" and/or "Insert Mode", depending on what you prefer.

Share this post


Link to post
Share on other sites
I can't get the right context-menu showing but with Quick Edit I can right-click and it will paste into it straight away. It says I can save this option for all console apps with the same name however, this is a local computer setting right? If I send this app to someone else will they have to set it again for themselves?

Share this post


Link to post
Share on other sites
Quote:
Original post by RajveerIf I send this app to someone else will they have to set it again for themselves?


That's correct. Why it's off by default, only Microsoft knows.

Share this post


Link to post
Share on other sites
Quote:
Original post by Rattenhirn
Quote:
Original post by RajveerIf I send this app to someone else will they have to set it again for themselves?

That's correct. Why it's off by default, only Microsoft knows.

Because it's possible for console apps to recieve mouse events and do stuff with them. Quickedit breaks these apps.

AFAIK this sort of thing is mostly used by line-of-business tty apps that are emulating some ancient mainframe terminal. Unfortunately (or fortunately depending on which side of the budget and maintenance you're on) a relatively huge number of business still depend on such things.

Share this post


Link to post
Share on other sites
Quote:
Original post by Anon Mike
Because it's possible for console apps to recieve mouse events and do stuff with them. Quickedit breaks these apps.

AFAIK this sort of thing is mostly used by line-of-business tty apps that are emulating some ancient mainframe terminal. Unfortunately (or fortunately depending on which side of the budget and maintenance you're on) a relatively huge number of business still depend on such things.


Well, that would explain, why you can turn it on and off, but not why it's off by default. But it's moot to discuss this thing anyways...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!