Ctrl-A selects all in the System.Windows.Forms.DataGrid. I am trying to
disable this functionality and am having a heck of a time. I have a control
that inherits from DataGrid I have tried to catch the Ctrl-A in the
OnKeyDown and ProcessKeyMessage and it seems that something is getting to it
bore I do. I am able to catch it in the OnKeyUp, but by then its too late.

How can this be done

TIA
--
Howard Swope [hswopeATtrafficDOTcom]
Software Engineer
Media Development
Traffic.com [http://www.traffic.com]

Re: DataGrid Disable Ctr-A by Jared

Jared
Wed Aug 16 22:31:59 CDT 2006

We need a datagrid news group!



Re: DataGrid Disable Ctr-A by Etienne

Etienne
Thu Aug 17 04:29:38 CDT 2006

I will eventually replace Grid controls in my application by Janus GridEx
(yes, I'll have to buy it).

I'm sure your issue can be fixed though :)

Etienne

"Howard Swope" <hswopeATtrafficDOTcom> wrote in message
news:Oo5pgqXwGHA.1888@TK2MSFTNGP03.phx.gbl...
> Ctrl-A selects all in the System.Windows.Forms.DataGrid. I am trying to
> disable this functionality and am having a heck of a time. I have a
> control that inherits from DataGrid I have tried to catch the Ctrl-A in
> the OnKeyDown and ProcessKeyMessage and it seems that something is getting
> to it bore I do. I am able to catch it in the OnKeyUp, but by then its too
> late.
>
> How can this be done
>
> TIA
> --
> Howard Swope [hswopeATtrafficDOTcom]
> Software Engineer
> Media Development
> Traffic.com [http://www.traffic.com]
>



RE: DataGrid Disable Ctr-A by JayKudecha

JayKudecha
Thu Aug 17 03:37:01 CDT 2006

Hello Howard Swope,

You can set the datagridview property MultiSelect to value False.
This would override 'Ctrl+A' settings of windows and won't allow the user to
select all rows of the datagridview.

Hope this is the correct feature you need, Let me know in case you need more
help,

Jay Kudecha.


"Howard Swope" wrote:

> Ctrl-A selects all in the System.Windows.Forms.DataGrid. I am trying to
> disable this functionality and am having a heck of a time. I have a control
> that inherits from DataGrid I have tried to catch the Ctrl-A in the
> OnKeyDown and ProcessKeyMessage and it seems that something is getting to it
> bore I do. I am able to catch it in the OnKeyUp, but by then its too late.
>
> How can this be done
>
> TIA
> --
> Howard Swope [hswopeATtrafficDOTcom]
> Software Engineer
> Media Development
> Traffic.com [http://www.traffic.com]
>
>
>

Re: DataGrid Disable Ctr-A by Russell

Russell
Thu Aug 17 04:00:45 CDT 2006

Just noticed your post about Janus GridEx.

Before you purchase this grid, I highly suggest that you consider Developer
Express's datagrid.

The company I work for owns the following three data grids:
Infragistics - Probably the most popular *high-end* datagrid out there.
DevExpress http://www.devexpress.com/Index.xml
Janus Grid

I have projects using all three of these grids. After using all three of
them, I am converting all of the projects to use Developer Express's Data
Grid.
Reason #1: There grid is really fast.
Reason #2: You get the source code for the entire suite.
Reason #3: They simply have one of the best engineered data grids out there,
just look at the source code and you will see what I mean.

Cheerio,
Russell Mangel

"Etienne" <mysteryx93_nosspam@hotmail.com> wrote in message
news:%23etnPddwGHA.3392@TK2MSFTNGP04.phx.gbl...
>I will eventually replace Grid controls in my application by Janus GridEx
>(yes, I'll have to buy it).
>
> I'm sure your issue can be fixed though :)
>
> Etienne




Re: DataGrid Disable Ctr-A by Howard

Howard
Thu Aug 17 09:51:52 CDT 2006

Jay:

There is no MultiSelect value that I can find. In fact, I am writing one
now. You must be thinking of the DataGridView in .Net 2.0. Unfortunatley I
am using System.Windows.Forms.DataGrid 1.1.

"Jay Kudecha" <JayKudecha@discussions.microsoft.com> wrote in message
news:7AE83F79-1D91-4645-BEC9-D5DC39F557F6@microsoft.com...
> Hello Howard Swope,
>
> You can set the datagridview property MultiSelect to value False.
> This would override 'Ctrl+A' settings of windows and won't allow the user
> to
> select all rows of the datagridview.
>
> Hope this is the correct feature you need, Let me know in case you need
> more
> help,
>
> Jay Kudecha.
>
>
> "Howard Swope" wrote:
>
>> Ctrl-A selects all in the System.Windows.Forms.DataGrid. I am trying to
>> disable this functionality and am having a heck of a time. I have a
>> control
>> that inherits from DataGrid I have tried to catch the Ctrl-A in the
>> OnKeyDown and ProcessKeyMessage and it seems that something is getting to
>> it
>> bore I do. I am able to catch it in the OnKeyUp, but by then its too
>> late.
>>
>> How can this be done
>>
>> TIA
>> --
>> Howard Swope [hswopeATtrafficDOTcom]
>> Software Engineer
>> Media Development
>> Traffic.com [http://www.traffic.com]
>>
>>
>>