WINDOW-RESIZED causes screen flickering |
Post Reply |
Author | |
MrPeter
Newbie Joined: 11 June 2009 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 16 October 2010 at 8:03am |
I'm working in OpenEdge 10.2A environment. The standar progress behaviour is that when you release the mouse button after you have resized the window, the event WINDOW-RESIZED is executed. When i now add the commandbar to my program, then this event is executed numerous times while resizing the window. The statement that causes this is: chCtrlFrameCB:CommandBars:AddRibbonBar("RibbonBar") How can i prevent this change of behaviour in this event so that it is again executed when expected in combination with the commandbar. I attach the commandbar to the "real" window by code: RUN GetParent( wwin:HWND, OUTPUT i_hWnd ). chCtrlFrameCB:CommandBars:AttachToWindow( i_hWnd ). I was able to attach the commandbar to a frame which would solve solve this unexpected behaviour, however i cannot apply this technique because then the standard windows window titlebar is not merged together with the ribbonbar. I suspect that the resize of the commandbar is forcing the repaint of the window while resizing. Is there a possibility to prevent this from happening ?
|
|
oli.dune
Groupie Joined: 18 June 2010 Status: Offline Points: 25 |
Post Options
Thanks(0)
|
Look at the Progress Software Knowledge Center solution P175540 ("CodeJock CommandBars OCX interferes with window resize triggers")
http://progress.atgnow.com/esprogress/jsp/AnswerControls.jsp?directSolutionLink=1&tabs=true&docPropValue=p175540 |
|
Product: Xtreme SuitePro (ActiveX) version 16.4.0
Platform: Windows 10 (64bit) Language: OpenEdge 11.7.4 |
|
MrPeter
Newbie Joined: 11 June 2009 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Thanks for the reply !
|
|
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 |