473,406 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Keyboard Region commands

In vs.net 2003/c#, how can I collapse the region that I am currently in
using the keyboard?

Thanks
Nov 16 '05 #1
4 1881
CTRL-M-M

--

HTH

Éric Moreau
MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc.(www.s2i.com)
"Frank Rizzo" <no**@none.com> wrote in message
news:OW****************@TK2MSFTNGP12.phx.gbl...
In vs.net 2003/c#, how can I collapse the region that I am currently in
using the keyboard?

Thanks

Nov 16 '05 #2
Eric Moreau (VB MVP) wrote:
CTRL-M-M


That's not what I want to do. Here is an example of what I want:

#region Private Methods

private void DoThis()
{
....
}

private void DoThat()
{
....
}
#endregion

If my cursor is inside of DoThis(), then Ctrl-M-M will collapse DoThis
method. I want it to collapse to the region. How do get that to work?

Thanks
Nov 17 '05 #3
CTRL-M-O

--

HTH

Éric Moreau
MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc.(www.s2i.com)
"Frank Rizzo" <no**@none.com> wrote in message
news:OW****************@TK2MSFTNGP12.phx.gbl...
In vs.net 2003/c#, how can I collapse the region that I am currently in
using the keyboard?

Thanks

Nov 17 '05 #4
Eric Moreau (VB MVP) wrote:
CTRL-M-O


Thank you. But that's not exactly what I want. Ctrl-M-O collapses all
regions + all the functions. I just want to collapse the region. I
want the same effect as pressing the minus sign next to "#region MyRegion".

Thanks
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: MLH | last post by:
Running the following code produces NO error, but renders my keyboard incapable of typing. I can use the mouse to open the class module & look at it. But if I try to type in it - nothing happens....
6
by: daFritz | last post by:
Hi! I need to prevent Task-Switching in my App, so I tried to implement a low level keyboard hook in a extra class. But it seems that the Parameters are not passed correctly to my Hook function....
2
by: Michael Rodriguez | last post by:
Is there a keyboard shortcut to expand/collapse a region? Thanks, Mike Rodriguez
7
by: jpierson | last post by:
Hi, I am tryin to create a keyboard hook that sends the keystroke ctrl + pause/break. I haven't used keyboard hooks before so I'm not too sure how to use them public int MyKeyboardProc(int...
0
by: Hema | last post by:
hi all, i have implemented a keyboard hook which is active only when IE is open. Its a BHO. I am adding the code below: using System; using System.Runtime.InteropServices; using...
16
by: dfaber | last post by:
Hi all, I have been searching for a keyboard and mouse tracker on linux. I've read solutions (watch at sourceforge) which look at /proc/interrupts to check keyboard or mouse activity. I also read...
331
by: Xah Lee | last post by:
http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and...
9
by: Kbalz | last post by:
I have an application that minimizes itself, and I want it to listen for certain key commands, and when they are pressed, my program can react to them. So far I've gotten my application to react...
6
by: skam | last post by:
hi i need to send an HEX String to the ps/2 port. i have a special keyboard connected to the ps/2 port and i want to send it some stuff to control his tone indicator. using c or c++ in linux os....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.