Jump to content
Xtreme .Net Talk

sohaibi

Members
  • Posts

    3
  • Joined

  • Last visited

About sohaibi

  • Birthday 08/25/1982

Personal Information

  • Occupation
    Software Engineer
  • Visual Studio .NET Version
    Visual Studio .NET Professional
  • .NET Preferred Language
    C#, VB.NET

sohaibi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Clarification I think you didn't get what I meant. Let me explain it again... I am working on a designer host application. Such an application would allow the users to design form on their own. Now the target user isn't aware of using panels to design the form layout. Thats why I need a table control to simulate an HTML Table like behavior. Currently I have got a control that works fine on design time. But if I use this control in the designer host, it crashes due to unknown reasons. Hope you understand the scenario. Just consider that I'm working on a .NET like IDE in which there is a tolbox, design area and a property grid... And the user is supposed to drag and drop controls from the toolbox on to the design area to design a form
  2. Does anyone know about a windows control that is similar to the Table control of HTML. So that the user can house other controls into it just like with Web Forms. I came up with one implementation with Panels. But its not appropriate, because the user can drag panel(s) out of that. :o Hoping an early response...
  3. Does anyone know how to color the scrollbars of the ListView in C#.NET? I had done it in VC by hooking the "WM_CTLCOLORSCROLLBAR" message in the window message function :D . I have tried it in C#.NET like this: private const int WM_CTLCOLORSCROLLBAR = 0x0137; protected override void WndProc(ref Message m) { if(m.Msg == WM_CTLCOLORSCROLLBAR) { IntPtr l_nHdcScrollbar = m.WParam; Graphics l_oGraphics = Graphics.FromHdc(l_nHdcScrollbar); l_oGraphics.Clear(Color.Blue); } base.WndProc (ref m); } But its not working. I have also tried to debug it. While execution there are a lot of messages coming but not "WM_CTLCOLORSCROLLBAR" :( . This is my first post to xtreme .NET Talk. Hope i'll get quick responses!
×
×
  • Create New...