Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - OnShowWindow()
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnShowWindow()

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: OnShowWindow()
    Posted: 15 June 2007 at 6:09am
We have a popup button on a ribbon bar which has a dialog attached to it, however when we click the button the dialog appears but does not call OnShowWindow, we have initialisation code in here to hide/show buttons etc. which are not required.
 
However when the dialog closes it does call OnShowWindow(), any help appreciated for a workaround to this issue please
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2007 at 3:21pm
Hi,
Think you can try catch WM_WINDOWPOSCHANGED message instead.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2007 at 4:19am

Is there no way in XTP to force an OnShowWindow() call each time dialog is displayed ??? as this will allow users to put initialisation code in here without catching this message.

However I am trying this message you mention right now to see if it works.
Thanks
Terry
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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.032 seconds.