Print Page | Close Window

WINDOW-RESIZED causes screen flickering

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17436
Printed Date: 23 November 2024 at 3:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: WINDOW-RESIZED causes screen flickering
Posted By: MrPeter
Subject: WINDOW-RESIZED causes screen flickering
Date 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 ?



Replies:
Posted By: oli.dune
Date Posted: 29 November 2010 at 7:17am
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 - 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


Posted By: MrPeter
Date Posted: 17 December 2010 at 7:00am
Thanks for the reply !



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net