mfcpropertygridctr i tabelka
Ostatnio zmodyfikowano 2016-03-03 11:42
NiceFox Temat założony przez niniejszego użytkownika |
mfcpropertygridctr i tabelka » 2016-03-03 09:36:51 Czy można przy pomocy mfcpropertygridctr utworzyć tabelkę 5 kolumnową? CRect Rect; CMFCPropertyGridCtrl m_wndPropList;
m_grid.GetClientRect( Rect ); m_grid.MapWindowPoints( this, & Rect );
m_wndPropList.Create( WS_CHILD | WS_BORDER | WS_VISIBLE | WS_TABSTOP, Rect, this, 1231 ); m_grid.EnableHeaderCtrl( TRUE, _T( "col1" ), _T( "col2" ) ); m_wndPropList.SetVSDotNetLook( TRUE );
|
|
darko202 |
» 2016-03-03 11:42:31 nie używałem ale z dokumentacji wygląda, że tak : https://support.smartbear.com/viewarticle/68311/klikam tam properties i jest wValue Gets or sets the value of an item. opis : The wValue property lets you obtain or set the value of the grid item jest też tam Example TestComplete includes a sample that demonstrates how to work with MFC PropertyGrid controls: <TestComplete Samples>\Desktop\Working With Grids\Microsoft MFCPropertyGridCtrl |
|
« 1 » |