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 (1648)
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

Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )

This is a link to a different site How to Set a Flat ListView Header Style
Total Hit (1186) There may be occasions where a flat-looking listview column header suits the design of your application more that the standard default button-style. By obtaining the handle to the header portion of the listview, and toggling its HDS_BUTTON style bits, the header takes on a flat appearance. Setting ....Read More
Rating
This is a link to a different site How to Set Item Indentation in a ListView
Total Hit (716) Many people erroneously believe that the 'control' used in displaying hierarchical data such as Outlook Express' news reader view is a treeview control with columns. Actually, the control is a ListView taking advantage of the comctl version 4-specific Indent member of the LV_ITEM structure. This pag ....Read More
Rating
This is a link to a different site Displaying Modal Form Activity on a Parent Form VB Progress Bar
Total Hit (1158) This is simple code that demonstrates how to use a normal VB progress bar on a parent form (SDI or MDI) to track the activity being performed in another form, even when that form is modal. The demo also shows how to call SetParent to embed the progress bar inside the status bar panel. ....Read More
Rating
This is a link to a different site Displaying Modal Form Activity on a Parent Form 'PhotoShop' Progress Bar
Total Hit (1155) Like its sister example, this shows how to call a progress bar housed on a parent form (SDI or MDI) to track activity being performed in another form, even when that form is modal. Unlike the VB progress bar demo however, this demo is for those preferring to use the 'PhotoShop' style progress bar th ....Read More
Rating
This is a link to a different site Adding a VB Toolbar to a VB StatusBar
Total Hit (1143) This code was prompted by a newsgroup request for code to place a VB command button inside a VB statusbar such that the button reacted normally to events yet was contained inside the status bar panel area. Attempts to use SetParent against the command button worked to re-parent the control, however ....Read More
Rating
This is a link to a different site Creating a Common Control Status Bar - Overview
Total Hit (877)
Rating
This is a link to a different site Creating a Common Control Status Bar via API
Total Hit (900) In this second article written for VBnet by Brad Martinez, Brad works out the magic behind the Win32 Status Bar common control (window) exposed by the common control library Comctl32.dll without the use of Comctl32.ocx. Subsequent pages will introduce more functionality in creating the control. T ....Read More
Rating
This is a link to a different site Definitions of the ListView API Members
Total Hit (1004) This method is intended for Visual Basic 5 or Visual Basic 6 where the Common Control library used is the MSComCtl 5 version (comctl32.ocx). Because the VB6-specific mscomctl.ocx (Common Controls 6) is a complete implementation of comctl32.dll and not reliant on the version of comctl32.dll installed ....Read More
Rating
This is a link to a different site ListView Demo 1 - Obtaining the File Path
Total Hit (971) This page details the code required to construct the base form, and the code necessary to retrieve the user's selection using the Windows Browse dialog. When the demo is completed, the final app will retrieve the users selection and populate the listview with selected files from that folder, comp ....Read More
Rating
This is a link to a different site ListView Demo 2 - Populating the ListView
Total Hit (1593) This page details the code required to populate the listview control with files matching the selected file spec using the APIs FindFirstFile, FindNextFile and the WIN32_FIND_DATA type. When the demo is completed, the final app will retrieve the users selection and populate the listview with selec ....Read More
Rating
This is a link to a different site ListView Demo 3 - Adding Sorting Functionality
Total Hit (977) This page adds a popup menu and the routines necessary to sort and change list views. When the demo is completed, the final app will retrieve the users selection and populate the listview with selected files from that folder, complete with associated icons, file name, file type, file size and cre ....Read More
Rating
This is a link to a different site ListView Demo 4 - Adding the Associated Icons
Total Hit (1130) By far the most complicated code yet, this page adds the code necessary to retrieve the Windows associated icon for a given file, assign it to an imagelist dynamically, and use it to display with the file in the listview. Among the features of the method detailed here is the reuse of an icon if it h ....Read More
Rating
This is a link to a different site Autosizing ListView Columns via API
Total Hit (1682) The ListView control in both VB5 and VB6 implementations supports SendMessage with the LVSCW_AUTOSIZE and LVSCW_AUTOSIZE_USEHEADER messages to cause the ListView to adjust its column widths to maximize data display. This page shows how to use these messages to resize the columns to fit the longest c ....Read More
Rating
This is a link to a different site Creating a Ledger-Style Listview Report Background
Total Hit (1112) This page takes a different approach based on the Picture property of the VB5 and VB6 listviews. With this demo, picture box properties are set to match the size and font of the listview. The demo then draws two filled rectangles inside the picture box corresponding to ledger colours specified, and, ....Read More
Rating
This is a link to a different site Customizing the ListView's Appearance via API
Total Hit (1564) Once again, the SendMessage API, in conjunction with the new extended style flags for the ListView control, provides a means to customize the appearance of the listview common control in a Visual Basic application. By combining the new LVBKIMAGE structure (Type), and specifying the LVBKIF_SOURCE_U ....Read More
Rating
This is a link to a different site Detecting ListView SubItem Clicks in Normal And FullRowSelect Mode
Total Hit (1040) This page demonstrates using the LVHITTESTINFO type along with the LVM_SUBITEMHITTEST message to determine where on the control the mouse was clicked, regardless of the view mode or whether the FullRowSelect feature has been enabled (Label1). The code is provided in the MouseDown event to both take ....Read More
Rating
This is a link to a different site Determining a ListView's Visible Item Count
Total Hit (1621) This shows a quick call you can add to any ListView code to determine the number of currently-visible ListItems in the control when in Report mode. By calling SendMessage with the LVM_GETCOUNTPERPAGE message, the call returns the number of items that can be completely contained in the visible area o ....Read More
Rating
This is a link to a different site Highlighting a Listview Report Column
Total Hit (1487) Just as the picture property was used in Creating a Ledger-Style Listview Report Background to simulate a ledger-style background for the listview, this code provides a means to highlight the data in a specific column in the control using the same technique. To do this, the the default background c ....Read More
Rating
This is a link to a different site Highlighting and Maintaining a Listview Report Column through Subclassing
Total Hit (1062) This is a modification of the code at to add subclassing of the listview control to allow tracking of ColumnHeader adjustments to maintain the correct column width as the columns are resized. For a complete description of the techniques used, see the related links above. ....Read More
Rating
This is a link to a different site How to Automatically Select (Track) a ListView Item
Total Hit (1356) By setting a ListView extended style bit using the API SendMessage with the message LVS_EX_TRACKSELECT, the ListView action changes. While a cursor is moving over the listview items, it is highlighted in coloured text (look at the line below the selection in the illustration.) If the cursor remains ....Read More
Rating
This is a link to a different site How to Add Checkboxes to a ListView
Total Hit (1246) This page demonstrates adding the ability to have checkmarks to the left of the item icon in report view. Under Win95 the check boxes are not not pretty. By setting a ListView extended style bit using the API SendMessage with the message LVS_EX_CHECKBOXES, the ListView rows will have a left-most ....Read More
Rating
This is a link to a different site How to Add Images to a ListView Header
Total Hit (921) In most Windows applications, a visual indication of the sorting direction of the currently active listview column header is indicated by an up or down arrow. This functionality has previously been unavailable to the Visual Basic developer. The method detailed here demonstrates the steps to add your ....Read More
Rating
This is a link to a different site How to Change the ListView Header Style
Total Hit (1732) Depending on the needs of your application, the standard header font of a listview may prove inadequate for your needs. Unfortunately, the listview API structures and constants do not provide a direct means to specify the font attributes of the header. But by using several standard API functions not ....Read More
Rating
This is a link to a different site How to Determine Selected ListItems
Total Hit (1283) A quick routine to demonstrate using SendMessage with LVM_GETSELECTEDCOUNT and LVM_GETNEXTITEM messages to traverse a listview to retrieve the indices to the selected items in a MultiSelect control. Also contains a portion of the LVM_SUBITEMHITTEST code from How to Deselect ListItems on Clicking a L ....Read More
Rating
This is a link to a different site How to Deselect ListItems on Clicking a Listview's White Space
Total Hit (656) A common complaint with the Listview control is that it always returns a SelectedItem even when no item has been selected, or when you programmatically attempt to deselect everything using the ListView's intrinsic commands.
Rating
This is a link to a different site How to Determine Re-Ordered Column Positions in a ListView
Total Hit (1338) Sending the listview extended style message LVS_EX_HEADERDRAGDROP enables repositioning/reordering of a ListView's main and subitem columns. However, this does not alter the index of the columns to match their new physical locations. VB remains unaware that repositioning has taken place (since it ....Read More
Rating
This is a link to a different site How to Display Grid Lines in a ListView
Total Hit (1229) By setting a ListView extended style bit using the API SendMessage with the message LVS_EX_GRIDLINES, the ListView columns and rows will be separated by a grey grid line.
Rating
This is a link to a different site How to Programmatically Select and Deselect All ListItems
Total Hit (1358) Using conventional methods, selecting and deselecting all items in a ListView typically involves iterating through the ListItems collection to set each item's selected property. By utilizing the SendMessage API with LVIS_SELECTED, this monotony can be reduced to a single call. Note that this meth ....Read More
Rating
This is a link to a different site How to Reorder ListView Columns Programmatically
Total Hit (1318) We have seen how to allow the user to reorder columns by sending the HEADERDRAGDROP message. The listview control provides another means to reorder the report view columns - programmatically via the COLUMNORDERARRAY message. This page demonstrates this technique. The principle is simple. We dim ....Read More
Rating
This is a link to a different site How to Select the Entire Row in a ListView
Total Hit (1502) By setting a ListView style bit using the Windows API SendMessage with the message LVS_EX_FULLROWSELECT, selecting an item will cause the selection rectangle to highlight and span the entire row. Removing this bit restores the default selection style. ....Read More
Rating


(Page 40 of 133) 3968 Result(s) found  ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ...

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

© 2008 BinaryWorld LLC. All rights reserved.