Maximise with Custom Control Problem |
Post Reply |
Author | |
stevepert
Newbie Joined: 25 October 2007 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 25 October 2007 at 6:24am |
I'm using a custom control (a date picker) on a ribbon bar in VB. Occasionally when I maximise my application the date picker locates itself on the title bar rather than in the ribbon group. Is there anything I can do to force it to redraw itself in the right position? It resets itself if I resize the app with the mouse but I can't see how to do this in code.
Dim custControl As CommandBarControlCustom Set custControl = grp.Add(XtremeCommandBars.XTPControlType.xtpControlCustom, ID_TOOL_APPTS_DTPICKER, "Date Picker", False, False) custControl.DescriptionText = "Date" custControl.flags = xtpFlagControlStretched custControl.Handle = dtpDateView.hWnd |
|
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 |