Advertisement

Results for "Author: william keith"

ASP_Volume2 #29088
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

ASP_Volume3 #64137
VBGUI - A library to help iron out some of the annoyances of GUI programming

This code helps to remove some of the more annoying things about designing a GUI in VB. All of the classes here do so by subclassing controls. The classes included are as follows: - CAnchor: Mimics the behaviour of anchored controls in .NET, so that you aren't forever adding code to the Resize event of a form. - CMinMaxSize: Allows you to set the minimum and maximum sizes for a form. - CMouseEvents: Gives you access to the mouse events in Windows that VB does not expose - i.e. hover and leave events, and mouse wheel events. - CRTBLinks: Makes light work of automatic URL detection in the RichTextBox. - CScrollbar: Gives you access to the 'proper' API scrollbars as opposed to VB's ones. The project group includes a test project for you to see it all in action. NOTE: You may have to make the whole project group before it is usable as the test project depends on the library.

ASP_Volume3 #64138
Allow user to select network adapter to use from a list

This code demonstrates two things: firstly, it shows you how to get a list of network adapters, and secondly, it shows you how to bind to one of them that the user selects and connect through it. This is useful for users who have a separate internet and LAN connection, or two LAN connections, or whatever else. To test it, just run the program, and listen on a port and adapter, then type your IP followed by a colon and the port you selected into your browser's address bar and the program will return the headers the browser sent to the browser. Enjoy!

ASP_Volume3 #64139
Render rich text to any device context!

Recently I found myself wanting more than what DrawText could offer: I wanted to be able to render rich text. Rather than write a function for this myself, I wondered whether I could accomplish this with a RichTextBox, and quite simply in fact. Unfortunately it doesn't render text transparently usually. Unless, that is, you set the WS_EX_TRANSPARENT style, at which point it does render transparently, giving you unlimited text drawing power! Note that the method used to get the RichTextBox to actually draw the text (that is sending it EM_FORMATRANGE) can also be used to measure the text with a slight modification (MSDN will tell you how).

ASP_Volume3 #64140
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

C_Volume2 #70150
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

Java_Volume1 #88694
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

2_2002-2004 #115841
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

3_2004-2005 #134385
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

4_2005-2006 #169434
VBGUI - A library to help iron out some of the annoyances of GUI programming

This code helps to remove some of the more annoying things about designing a GUI in VB. All of the classes here do so by subclassing controls. The classes included are as follows: - CAnchor: Mimics the behaviour of anchored controls in .NET, so that you aren't forever adding code to the Resize event of a form. - CMinMaxSize: Allows you to set the minimum and maximum sizes for a form. - CMouseEvents: Gives you access to the mouse events in Windows that VB does not expose - i.e. hover and leave events, and mouse wheel events. - CRTBLinks: Makes light work of automatic URL detection in the RichTextBox. - CScrollbar: Gives you access to the 'proper' API scrollbars as opposed to VB's ones. The project group includes a test project for you to see it all in action. NOTE: You may have to make the whole project group before it is usable as the test project depends on the library.

4_2005-2006 #169435
Allow user to select network adapter to use from a list

This code demonstrates two things: firstly, it shows you how to get a list of network adapters, and secondly, it shows you how to bind to one of them that the user selects and connect through it. This is useful for users who have a separate internet and LAN connection, or two LAN connections, or whatever else. To test it, just run the program, and listen on a port and adapter, then type your IP followed by a colon and the port you selected into your browser's address bar and the program will return the headers the browser sent to the browser. Enjoy!

4_2005-2006 #169436
Render rich text to any device context!

Recently I found myself wanting more than what DrawText could offer: I wanted to be able to render rich text. Rather than write a function for this myself, I wondered whether I could accomplish this with a RichTextBox, and quite simply in fact. Unfortunately it doesn't render text transparently usually. Unless, that is, you set the WS_EX_TRANSPARENT style, at which point it does render transparently, giving you unlimited text drawing power! Note that the method used to get the RichTextBox to actually draw the text (that is sending it EM_FORMATRANGE) can also be used to measure the text with a slight modification (MSDN will tell you how).

4_2005-2006 #169437
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

5_2007-2008 #191952
VBGUI - A library to help iron out some of the annoyances of GUI programming

This code helps to remove some of the more annoying things about designing a GUI in VB. All of the classes here do so by subclassing controls. The classes included are as follows: - CAnchor: Mimics the behaviour of anchored controls in .NET, so that you aren't forever adding code to the Resize event of a form. - CMinMaxSize: Allows you to set the minimum and maximum sizes for a form. - CMouseEvents: Gives you access to the mouse events in Windows that VB does not expose - i.e. hover and leave events, and mouse wheel events. - CRTBLinks: Makes light work of automatic URL detection in the RichTextBox. - CScrollbar: Gives you access to the 'proper' API scrollbars as opposed to VB's ones. The project group includes a test project for you to see it all in action. NOTE: You may have to make the whole project group before it is usable as the test project depends on the library.

5_2007-2008 #191953
Allow user to select network adapter to use from a list

This code demonstrates two things: firstly, it shows you how to get a list of network adapters, and secondly, it shows you how to bind to one of them that the user selects and connect through it. This is useful for users who have a separate internet and LAN connection, or two LAN connections, or whatever else. To test it, just run the program, and listen on a port and adapter, then type your IP followed by a colon and the port you selected into your browser's address bar and the program will return the headers the browser sent to the browser. Enjoy!

5_2007-2008 #191954
Render rich text to any device context!

Recently I found myself wanting more than what DrawText could offer: I wanted to be able to render rich text. Rather than write a function for this myself, I wondered whether I could accomplish this with a RichTextBox, and quite simply in fact. Unfortunately it doesn't render text transparently usually. Unless, that is, you set the WS_EX_TRANSPARENT style, at which point it does render transparently, giving you unlimited text drawing power! Note that the method used to get the RichTextBox to actually draw the text (that is sending it EM_FORMATRANGE) can also be used to measure the text with a slight modification (MSDN will tell you how).

5_2007-2008 #191955
Mouse Wheel !

This code demonstrates a simple and easy way to handle the mouse wheel in VB by method of subclassing.

6_2008-2009 #214470
VBGUI - A library to help iron out some of the annoyances of GUI programming

This code helps to remove some of the more annoying things about designing a GUI in VB. All of the classes here do so by subclassing controls. The classes included are as follows: - CAnchor: Mimics the behaviour of anchored controls in .NET, so that you aren't forever adding code to the Resize event of a form. - CMinMaxSize: Allows you to set the minimum and maximum sizes for a form. - CMouseEvents: Gives you access to the mouse events in Windows that VB does not expose - i.e. hover and leave events, and mouse wheel events. - CRTBLinks: Makes light work of automatic URL detection in the RichTextBox. - CScrollbar: Gives you access to the 'proper' API scrollbars as opposed to VB's ones. The project group includes a test project for you to see it all in action. NOTE: You may have to make the whole project group before it is usable as the test project depends on the library.

6_2008-2009 #214471
Allow user to select network adapter to use from a list

This code demonstrates two things: firstly, it shows you how to get a list of network adapters, and secondly, it shows you how to bind to one of them that the user selects and connect through it. This is useful for users who have a separate internet and LAN connection, or two LAN connections, or whatever else. To test it, just run the program, and listen on a port and adapter, then type your IP followed by a colon and the port you selected into your browser's address bar and the program will return the headers the browser sent to the browser. Enjoy!

6_2008-2009 #214472
Render rich text to any device context!

Recently I found myself wanting more than what DrawText could offer: I wanted to be able to render rich text. Rather than write a function for this myself, I wondered whether I could accomplish this with a RichTextBox, and quite simply in fact. Unfortunately it doesn't render text transparently usually. Unless, that is, you set the WS_EX_TRANSPARENT style, at which point it does render transparently, giving you unlimited text drawing power! Note that the method used to get the RichTextBox to actually draw the text (that is sending it EM_FORMATRANGE) can also be used to measure the text with a slight modification (MSDN will tell you how).

Languages
Top Categories
Global Discovery