Incorect Button display in ReportControl |
Post Reply |
Author | |
rokky05
Groupie Joined: 04 February 2008 Location: Ukraine Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 14 July 2008 at 1:56pm |
Hi Oleg,
I added some button in Report control: OnCreate(LPCREATESTRUCT lpCreateStruct) { . . . m_Btn = new CXTPReportInplaceButton(1000); CRect rect(0, 0, 50, 50); XTP_REPORTRECORDITEM_ARGS pItemArgs(&m_wndView,m_wndView.GetRows()->GetAt(0),m_wndView.GetColumns()->GetAt(6)); m_Btn->Create(&pItemArgs,rect); m_Btn->SetInsideCellButton(TRUE); m_Btn->ShowWindow(TRUE); } BUT I can't set width of button :( I change a height for help var 'rect', but I can not influence on a width. How is it possible to do??? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |