How to select full row of List Control when focus is on it.

I am using List Control.How do i select the first sel(Full row)
default,when the focus is on the List Control.The sel is selected when
we click through the mouse.
Please help and guide me
a_fund (16)
1/27/2004 1:18:35 PM
vc.mfc 33608 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 15

"atul" <> skrev i en meddelelse
> I am using List Control.How do i select the first sel(Full row)
> default,when the focus is on the List Control.The sel is selected when
> we click through the mouse.
> Please help and guide me
> Regards
> Atul.

Something along the lines of

Bjarne Nielsen

1/27/2004 1:21:44 PM
> m_ListCtrl.SetExtendedStyle(LVS_EX_FULLROWSELECT);
Should maybe OR in the currnt Extended Style too...

m_ListCtrl.SetExtendedStyle(m_ListCtrl.GetExtendedStyle() |

bj7lewis (91)
1/27/2004 1:32:39 PM

Similar Artilces:

GDI is a "Top 50" Inc500 Listed Company...Are You Tired of Working Hard to Make Someone Else Rich?
Dear Friends, Are You Tired of Working Hard to Make Someone Else Rich? This Inc500 listed company is giving away money... This company is going to set me up for life and it can do the same for you. Read about how 1000's of real people worldwide who are building their own "Income for Life"=99 Watch the video until the end - make sure your speakers are on before you click I am confident that you will be impressed with what you see and hear.

Query-based list w/1 Exception
I've created a query based distribtuion list which works fine yet out of the 1000 or so mailboxes it gives me I'd like to exclude 10. Is there a way? (Basically I have checked only "Users with Exchange mailbox") Make those 10 recipients members of a distribution group, and add the following to the query: (&(your current query)(!memberOf=distinguished Name of the distribution group)) Alternatively, if there's a common value of a particular attribute like location/city/department, et al, use that to exclude them. -- Bharat Suneja MVP - Exchange ...

Combo box list selection based on earlier selection by user
HI, I have a form that has a combo box 1 (Product) that reads a the Product table and has a unique id attached to each product (RO#). There is a second combo box 2 that is RO#. Now what I would like to do is when a user selects a Product in combo box 1, the system should lookup the Product selected from combo box 1 and upload the corresponding RO# in the combo box 2 list. Now I am using both combo boxes as Unbound and in the combo box 2 I have the two columns Product and RO# - in the Criteria row of RO# I have the following: Like IIf([Forms]![xa_f_lookup]![RO#]=" ",[Forms]![x...

Run report on multi selected records.
I try to make a report for a custom entity that works like the Account Summary: let's say that it's Customer's Inquiry Summary for entity Customer's Inquiry I made the report so that I'm able to run the report on Customer's Inquiry Form. But when I select multi records in the list of Customer's Inquiry and run report, only one record is show in one page of the the report. I would like to have the selected records appear in the report with each record on each page. How can I do this? ...

how do i make square bullets for a check off list.
Format - Bullets and numbering -- JoAnn Paules MVP Microsoft [Publisher] "howard" <> wrote in message > ...

Can't select objects in Excel 2007
I'm trying to create a form in Excel 2007, and although I can manipulate, copy & paste controls (check boxes, etc) I can't select multiple objects to align them, etc. I've checked on-line help (and have followed the instructions), and other websites, but no one seems to have indicated a problem. It is extremely cumbersome and I need a solution. Any ideas? Thanks in advance, Jim Berglund I know this is about a year too late, but it may help others who have stumbled across this page looking for similar help. On the Home tab, in the Editing group, click Find & Select....

Lot Selection not Showing when I select PO on Receiving Entry
Usually, the Lot selection screen would pop up when I select a PO at the Line Detail of the Receivings Entry, now it does not! And GP will let items post without a lot number! It seems as if a setting has changed. Any ideas anyone? Any help is appreciated. Thanks, R Are you sure the item is marked to track lots? This wiould be set item by item on the Item Maintenance Options window. -- Richard L. Whaley Author / Consultant / MVP 2006-2008 Documentation for Software Users Get our Free Tips and Tricks Newsletter and check out our books at &q...

filling a control in a continuous form with a field from a table
I had posted this under "Access Reports" in error and received a response and responded. Please follow the dialog for an explaination of my question: Original Question: I have a form with the fields: date, client, atty, time, billable and description. All these fields update the Time Sheet Table. I want the atty field to automatically take the attorney's name from the table Attorney which contains one field called Atty. So for I can only figure out how to use a combo box to chose the Attorney table field. Response Received: Your combo box to select the at...

named excel lists
I'm somewhat of a newbie, so I may not be asking this question with the correct terminology. I'd like to define a name and attach it to the range of an "excel (2003) list". If I add a new row or column to the "excel list", then the range is suitable extended. How? Try Debra Dalgleish's nice coverage of Dynamic Ranges at: Look for "Create a Dynamic Range" -- Rgds Max xl 97 --- Please respond, in newsgroup xdemechanik <at>yahoo<dot>com ---- "hidden" <

Autofilter header row
My experience has been that the first row is where the controls (down arrow) appear when autofilter is invoked. But I've now been sent a spreadsheet (just unformatted data in a large table) where the autofilter chooses the second row. I've compared the new spreadsheet with previous versions and don't see any difference in layout, etc. What can be causing this problem? Is there something "invisible" that tells Excel which is the header row for the data to be filtered? If I select row 1 and then click autofilter, the controls do appear on row 1 but otherwi...

Select contact then hangs
Hi, please help. I have a user that when she selects a contact using To: in a new email, after selecting 2, it closes outlook??. Spec is W2kSP4\office2k with all windows updates and office updates installed. Profile has been deleted and re-created, plus i have set up personal folders and moved contacts into there, and set that folder as a default, but makes no difference. Please help. ...

Lost row height format?
My boss is working in a workbook with numerous sheets. He saved the file and then reopened it after his HDD was replaced. When he reopened the file, all of the row heights were off a little bit, but since this is for a large financial report, it is a big deal. Does anyone know what could cause this and have any idea how to fix it. He swears he did not change any of the settings in excel, or manually adjust any of the rows. Prior to re-opening, all rows were set at 11. Now some are 12, some 11, some 11.5, some 10.??. This happened on every sheet. Help!!! Thanks, Mac Highl...

Auto-fill Price List and Unit of Measure? 07-02-04
Does anyone know how to automatically fill the Price List field when a customer is selected for Quote or Order with the Customer's default price list? Same question for default Unit of Measure when a product is selected? If you create the Quote/Order within the Account/Contact that has a Price List associated, then it will default it. Frank Lee Workopia, Inc. San Francisco, CA >-----Original Message----- >Does anyone know how to automatically fill the Price List >field when a customer is selected for Quote or Order with >th...

"Disk is full" error when opening Excel 2000.
I am getting a "disk is full" error when opening MS Excel on my laptop (not connected to any servers/LAN). I am running Windows 2000 and my Excel version is 2000 as well. Additionally I can not open MS Word or Adobe Acrobat either as these applications are giving errors that it can not find the file. Have others experienced this and if so, do you know of a solution for fixing it? ...

Selecting rows from various sheets
Hi all, I have several sheets with a few columns in each. One colum in each sheet has a unique value. Most of these unique values are th same in each sheet but not all. Is there any way that I can set up new sheet that will have the unique value in column 1 and th corresponding column values frommeach sheet beside it. For example Sheet 1 aa 1 1 1 bb 2 2 2 cc 3 3 3 Sheet 2 aa 4 4 cc 5 5 Result aa 1 1 1 4 4 bb 2 2 2 cc 3 3 3 5 5 Thanks alot, Sha -- sha ----------------------------------------------------------------------- shav's Profile: http...

How do I change the elements displayed in the message list
How do I change the elements displayed in the message list. For example, to list "To" or "From" edit the view - to change just one folder, click on the row of field names and choose custom. To make all folders the same see -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide) Need Help with Common Tasks? Outlook 2007: Outlook Tips: http://www.outlook-tips...

select text in Calendar
I'm working on a calendar in Publisher. I'm adding text into a cell by spacing down 1 point, then typing in 8 points. Doing fine until April. At that time, I can only select cells (whole days). It will not let me select the text. Help is no help. Any hints out there. Did I accidentally select something to do this? Bonnie Have you added a picture to the cell or a shape? If you have send it to the back, make the cell no fill and try again. -- Mary Sauer MSFT MVP news:// "GoBonnieGo" <GoB...

Field list not showing up
Excel matter what I do the field list does not show up. when I select hide the pivot table frame goes blank, when I unhide I get the basic table verbiage, but no field list. Any thoughts? Actually when I go to fullpage view I can get the field list, but in normal view cannot get the field list to appear. driving me nuts. "JeffVA" wrote: > Excel matter what I do the field list does not show up. when I > select hide the pivot table frame goes blank, when I unhide I get the basic > table verbiage, but no field list. > > Any thoughts? ...

Apply Rule -- Workflow Process list has missing items
Hi, I was working at applying rules manually. I used to have 3 rules to choose from. Then I had 2, then 1, and now 2 again. The 3 rules exist and have been activated the entire time. The only thing I may have done is refresh (F5) the form while the rule was running. Now it is does not have the entire list of 3 rules to choose from on this item (Order). On all other orders, the list contains 3, but only 2 for this one. Anyone have ANY insight on this behaviour?? I have seen this behaviour once before. I ended up recreating the item (it was a Case, but this time it is an Order). ...

Exchange 5.5 Distribution Lists
I am running in Exchange 5.5/2000 mixed mode and I have noticed that if I change ownership of a distribution list using Exchange Admin, the permissions of that object are not automatically updated (I have to manually give the "owner" the permission needed to add members to the list). Is this some old Exchange 5.5 thing??? ...

macro to filter data based on selected data
Hi, I am looking for a macro that requests input of a reference code and then a date and then filters the data in my spreadsheet based on this criteria. I am using excel 2007. Any help with this will be greatly appreciated. You can probably record a macro while doing it manually and then clean it up and add input boxes to ask the question or input your variable in a cell and use that. If all else fails, If desired, send your file to my address below. I will only look if: 1. You send a copy of this message on an inserted sheet 2. You give me the newsgroup and the ...

Link select with a blast
I have Win 7 Home Premium, x64. Quite often, when I select a link, a mouse pointer changes to a palm with a blast. I understand, the palm is the standard mouse pointer for link select, but what is the blast? What it indicates? -- Ilya Zeldes Fort Myers, Florida Hi Ilya, I suspect that this is being caused by a tracking program. Run something like Ad-Aware and see if it indicates a tracking company. If so, you can delete it, however, it might prevent you from accessing that particular website. Dave "Ilya Zeldes" wrote in message news:7A6FF9B1-5512-44...

Select Case in a Change Event
Hi, I am trying to use a worksheet Change Event to trap changes to specific columns. depending on which column is chnaged by the user, the value in another ciolumn will be altered; so, changes in either column O or P will update column Q, changes in either column T or U will update column V and changes in column Z or AA will update column AB. What I can't figure out is the Select Case bit (where I've got the shouted question below). Here's what I've put together, any comments would be much appreciated. Private Sub Worksheet_Change(ByVal Target As Range) ...

Select Records based another table...
This may be very elementary, but i can't wrap my brain around it. I have tried to dummy it down as much as i can for myself, with plans of adapting it into something working. I have three tables that look like the following: Tbl 1: ProdID A B C 1 $1 $2 $3 2 $4 $5 $6 3 $7 $8 $9 Tbl 2: RmNum ProdID 1 3 1 2 2 1 2 2 Tbl 3: RmNum Style 1 A 2 C Relationships are: [tbl1 ProdID] ------ [tbl2 ProdID] [tbl2 RmNum] ...

Controling queries displayed when clicking Load from Query button?
I want to be able to control the queries that are displayed when the Load from Query toolbar button is displayed. Can anyone tell me how the filter box list gets populated? Thanks. Paco ...