Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - WINDOW-RESIZED causes screen flickering
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

WINDOW-RESIZED causes screen flickering

 Post Reply Post Reply
Author
Message
MrPeter View Drop Down
Newbie
Newbie


Joined: 11 June 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrPeter Quote  Post ReplyReply Direct Link To This Post Topic: WINDOW-RESIZED causes screen flickering
    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 ?
Back to Top
oli.dune View Drop Down
Groupie
Groupie


Joined: 18 June 2010
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote oli.dune Quote  Post ReplyReply Direct Link To This Post 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


Product: Xtreme SuitePro (ActiveX) version 16.4.0

Platform: Windows 10 (64bit)

Language: OpenEdge 11.7.4
Back to Top
MrPeter View Drop Down
Newbie
Newbie


Joined: 11 June 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrPeter Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2010 at 7:00am
Thanks for the reply !
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.