Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Post Message LParam API Question
- I have a 3rd party application I am attempting to pass ALT + 1 to.I used SPY++ to determine what the Keyboard is really sending:P WM_SYSKEYDOWN nVirtKey: VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:1 fRepeat:0 fUp:0 [wParam:00000012 lParam:20380001]P WM_SYSKEYDOWN 'nVirtKey: '1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0 [wParam:00000031 lParam:20020001]Every time I attempt...
- Tags: lParam, P WM_SYSKEYDOWN, lParam:0012FB38, Long Dim lParam
- Discussion threads 2004-12-09
Additional Resources
- Random exception of OutOfMemory
- While running my .NET application on Windows XP, randomly i get following exception - System.OutOfMemoryException: Failed to create a bitmap compatible with the screen to get information about screen bitmap format. at System.Windows.Forms.DibGraphicsBufferManager.bFillBitmapInfo(IntPtr hdc, IntPtr hpal, BITMAPINFO_FLAT& pbmi) at System.Windows.Forms.DibGraphicsBufferManager.CreateCompatibleDIB(IntPtr hdc, IntPtr hpal, Int32 ulWidth, Int32...
- Tags: Int32 ulWidth, IntPtr, IntPtr targetDC, ombhutswaha@..., Rectangle targetBounds, windows
- Q&A 2006-10-04
- Equip your combo box controls to do smart searches
- Combo boxes are a standard part of most user interfaces. See how you can make this old standby easier to use with a little help from the SendMessage API.You try to build various conveniences into your interfaces to make life easier for your users, and some of the functionality can...
- Tags: Construction, Irina Medvinskaya, SendMessage API, SendMessage function, window
- Technical articles 2002-05-22
- Tap into hidden VB control functionality using SendMessage
- Learn to use the Windows messaging system to release the app functionality that VB forgot. Lamont Adams explains this technique and offers code examples to demonstrate the possibilities.In a previous article, I discussed the Windows messaging system and explained how VB interprets numeric window messages as a set of events...
- Tags: Microsoft development tools, Programming languages, Lamont Adams, Windows API, Microsoft Visual Basic, window, Using SendMessage
- Technical articles 2002-02-15
- Create a 'sticky' button that toggles in VB6
- If you want to use a VB6 Command Button that you can toggle, then learn how to create "sticky" buttons, which are useful for selecting On/Off options as an alternative to a checkbox. VB6's Command Buttons are widely used for registering user input such as mouse clicks. The...
- Tags: Microsoft Visual Basic 6.0, Mice, Peter Aitken, Downstate, Command Button, Visual Basic Tips Newsletter, TechRepublic Inc., Button, Corporate Communications, Hardware, Peripherals, Marketing
- Technical articles 2005-08-02
- All Things .NET
- All Things .NETblog rootEnterprise Library for .NET v2.0Over the last year or so Microsoft have been steadily releasing updates for the Enterprise Library. In case anyone doesn't know what this, have a look at the Patterns msdn site . Basically it's a collection of classes that provide a wealth of reusable functionality...
- Tags: .NET, Application servers, Microsoft Windows, ActiveX/COM/COM+/DCOM, Middleware, BenHinton, RichTextBox, Microsoft .NET, Enterprise Library, Microsoft Developer Network, Microsoft Corp.
- Discussion threads 2005-11-09
- Performing date comparisons in VB6
- Performing date comparisons in VB6article rootBut, what about international settings?Does this tip work with D/M/Y formats? I mean, #6/7/2005# is June 7, but in Mexico is July 6.There in lies the rubwith this frankly mickey mouse idea.There's only two ways a compiler can tell what you mean by #6/7/2005#. It...
- Tags: abarajas@..., ByVal vPdtmTime1, ByVal vPdtmTime2, CDate, dates, dtmTime1, dtmTime2, fGintCompareTimes, international, Microsoft Visual Basic 6.0, programming, vPdtmAccuracy, windows
- Discussion threads 2005-08-23
- Get in the loop: Control your VB apps' window messages with subclassing
- To appreciate the benefits of subclassing, you first need to know how your VB applications handle window messages. Once you do, you can jump into the message queue and gain an impressive degree of control over how your apps behave.Subclassing refers to the tried-and-true technique of tapping into your VB...
- Tags: Construction, Lamont Adams, window, window procedure, window message, Microsoft Visual Basic
- Technical articles 2002-02-12
- Handle custom window messages in your VB6 applications
- There's more than one way to get programs to communicate with each other. Find out more about leveraging Windows messaging to accomplish the task, as we wrap up this series.Cross-process communication between VB applications is difficult to get right. I've seen developers try to achieve it through various approaches, ranging...
- Tags: Construction, Lamont Adams, Microsoft Visual Basic 6.0, window, messaging, Microsoft Windows
- Technical articles 2002-02-20
- << Previous
- page 1 of 1
- Next >>