Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



VC++ win32 ListView or LIST Control how to scroll to a list or make sure that a list item is visible

Home   VC++   VC++ win32 ListView or LIST Control how to scroll to a list or make sure that a list item is visible         



I have a long list. I want to make the selected item visible when i click on  a button how do i do it 


	int x = SendMessage(hWndLV,LVM_GETHOTITEM,0,0); // Gets the selected ListView Item 
	x = SendMessage(hWndLV, LVM_GETNEXTITEM, -1, MAKELPARAM (LVNI_SELECTED, 0));  // Move to List View Item and Make it visible 





  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam