Atlanta Custom Software Development 

   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1647)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 1 of 6) 152 Result(s) found 

Transparent form (glass effect)
Total Hit (882) This example will show you how to create a transparent form. «b»Step-By-step example«/b» - Create a standard exe project - Add the following code in form1 «code LangId=1»Option Explicit Private Declare Function CreateRectRgn Lib "gdi32" ( _ ByVal X1 As Long, ByVal Y1 As Long, ByVal ....Read More
Rating
Right Click PopUp Menu
Total Hit (373) «Code LangId=1»'First, create a menu using menueditor. Add all of your menu items as if you were just making 'a regular menu. Now set the VISIBLE property of the main menu item to false (see below, set 'the MNUEDIT item's VISIBLE to false). Like this: 'mnuEdit '---mnuUndo '---mnuRedo '---m ....Read More
Rating
GetListBoxSelectRange - Retrieve the index of all the selected items in a ListBox
Total Hit (631) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Const LB_GETSELITEMS = &H191 ' Return an array with the indexes of all the selected items in a ListBox ' c ....Read More
Rating
GetListItemHeight - Return the height of a ListBox or ComboBox item
Total Hit (577) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Const LB_GETITEMHEIGHT = &H1A1 Const CB_GETITEMHEIGHT = &H154 ' Return the height of each entry in a ListBo ....Read More
Rating
GetSelectedOption - Get the selected element in an OptionButton control array
Total Hit (308) «Code LangId=1»' Determine which element of an option button control array was selected ' Returns -1 if no control has been selected ' Use : OptSelected = GetSelectedOption(Option1) Function GetSelectedOption(Opt As Object) As Integer Dim i As Integer GetSelectedOption = -1 ....Read More
Rating
Tile image in MDI Background.
Total Hit (1008) This code Requires MDIForm and 1 Picturebox. Set Picture property of picturebox. This picture will be used for MDI Background
Rating
Protect the form unloading in accidently
Total Hit (280) When you want ot protect the form unload in accidently you can use this following code. In this code, the action is When a form is prepared to unload The unload event was automatically raised. on that event there is an parameter named "Cancel" which in the data type integer. When the unload ev ....Read More
Rating
This is a link to a different site Developing with a new standard in UI
Total Hit (1111) In this new century we enter, everything relating to software should have a standard of quality. For small time programmers, that doesn't necessarily mean having quick turnaround or technical support response. No, for quality, I mean having features that can make your user interface smart and easier ....Read More
Rating
This is a link to a different site Right-Aligning a Combo's Contents or Scrollbar via Style Bits
Total Hit (136) Right-align the contents of the list portion of a style-2 combo, reposition the dropdown list's scrollbar, and even move the combo's dropdown button
Rating
This is a link to a different site Disabling the Combo Edit Box
Total Hit (479) OK, so you have a combo (Style 0) where you want to allow the user the ability to copy the contents, but not change the text. Setting the combo's locked property will do the trick, but the right-mouse context menu is still available. This shows how using FindWindowEx and SendMessage with the EM_SETR ....Read More
Rating
This is a link to a different site Killing the Default Combo Box Context Menu
Total Hit (316) For this to work we have to borrow from the combo method that deals with retrieving the handle to the edit portion of the control (see related topics above). The edit handle is stored, where it is compared to the hWnd passed by the WindowProc procedure. If the handle is that of the edit control, the ....Read More
Rating
This is a link to a different site Obtaining the Combo Box Edit Window Handle
Total Hit (522) This method shows how you can obtain the handle to the edit portion of a combo box using the FindWindowEx API. Unlike the GetComboBoxInfo method linked above, this method will work with all versions of Windows 95/98/NT4/2000/XP so far released. As a further check against the handle returned, you c ....Read More
Rating
This is a link to a different site Simulating 'MaxLength' in a Combo's Edit Box
Total Hit (406) Here is a simple method to limit user input into a Style-0 or Style-1 combo box, using SendMessage and CB_LIMITTEXT.
Rating
This is a link to a different site Substituting a Tabbed ListBox for a Combo's Dropdown List
Total Hit (171) Creating a tabbed list is a painless procedure when dealing with VB's intrinsic ListBox control. However when using a ComboBox, the ability to format both the list and portions of the control is lost, as is shown in illustration 1. List boxes have the LBS_USETABSTOPS style bit set, whereas combo b ....Read More
Rating
This is a link to a different site Displaying a Balloon Tip in a Combo Box
Total Hit (322) Note: In order for EM_HIDEBALLOONTIP to function correctly users must not have disabled the "Enable balloon tip" setting on the system. Using TweakUI for XP, this is located under the Taskbar group of options. It is also directly accessible as a registry entry under HKEY_CURRENT_USER \ Software \ Mi ....Read More
Rating
This is a link to a different site Prompting for User Entry Using Cue Banners
Total Hit (142) XP-look prompting for edit and combo controls.
Rating
This is a link to a different site Changing the Combo Dropdown Height
Total Hit (128) The Visual Basic combo box dropdown - unlike its C counterpart - is limited to displaying only eight items. This page shows how to change the dropdown height to any number greater than eight.
Rating
This is a link to a different site Changing the Dropdown Width of a Combo Box
Total Hit (163) This routine demonstrates using the API to change the width of the dropdown portion of a combo box. The combo list width is manually set in the accompanying text box.
Rating
This is a link to a different site Changing the Dropdown Width of a Combo Box, Advanced
Total Hit (151) Like the routine in Changing the Dropdown Width of a Combo Box, this routine performs the same functionality but adds the ability to resize the list at runtime. By calculating the average width of a character in the listbox based on the current font, the dropdown width can change to accommodate the ....Read More
Rating
This is a link to a different site How to Show & Hide a Combo Box Dropdown List
Total Hit (150) This code shows how to programmatically drop and retract the list portion of a combo box.
Rating
This is a link to a different site Duplicating List Contents to Another List or Combo Using SendMessage
Total Hit (633) You may encounter the need to quickly duplicate the contents of a listbox to another listbox, or to a combo box (or vice-versa). While there is no non-looping method available the use of SendMessage can speed up the copying, especially in situations where a large amount of data is to be duplicated. ....Read More
Rating
This is a link to a different site Filling a Combo with Files, Directories and Drives
Total Hit (382) This routine demonstrates using SendMessage to populate a combo box with any combination of files, directories and drives. Although this demo uses the wildcard *.*, the method is valid for any mask.
Rating
This is a link to a different site Show and Hide a Form's Titlebar at run-time
Total Hit (1021) This tip shows you how to show and hide the title bar of a window at run-time. To make a window's title bar disappear, you have to remove the control box, the maximise box and the minimise box as well as set the caption of the form to blank. Unfortunately, VB's ControlBox, MinButton and MaxButton pr ....Read More
Rating
This is a link to a different site Text Box Balloon tip support in XP
Total Hit (421) This tip demonstrates how to to use the new Balloon Tip support provided for TextBoxes under XP. Cue Banners may also work, but only if you don't have multiple language support installed.
Rating
This is a link to a different site Splitting the Easy Way
Total Hit (596) The EasySplitter class provided with this download completely automates most of the tasks involved with setting up a split between two objects. All you need to do is tell it which two objects you want to split and which direction to split and it does the rest. ....Read More
Rating
This is a link to a different site Splitting Aligned Controls on MDI Forms
Total Hit (803) This article provides an easy to use class which allows resizing of any aligned control on an MDI form. The code is also available packaged as a DLL for ease of debugging, as it uses a subclass which can make things awkward in the IDE.
Rating
This is a link to a different site Preventing Crashes at Shutdown
Total Hit (915) Some versions of ComCtl32.DLL version 6.0 cause a crash at shutdown when you enable XP Visual Styles in an application. This particularly occurs when using VB User Controls. This article provides two solutions to the problem.
Rating
This is a link to a different site Making VB Apply XP Visual Styles at Design and Debug Time
Total Hit (617) If you want to use XP Visual Styles in a VB application, the fact that the controls don't draw using the new styles at design- or debug-time can be a problem, as your form looks different when once you've compiled. Luckily you can persuade both VB5 and VB6 IDEs to use XP Visual Styles too. ....Read More
Rating
This is a link to a different site Drawing with XP Visual Styles
Total Hit (704) This sample demonstrates using the UxTheme API calls to draw the various objects provided by current Windows XP Theme. This can be a very powerful and simple technique to providing the latest UI effects in controls and applications, as demonstrated by the No Status Bar and No Progress Bar samples. ....Read More
Rating
This is a link to a different site Adding XP Visual Styles to Your Visual Basic Application
Total Hit (955) When you run a Visual Basic application on an XP machine, you will see that although the form gets an XP-style title bar, the controls on the form still draw in the old-fashioned Windows style. However, it doesn't take much to persuade an application to use the new styles. In some cases, you can get ....Read More
Rating


(Page 1 of 6) 152 Result(s) found  1 2 3 4 5 6

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  Blogs

© 2008 BinaryWorld LLC. All rights reserved.