Scrolling the WebBrowser control
Mon, 7 Apr 2008 03:46:00 -0700
I'm trying to do my own scrolling with the WebBrowser control.
I can use the WebBrowser.Document.Window.ScrollTo method to scroll to a
specific position but how do I get my current position?
I can keep my own scroll position, I know when the document loads that I'm
at scroll position 0,0. Then each time I ...
|
Treeview binding to database
Sun, 6 Apr 2008 22:03:40 -0400
Hi there,
I have a table with 5 columns:
Project | Assembly | SubAssembly | SubSubAssembly | ItemNo.
I am looking to bind the table to a treeview. Some assemblies have a
subassembly or a subsubassembly, some assembly just have parts.
how do i accomplish this in c#?
Regards,
John
...
|
Mdi Child Window Menu Merge with Parent
Fri, 4 Apr 2008 10:50:17 +0100
Heya,
I'm working on a programme that uses with the Mdi functionality.
I want the child windows' menustrips to be displayed (but disabled) on the
parent form and then to activate when the child is loaded. This is like the
Adobe Photoshop menu system.
Has anyone got any ideas?
...
|
UserControl always erases all ClientRectangle
Thu, 3 Apr 2008 18:20:01 -0700
Hi,
I am creating a UserControl in VS2005, which overrides OnPaint and
OnPaintBackground.
I have a button placed in a corner inside of the control which when pressed
calls Invalidate(rect) with a rectangle that is only part of the
ClientRectangle (actually one half). I expected both OnPaint and
OnPainitB ...
|
Scroll a FlowLayoutPanel without letting go of the scrollbar
Thu, 3 Apr 2008 11:36:01 -0700
Is there a way to get a FlowLayoutPanel to scroll the screen without letting
go of the scrollbar? So when I left mouse click on the scrollbar and start to
drag the scrollbar, I want the panel to scroll while I still have the left
mouse button pressed down. Currently, it will only scroll once I let go of
the ...
|
notifyicon icon won't change
Wed, 2 Apr 2008 12:59:02 -0700
I'm trying to wire up the notify icon so that i can have it display different
icons based on conditions.
here is the code i was using..
Dim p As System.Reflection.Assembly
p = System.Reflection.Assembly.GetExecutingAssembly()
Icons(0) = New
System.Drawing.Icon(p.GetManifestResourceStream(Me. ...
|
ASCII characters entered using ALT+<Numpad> in a Textbox
Mon, 31 Mar 2008 05:06:00 -0700
Hi,
I have a TextBox control in a WinForms dialog. If I enter a Character and
convert it to ASCII by ASCIIEnconding.ASCII.GetBytes() it works. But when I
enter an ASCII value below 0x20 by holding ALT and entering the value using
the number pad I get and convert it, I do not get the correct value.
For e ...
|
|
|
Comparing files visually - programmatically.
Sun, 30 Mar 2008 20:36:00 -0700
Hi,
Was wondering if anyone could recommend useful objects that could be used to
programmatically compare two files visually. Something that could display
possible two scrollable regions and highlight the differences between them,
through code.
If anyone has any ideas that would be great.
Regards
...
|
Focus gets stuck on control which filling out form
Fri, 28 Mar 2008 17:14:00 -0700
We are developing a dynamic GUI that builds the GUI from an XML Document.
This is done thru the use of reflections dynamic method invocation and the
Activator.CreateInstance methods. IĆ¢??m not sure is our design and the dynamic
layout engine is responsible for the incorrect behavior. The application
also ...
|
DataGridView cell changing order
Sat, 29 Mar 2008 01:36:28 +0800
hi ppl,,
I m beginner to VB.Net
I am using DataGridView. I want that pressing the enter should select the
next cell instead of going to next row.
It means i want the identicat behaviout in DVG that we get using tab
Please help me with easy to understand code...
url:http://ureader.com/gp/1440-1.aspx ...
|