Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - DockingPane Problems ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DockingPane Problems ?

 Post Reply Post Reply
Author
Message
devil20 View Drop Down
Groupie
Groupie
Avatar

Joined: 29 June 2006
Location: UK
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote devil20 Quote  Post ReplyReply Direct Link To This Post Topic: DockingPane Problems ?
    Posted: 04 August 2007 at 3:08am
Hi
 
I am attaching one simple dialog to docking pane... It shows perfect...It has edit box and spin control .. When click on edit box and press enter then dialog is getting disappered / hide .  I have check with PreTranslateMessage in Dialog for enter event but i am not getting any message in PreTranslateMessage function...
 
Can anyone tell what i am doing wrong ?
 
alex
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: 04 August 2007 at 7:20am
Hi,
override OnCancel and OnOK and don't call base methods.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
devil20 View Drop Down
Groupie
Groupie
Avatar

Joined: 29 June 2006
Location: UK
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote devil20 Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2007 at 1:40am

Yeah

I have done already that... But  I have checked with debug but this event is not calling anyway...
 
 
 
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: 05 August 2007 at 4:21am
Hi,
rebuild all project. sometimes visual studio don't see new virtual methods.
Show what you added.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
devil20 View Drop Down
Groupie
Groupie
Avatar

Joined: 29 June 2006
Location: UK
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote devil20 Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2007 at 1:42am
Yeah Virtual method was a problem......When i rebuild all programm compiler generate code that call virtual methods
 
thanx for help
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.045 seconds.