Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
GeneralProblem in adding bool check column to datagrid. Pin
amrutajoshi22-Jul-05 23:13
amrutajoshi22-Jul-05 23:13 
GeneralRe: Problem in adding bool check column to datagrid. Pin
Srinivas Jonnalagadda23-Jul-05 7:55
Srinivas Jonnalagadda23-Jul-05 7:55 
GeneralRe: Problem in adding bool check column to datagrid. Pin
Wyxlwiis23-Jul-05 10:35
Wyxlwiis23-Jul-05 10:35 
GeneralMarshal.PtrToStructure gives gibberish Pin
EssOEss22-Jul-05 22:41
EssOEss22-Jul-05 22:41 
GeneralRe: Marshal.PtrToStructure gives gibberish Pin
EssOEss23-Jul-05 9:04
EssOEss23-Jul-05 9:04 
GeneralInfragistics tutorials Pin
dhol22-Jul-05 21:41
dhol22-Jul-05 21:41 
Generali think re-draw listview's VScrollBar Pin
yanzhengguang22-Jul-05 20:15
yanzhengguang22-Jul-05 20:15 
GeneralRe: i think re-draw listview's VScrollBar Pin
yanzhengguang22-Jul-05 20:18
yanzhengguang22-Jul-05 20:18 
I already re-draw listview Frame ,code:
private void OverrideControlBorder(Graphics g)
{
Pen BorderPen = new Pen(Color.FromArgb(127,157,185), 1);
g.DrawRectangle(BorderPen, new Rectangle(0, 0, this.Width - 1, this.Height - 1));
}
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case WM_PAINT:
IntPtr hDC = IntPtr.Zero;
Graphics gdc = null;
hDC = GetWindowDC(m.HWnd);
gdc = Graphics.FromHdc(hDC);
OverrideControlBorder(gdc);
if((this.Font.Height - 1) * this.Items.Count > this.Height)
{
OverrideVertScrollBar(gdc);
}

ReleaseDC(m.HWnd, hDC);
gdc.Dispose();

default:
break;
}
base.WndProc (ref m);
}
GeneralRe: i think re-draw listview's VScrollBar Pin
yanzhengguang22-Jul-05 20:21
yanzhengguang22-Jul-05 20:21 
GeneralRe: i think re-draw listview's VScrollBar Pin
yanzhengguang24-Jul-05 16:11
yanzhengguang24-Jul-05 16:11 
GeneralWinForm and Console - same time Pin
...---...22-Jul-05 12:50
...---...22-Jul-05 12:50 
GeneralRe: WinForm and Console - same time Pin
EssOEss22-Jul-05 20:51
EssOEss22-Jul-05 20:51 
Generaldraw something over all Pin
Sasuko22-Jul-05 11:48
Sasuko22-Jul-05 11:48 
GeneralRe: draw something over all Pin
Christian Graus22-Jul-05 12:18
protectorChristian Graus22-Jul-05 12:18 
GeneralGUI Automation Driver for C# Pin
AndyPicch22-Jul-05 11:43
AndyPicch22-Jul-05 11:43 
QuestionHow to use unmanaged callback from C#? Pin
EssOEss22-Jul-05 9:47
EssOEss22-Jul-05 9:47 
AnswerRe: How to use unmanaged callback from C#? Pin
Alomgir Miah22-Jul-05 10:04
Alomgir Miah22-Jul-05 10:04 
GeneralRe: How to use unmanaged callback from C#? Pin
EssOEss22-Jul-05 10:35
EssOEss22-Jul-05 10:35 
AnswerRe: How to use unmanaged callback from C#? Pin
leppie22-Jul-05 11:17
leppie22-Jul-05 11:17 
GeneralRe: How to use unmanaged callback from C#? Pin
EssOEss22-Jul-05 11:36
EssOEss22-Jul-05 11:36 
AnswerRe: How to use unmanaged callback from C#? Pin
EssOEss22-Jul-05 22:43
EssOEss22-Jul-05 22:43 
GeneralUser Interface Problem Pin
Soumya Mulukutla22-Jul-05 9:21
Soumya Mulukutla22-Jul-05 9:21 
GeneralRe: User Interface Problem Pin
leppie22-Jul-05 11:20
leppie22-Jul-05 11:20 
GeneralSmall DataGrid question Pin
zaboboa22-Jul-05 8:53
zaboboa22-Jul-05 8:53 
GeneralRe: Small DataGrid question Pin
Alomgir Miah22-Jul-05 9:23
Alomgir Miah22-Jul-05 9:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.