Click here to Skip to main content
15,926,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhere am i mistaking here? Pin
Natural_Demon26-Oct-04 5:35
Natural_Demon26-Oct-04 5:35 
AnswerRe: where am i mistaking here? Pin
Blake Miller26-Oct-04 6:09
Blake Miller26-Oct-04 6:09 
GeneralRe: where am i mistaking here? Pin
Natural_Demon26-Oct-04 8:23
Natural_Demon26-Oct-04 8:23 
GeneralRe: where am i mistaking here? Pin
Blake Miller27-Oct-04 4:45
Blake Miller27-Oct-04 4:45 
GeneralGet Row & Column for a listCtrl Pin
sweep12326-Oct-04 4:37
sweep12326-Oct-04 4:37 
GeneralRe: Get Row & Column for a listCtrl Pin
David Crow26-Oct-04 5:07
David Crow26-Oct-04 5:07 
GeneralRe: Get Row & Column for a listCtrl Pin
sweep12326-Oct-04 6:23
sweep12326-Oct-04 6:23 
GeneralRe: Get Row & Column for a listCtrl Pin
Rage26-Oct-04 7:10
professionalRage26-Oct-04 7:10 
sweep123 wrote:
Just wanted to know how to get the column here.

ASAIK, you cannot find both row and column this directly. Use GetNextSelectedItem to retrieve the selected item index (the 'row') and the pNMHDR to retrieve the 'column' (as you did in your second method).

As for
sweep123 wrote:
Here the col is OK but the row is always set to -1.

-1 is the normal return value if you consider a subitem (see MSDN:

iItem Index of the list view item. If the item index is not used for the notification, this member will contain -1.)

-> you can only get information about one item _OR_ one subitem. Your list ctrl is not a grid, it is indeed a list.

~RaGE();
GeneralRe: Get Row & Column for a listCtrl Pin
Grahamfff26-Oct-04 9:38
Grahamfff26-Oct-04 9:38 
Questionhow can i have only client area of window Pin
efanHarris26-Oct-04 4:35
efanHarris26-Oct-04 4:35 
AnswerRe: how can i have only client area of window Pin
David Crow26-Oct-04 4:42
David Crow26-Oct-04 4:42 
GeneralRe: how can i have only client area of window Pin
efanHarris26-Oct-04 20:16
efanHarris26-Oct-04 20:16 
GeneralRe: how can i have only client area of window Pin
David Crow27-Oct-04 10:30
David Crow27-Oct-04 10:30 
GeneralIs there any free Modem Simulator which can tell Call States or some other way to debug Modem application with Modem Pin
Kapoor Vikrant26-Oct-04 4:28
Kapoor Vikrant26-Oct-04 4:28 
GeneralRe: Is there any free Modem Simulator which can tell Call States or some other way to debug Modem application with Modem Pin
Blake Miller26-Oct-04 6:14
Blake Miller26-Oct-04 6:14 
QuestionHow to dump information into text file which I got from _CrtDumpMemoryLeaks() ? Pin
Amarelia26-Oct-04 4:24
Amarelia26-Oct-04 4:24 
GeneralBuilding Wizards Pin
shevi202726-Oct-04 2:57
shevi202726-Oct-04 2:57 
GeneralRe: Building Wizards Pin
Blake Miller26-Oct-04 6:17
Blake Miller26-Oct-04 6:17 
GeneralFail to bind the socket Pin
amitranjanmishra26-Oct-04 1:23
amitranjanmishra26-Oct-04 1:23 
GeneralRe: Fail to bind the socket Pin
dharani26-Oct-04 21:20
dharani26-Oct-04 21:20 
GeneralRe: Fail to bind the socket Pin
amitranjanmishra27-Oct-04 3:21
amitranjanmishra27-Oct-04 3:21 
GeneralRe: Fail to bind the socket Pin
markkuk27-Oct-04 10:08
markkuk27-Oct-04 10:08 
GeneralOpen the binary file and convert the hexadecimal number Pin
Alex Wong 1926-Oct-04 0:35
Alex Wong 1926-Oct-04 0:35 
GeneralRe: Open the binary file and convert the hexadecimal number Pin
David Crow26-Oct-04 4:37
David Crow26-Oct-04 4:37 
Generalfolder size limitation Pin
Raphael Kindt25-Oct-04 23:52
Raphael Kindt25-Oct-04 23:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.